Re: [gentoo-user] courier-imap upgrade problems[solved]
On Wed, 12 Jan 2005 07:27:55 +0200 Rumen Yotov [EMAIL PROTECTED] wrote: On Tuesday 11 January 2005 23:54, Dave Nebinger wrote: Have been trying to upgrade (via emerge -Du world or emerge -u courier-imap) and neither authlib-0.52 or courier-imap-4.0.1 will complete compiling...same error in both cases. Here is the last few lines of output that I get...maybe someone can tell me what it means. I thought it had something to do with my LDFLAGS but they seem fine and are set as LDFLAGS=-Wl,-O1 in /etc/make.conf. [snip] Linking authdaemontest /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gn u/bin/ ld: unrecognized option '-Wl'/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-lin ux-gnu I'd say it does have to do with your LDFLAGS, but most likely it is how the given Makefile defines how to build the LDFLAGS for the current link phase and is not a problem, per se, of the syntax of your LDFLAGS. Comment out the LDFLAGS from the /etc/make.conf then emerge the package again; I bet it will work fine then... Dave -- gentoo-user@gentoo.org mailing list Hi, Also had this problem, From somewhere (bugzilla may be) learned that authlibcourier uses the LDFLAGS from your existing mysql install if you have a mysql USE-flag set. All that after changing things in make.conf and the error not doing away. So you have two options: 1.Manually (or otherwise) change: mysql-config (was i think) and remove -Wl or -O1 as LDFLAGS, or 2.compile using 'USE=-mysql' to disable it's dependency. HTH Rumen Hi Rumen. Thank you very much. Compiling with -mysql solved it. -- [EMAIL PROTECTED] www.rgh.ca -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] courier-imap upgrade problems
reg hughson wrote: thought it had something to do with my LDFLAGS but they seem fine and are set as LDFLAGS=-Wl,-O1 in /etc/make.conf. I've had major issues with LDFLAGS, which should be just LDFLAGS=-O1 BTW, CFLAGS could be -Wl,O1, but LDFLAGS just needs the option, not the -Wl, stuff which is just for gcc not for the linker ld. Anyways, my problems manifested themselves as segfaults while in the linking phase, and some programs complaining about undefined symbols. Removing the offending lines fixed the system. I may still use the LDFLAGS, but I will use it on a package by package basis. -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] courier-imap upgrade problems
Have been trying to upgrade (via emerge -Du world or emerge -u courier-imap) and neither authlib-0.52 or courier-imap-4.0.1 will complete compiling...same error in both cases. Here is the last few lines of output that I get...maybe someone can tell me what it means. I thought it had something to do with my LDFLAGS but they seem fine and are set as LDFLAGS=-Wl,-O1 in /etc/make.conf. [snip] Linking authdaemontest /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ ld: unrecognized option '-Wl'/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu I'd say it does have to do with your LDFLAGS, but most likely it is how the given Makefile defines how to build the LDFLAGS for the current link phase and is not a problem, per se, of the syntax of your LDFLAGS. Comment out the LDFLAGS from the /etc/make.conf then emerge the package again; I bet it will work fine then... Dave -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] courier-imap upgrade problems
On Tuesday 11 January 2005 23:54, Dave Nebinger wrote: Have been trying to upgrade (via emerge -Du world or emerge -u courier-imap) and neither authlib-0.52 or courier-imap-4.0.1 will complete compiling...same error in both cases. Here is the last few lines of output that I get...maybe someone can tell me what it means. I thought it had something to do with my LDFLAGS but they seem fine and are set as LDFLAGS=-Wl,-O1 in /etc/make.conf. [snip] Linking authdaemontest /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ ld: unrecognized option '-Wl'/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu I'd say it does have to do with your LDFLAGS, but most likely it is how the given Makefile defines how to build the LDFLAGS for the current link phase and is not a problem, per se, of the syntax of your LDFLAGS. Comment out the LDFLAGS from the /etc/make.conf then emerge the package again; I bet it will work fine then... Dave -- gentoo-user@gentoo.org mailing list Hi, Also had this problem, From somewhere (bugzilla may be) learned that authlibcourier uses the LDFLAGS from your existing mysql install if you have a mysql USE-flag set. All that after changing things in make.conf and the error not doing away. So you have two options: 1.Manually (or otherwise) change: mysql-config (was i think) and remove -Wl or -O1 as LDFLAGS, or 2.compile using 'USE=-mysql' to disable it's dependency. HTH Rumen pgppAgvuU2SVY.pgp Description: PGP signature