> From [EMAIL PROTECTED] Sun Dec 30 03:02:02 2001
> Date: Sun, 30 Dec 2001 17:49:13 +0800
> From: =?BIG5?B?qMy6v7/f?= <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: LPRng: Cannot find my GNU ld
>
> Dear all,
>
>     I would like to report a bug that, the autoconf configuration script
> that is used in LPRng 3.8.4 failed to detect my GNU ld.
>     I believe the problem resides at aclocal.m4, line 49.  While --with-linker
> and --with-gnu-ld were not set, it didn't try to look for the real ld
> program but assumed ld is gcc by LD=$CC.  Then, of course, it will
> failed to discover that the ld is really GNU ld because "gcc -v" will
> not shown either "GNU" or "with BFD".
>     Here is my diff result, with the lines added before line 49:
>
> [root@rinse LPRng-3.8.4]# diff aclocal.m4 aclocal.m4-old
> 49,56d48
> < if test -z "$LD" ; then
> <   for f in /bin/ld /usr/bin/ld; do
> <     if test -x "$f"; then
> <       LD=$f
> <       break
> <     fi
> <   done
> < fi
>
>     It will work after I rerun autoconf.  I'm using GCC v3.0.3, GNU ld
> v2.11.90.0.8 (with BFD 2.11.90.0.8), autoconf 2.52, Red Hat 7.2, Linux
> 2.4.17.
>
> --
> Best regards,
> imacat ^_*'
> [EMAIL PROTECTED]
> PGP Key: http://www.imacat.idv.tw/me/pgpkey.txt
>
> <<Woman's Voice>> News: http://www.wov.idv.tw/
> Tavern IMACAT's: http://www.imacat.idv.tw/
> TLUG List Manager: http://www.linux.org.tw/mailman/listinfo/tlug


This is apparently the way that the autoconf/configure system does
its job.  I can sort of see the logic in it - if you want to have a
'non-gcc compatible type of loader' then you will need to specify
it.  There are two ways ... actually 3 (three) ways to do this:

a)  set the LD=/usr/bin/ld environment variable
     2.  LD=/usr/bin/ld; export LD
     1.  env LD=/usr/bin/ld ./configure
b)  configure --with-linker=/usr/bin/ld
c)  configure --with-gnu-ld

I suspect that you should set the LD environment variable in your
profile if you plan to use this combination frequently with other
packages.

Sigh...

Patrick

Patrick Powell                 Astart Technologies,
[EMAIL PROTECTED]            9475 Chesapeake Drive, Suite D,
Network and System             San Diego, CA 92123
  Consulting                   858-874-6543 FAX 858-279-8424 
LPRng - Print Spooler (http://www.lprng.com)

-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address

If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:                           | example:
subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------

Reply via email to