From: Aaron B. <aa...@os...> - 2001-03-28 04:29:02
|
Howdy. I checked the list archive and didn't spot anything, so I'll ask: Is there a problem with SANE's configure script, PTAL and the newest Binutils? I'm trying to get SANE & PTAL going on a Debian Sid system with Kernel 2.4.2-ac20 so I can make a JetDirect-connected G95 work. hpoj-0.7 and -cvs both build as nicely as can be expected on a 2.4 system, and ptal-connect hpjd:g95 -scan works fine with either. Make install put the ptal libs and ptal.h in their proper locations under /usr/local. But when I run configure on SANE-1.0.4, -1.0.3+hpoj-patch or -cvs, I invariably get "/usr/bin/ld: cannot find -lptal" in config.log, and the HP backend sez that PTAL support's not compiled-in. Various combinations of --prefix, --include, --lib or --with-ptal don't help. My only guess is that it's the ld -l -> --l change in binutils that recently made it difficult to compile the kernel on Debian Sid systems. But --with-gnu-ld didn't help. Substituting --lptal for -lptal in configure just got me a "cannot find -flptal". Thanks in advance, Aaron Burt OSDL |
From: Alexander Z. <Ale...@fm...> - 2001-03-28 11:58:09
|
On 27 Mar, Aaron Burt wrote: > Make install put the ptal libs and > ptal.h in their proper locations under /usr/local. > > But when I run configure on SANE-1.0.4, -1.0.3+hpoj-patch or -cvs, I > invariably get "/usr/bin/ld: cannot find -lptal" in config.log, and the HP > backend sez that PTAL support's not compiled-in. Make sure that /usr/local/lib is listed in /etc/ld.so.conf (and call ldconfig ofter adding it) or add it to your LD_LIBRARY_PATH envirnoment variable. CU -- Ale...@fm... / You will experience a strong http://www.fmi.uni-passau.de/~zimmerma/ urge to do good; but it will for PGP public key finger / pass. zim...@yo... / |
From: Aaron B. <aa...@os...> - 2001-03-28 16:57:02
|
On Wed, 28 Mar 2001, Alexander Zimmermann wrote: > On 27 Mar, Aaron Burt wrote: > > Make install put the ptal libs and > > ptal.h in their proper locations under /usr/local. > > > > But when I run configure on SANE-1.0.4, -1.0.3+hpoj-patch or -cvs, I > > invariably get "/usr/bin/ld: cannot find -lptal" in config.log, and the > > HP backend sez that PTAL support's not compiled-in. > > Make sure that /usr/local/lib is listed in /etc/ld.so.conf (and call > ldconfig ofter adding it) > or > add it to your LD_LIBRARY_PATH envirnoment variable. Sorry, I should've mentioned that I did that. I just tried setting LD_LIBRARY_PATH as well, then ./configure both with and without --with_gnu_ld. No dice. |
From: <ben...@us...> - 2001-03-28 20:50:22
|
Same here. I'm not sure that I get the exact same error though, it has been a week or so since I've had time to work on it. And I also have /usr/local/lib in ld.so.conf. I'm using Debian Sid. Ben On Wed, 28 Mar 2001 08:48:29 Aaron Burt wrote: > On Wed, 28 Mar 2001, Alexander Zimmermann wrote: > > On 27 Mar, Aaron Burt wrote: > > > Make install put the ptal libs and > > > ptal.h in their proper locations under /usr/local. > > > > > > But when I run configure on SANE-1.0.4, -1.0.3+hpoj-patch or -cvs, I > > > invariably get "/usr/bin/ld: cannot find -lptal" in config.log, and > the > > > HP backend sez that PTAL support's not compiled-in. > > > > Make sure that /usr/local/lib is listed in /etc/ld.so.conf (and > call > > ldconfig ofter adding it) > > or > > add it to your LD_LIBRARY_PATH envirnoment variable. > > Sorry, I should've mentioned that I did that. > I just tried setting LD_LIBRARY_PATH as well, then ./configure both with > and > without --with_gnu_ld. No dice. > > _______________________________________________ > hpoj-devel mailing list > hpo...@li... > http://lists.sourceforge.net/lists/listinfo/hpoj-devel > > |
From: Alexander Z. <Ale...@fm...> - 2001-03-29 06:31:57
|
On 28 Mar, ben...@us... wrote: > Same here. I'm not sure that I get the exact same error though, it has > been a week or so since I've had time to work on it. And I also have > /usr/local/lib in ld.so.conf. I'm using Debian Sid. O.K. In this case you have to look carefully in the config.log file why the configure script didn't find the ptal-includes or ptal-library. There should be some test program and the output of the respective compiler call in it. And the last one should tell you what went wrong. Maybe the include file ptal.h was not found, because /usr/local/include was not searched for it. In that case try CPPFLAGS=-I/usr/local/include ./configure Good luck! -- Ale...@fm... / You got to be very careful if http://www.fmi.uni-passau.de/~zimmerma/ you don't know where you're for PGP public key finger / going, because you might not get zim...@yo... / there. -- Yogi Berra |