id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	branch_state	votes
2054	Incorrect configure	pavlinux		"'''1.''' 
# mc
bash: /usr/share/mc/bin/mc-wrapper.sh: No such file or directory

'''2.''' Linking directory set to /usr/lib, but in configure i specified  --libdir=/usr/lib64 

....
 gcc-4.5 -std=gnu99 -DHAVE_CONFIG_H -I. -I..  -DDATADIR=\""""/usr/share/mc/""\"" -DLOCALEDIR=\""""/usr/share/locale""\"" -DSYSCONFDIR=\""""/usr/share/mc/""\"" -DSAVERDIR=\""""/usr/share/mc""\"" -I/usr/include '''-L/usr/lib'''

My Configure script:

{{{
#!/bin/sh                                 

unset CC CFLAGS

make clean;            
make distclean;        

CC=""gcc-4.5""

CFLAGS=""-funit-at-a-time -frecord-gcc-switches \
        -m64 -g0 -O3 -march=native -mtune=native \
        -funroll-all-loops -ftree-vectorize -pipe  \
        -fomit-frame-pointer -fmerge-all-constants \
        -ffreestanding -D_FORTIFY_SOURCE=2""

export CC CFLAGS

./configure --prefix=/usr \
            --sysconfdir=/usr/share \
            --sharedstatedir=/usr/share \
            --libexecdir=/usr/share \
            --localstatedir=/var \
            --libdir=/usr/lib64 \
            --includedir=/usr/include \
            --datarootdir=/usr/share \
            --datadir=/usr/share \
            --infodir=/usr/share/info \
            --localedir=/usr/share/locale \
            --mandir=/usr/share/man \
            --build=""x86_64-gnu-linux"" \
            --host=""x86_64-gnu-linux"" \
            --disable-extcharset \
            --enable-netcode \
            --enable-background \
            --enable-utf8 \
            --with-mmap \
            --with-x \
            --with-vfs \
            --with-mcfs \
            --with-samba \
            --with-configdir=/etc/samba \
            --with-codepagedir=/usr/lib64/samba/codepages \
            --without-gpm-mouse \
            --with-subshell \
            --with-screen=slang \
            --with-edit \
            --without-ext2undel \
            --without-libintl-prefix \
            --without-libiconv-prefix;
}}}
"	defect	closed	major	4.7	mc-core	master	worksforme					no branch	
