Bug 9424 - mc4.6.0-pre1 fails to compile (PAM-error during compile)
|
Bug#:
9424
|
Product: Gentoo Linux
|
Version: 1.4_rc1
|
Platform: All
|
|
OS/Version: Linux
|
Status: VERIFIED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: naz@gentoo.org
|
Reported By: zealot@xs4all.nl
|
|
Component: Applications
|
|
|
URL:
|
|
Summary: mc4.6.0-pre1 fails to compile (PAM-error during compile)
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2002-10-21 04:23 0000
|
emerge mc gives this error:
gcc -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-DCONFIGDIR=\""/etc/samba"\" -Wall -march=athlon-xp -O3 -pipe
-fomit-frame-pointer -mfpmath=sse -m3dnow -msse -mmmx -fforce-addr
-funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4
-Wall -lcrypt -lncurses -o mcserv -lshadow -lpam -ldl mcserv.o tcputil.o
-L/usr/lib -lglib -L/usr/lib
mcserv.o: In function `do_auth':
mcserv.o(.text+0x234a): undefined reference to `pam_start'
mcserv.o(.text+0x2362): undefined reference to `pam_authenticate'
mcserv.o(.text+0x237a): undefined reference to `pam_end'
mcserv.o(.text+0x24c3): undefined reference to `pam_acct_mgmt'
mcserv.o(.text+0x24df): undefined reference to `pam_setcred'
mcserv.o(.text+0x24fb): undefined reference to `pam_end'
collect2: ld returned 1 exit status
distcc[4907] (dcc_critique_status) ERROR: compile on serena.dvxs.net failed
with exit code 1
distcc[4907] (dcc_exit) Notice: exit: code 1; self: 0.000000 user 0.010000
sys; children: 0.020000 user 0.030000 sys
make[3]: *** [mcserv] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory
`/var/tmp/portage/mc-4.6.0_pre1/work/mc-4.6.0-pre1/vfs'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/mc-4.6.0_pre1/work/mc-4.6.0-pre1/vfs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/mc-4.6.0_pre1/work/mc-4.6.0-pre1'
make: *** [all] Error 2
!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 65, Exitcode 2
!!! (no error message)
I have a fix that I'm working on....the latest snapshot fixes this problem and
gpm
and mc has never worked better here with the snapshot :)
I have a question I've wanted to ask a long time and this seems like a good
place and time:
Why is Midnight Commander located under gnome-extras and require gnome? I've
never seen any special gnome-support in mc?
I've got the same problem with wine b.t.w., and it have costed me 16h of
compilation time in upgrading from 1.2 to 1.4.. :-)
emerge sync ... and merge in the newest pam this will take care of the issue
since it's actually a pam problem not a mc problem. Pam was not linking
correctly so applications where not building properly against it.
Naz
And why is it in gnome-extra... I'm not sure why it is, it does reguire glib to
compile for some reason so I'm not sure really, ask someone else.
Michael, thanks for the great help :)
-Mark