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 authlib&courier 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