Hi Aaron!

yes, the command I used was:
# ./configure --prefix=/usr --libdir=/usr/lib64

and then, make fails at:

gcc -shared  .libs/xconvolve.o .libs/xfax.o .libs/xgrayout.o 
.libs/xjpg_dct.o .libs/xjpg_fix.o .libs/xpad.o .libs/xrotate.o .libs/xskel.o 
.libs/xtiff.o .libs/ipmain.o .libs/xchgbpp.o .libs/xcrop.o .libs/xgamma.o 
.libs/xjpg_dec.o .libs/xjpg_huf.o .libs/xpcx.o .libs/xsaturation.o 
.libs/xtable.o .libs/xtonemap.o .libs/xbi2gray.o .libs/xcolrspc.o 
.libs/xfakemono.o .libs/xgray2bi.o .libs/xinvert.o .libs/xjpg_enc.o 
.libs/xmatrix.o .libs/xpnm.o .libs/xscale.o .libs/xthumb.o .libs/xyxtract.o 
/usr/lib/libnetsnmp.so -lm -lcups -lusb -lcrypto -lpthread  -Wl,-soname 
-Wl,libhpip.so.0 
 -o .libs/libhpip.so.0.0.1
gcc: /usr/lib/libnetsnmp.so: No such file or directory
make[1]: *** [libhpip.la] Error 1
make[1]: Leaving directory `/root/software/hplip/hplip-1.6.12'
make: *** [all-recursive] Error 1

if I manually change "/usr/lib/libnetsnmp.so" into "-lnetsnmp" then the 
library gets built correctly:
gcc -shared  .libs/xconvolve.o .libs/xfax.o .libs/xgrayout.o 
.libs/xjpg_dct.o .libs/xjpg_fix.o .libs/xpad.o .libs/xrotate.o .libs/xskel.o 
.libs/xtiff.o .libs/ipmain.o .libs/xchgbpp.o .libs/xcrop.o .libs/xgamma.o 
.libs/xjpg_dec.o .libs/xjpg_huf.o .libs/xpcx.o .libs/xsaturation.o 
.libs/xtable.o .libs/xtonemap.o .libs/xbi2gray.o .libs/xcolrspc.o 
.libs/xfakemono.o .libs/xgray2bi.o .libs/xinvert.o .libs/xjpg_enc.o 
.libs/xmatrix.o .libs/xpnm.o .libs/xscale.o .libs/xthumb.o 
libs/xyxtract.o  -lnetsnmp -lm -lcups -lusb -lcrypto -lpthread  -Wl,-soname  
-Wl,libhpip.so.0 -o .libs/libhpip.so.0.0.1

Unfortunately, when I run make again to continue the build process, the 
library gets rm'd and then make runs into the same problem again :-(

Is there anything I can do to help debug the problem?

Cheers,

    Gonçal

----- Original Message ----- 
From: "Aaron" <[EMAIL PROTECTED]>
To: "Gonçal Badenes" <[EMAIL PROTECTED]>
Cc: <hplip-help@lists.sourceforge.net>
Sent: Thursday, January 11, 2007 12:23 AM
Subject: Re: [Hplip-help] HPLIP - Installation Error


Are you running the ./configure for a 64 bit distro?

http://hplip.sourceforge.net/install/manual/configure.html

see:

64 bit distro users

A

On 1/2/07, Gonçal Badenes <[EMAIL PROTECTED]> wrote:
> Hi!
>
> I actually have net-snmp-devel v5 installed. That's why I suspect some
> problem with the configure script. Here goes some output showing the
> presence of the libraries:
>
> # rpm -qa | grep snmp
> net-snmp-5.1.2-11.EL4.6.x86_64
> net-snmp-libs-5.1.2-11.EL4.6.i386
> net-snmp-devel-5.1.2-11.EL4.6.x86_64
> net-snmp-libs-5.1.2-11.EL4.6.x86_64
> net-snmp-perl-5.1.2-11.EL4.6.x86_64
> net-snmp-utils-5.1.2-11.EL4.6.x86_64
>
> # locate libnetsnmp.so
> /usr/lib64/libnetsnmp.so.5.1.2
> /usr/lib64/libnetsnmp.so.5
> /usr/lib64/libnetsnmp.so
> /usr/lib/libnetsnmp.so.5.1.2
> /usr/lib/libnetsnmp.so.5
>
> # ldconfig -v
> ...
> /usr/lib:
>
>         libnetsnmp.so.5 -> libnetsnmp.so.5.1.2
> ...
> /usr/lib64:
>         libnetsnmp.so.5 -> libnetsnmp.so.5.1.2
>
> Any suggestion on how to proceed?
>
> Cheers,
>
>    Gonçal
>
> ----- Original Message -----
> Cc: <hplip-help@lists.sourceforge.net>
> Sent: Wednesday, December 27, 2006 3:26 AM
> Subject: Re: [Hplip-help] HPLIP - Installation Error
>
>
> Looks like you both are missing: libsnmp5-dev or libsnmp9-dev
>
> Install these deps and you should be able to complete the install process.
>
> Aaron
>
> On 12/26/06, Gonçal Badenes <[EMAIL PROTECTED]> wrote:
> > Hi!
> >
> > I'm having the same problem while trying to install HPLIP 1.6.12 (tried
> > both
> > the manual installation and the self-install options) on ScientificLinux
> > 4.4
> > (a.k.a. Redhat Enterprise Linux 4.4).
> >
> > In both cases, "make" fails at:
> >
> > /bin/sh ./libtool --tag=CC --mode=link gcc  -g -O2   -o 
> > libhpip.la -rpath
> > /usr/lib64 -version-info 0:1:0 xconvolve.lo xfax.lo xgrayout.lo
> > xjpg_dct.lo
> > xjpg_fix.lo xpad.lo xrotate.lo xskel.lo xtiff.lo ipmain.lo xchgbpp.lo
> > xcrop.lo xgamma.lo xjpg_dec.lo xjpg_huf.lo xpcx.lo xsaturation.lo
> > xtable.lo
> > xtonemap.lo xbi2gray.lo xcolrspc.lo xfakemono.lo xgray2bi.lo xinvert.lo
> > xjpg_enc.lo xmatrix.lo xpnm.lo xscale.lo xthumb.lo 
> > yxtract.lo  -lnetsnmp
> > -lm -lcups -lusb -lcrypto -lpthread
> > rm -fr  .libs/libhpip.so.0.0.1
> > gcc -shared  .libs/xconvolve.o .libs/xfax.o .libs/xgrayout.o
> > .libs/xjpg_dct.o .libs/xjpg_fix.o .libs/xpad.o .libs/xrotate.o
> > .libs/xskel.o
> > .libs/xtiff.o .libs/ipmain.o .libs/xchgbpp.o .libs/xcrop.o 
> > .libs/xgamma.o
> > .libs/xjpg_dec.o .libs/xjpg_huf.o .libs/xpcx.o .libs/xsaturation.o
> > .libs/xtable.o .libs/xtonemap.o .libs/xbi2gray.o .libs/xcolrspc.o
> > .libs/xfakemono.o .libs/xgray2bi.o .libs/xinvert.o .libs/xjpg_enc.o
> > .libs/xmatrix.o .libs/xpnm.o .libs/xscale.o .libs/xthumb.o
> > .libs/xyxtract.o
> > /usr/lib/libnetsnmp.so -lm -lcups -lusb -lcrypto -lpthread  -Wl,-soname
> > -Wl,libhpip.so.0 -o .libs/libhpip.so.0.0.1
> > gcc: /usr/lib/libnetsnmp.so: No such file or directory
> >
> > Shouldn't it be using -lnetsnmp instead of /usr/lib/libnetsnmp.so ? In 
> > any
> > case, I don't find the place where to modify the Makefile to get it
> > running
> > correctly :-(
> >
> > Any help will be appreciated!
> >
> > Regards,
> >
> >    Gonçal
> >
> > ------
> >
> > Aaron
> > Tue, 12 Dec 2006 08:29:25 -0800
> >
> > cd into the hplip directory created by the .run file and run 'make'
> > manually, then post any errorrs generated.
> >
> > A
> >
> > On 12/12/06, Rajesh George <[EMAIL PROTECTED]> wrote:
> > >
> > >
> > >
> > >
> > > Hi
> > >
> > >
> > >
> > > I am trying to install hplip-1.6.10 on my RedHat Enterprise Linux
> > > Advance
> > > Server.
> > >
> > > While installing am getting the following errors…
> > >
> > >
> > >
> > > Creating directory hplip-1.6.10
> > >
> > > Verifying archive integrity... All good.
> > >
> > > Uncompressing HPLIP 1.6.10 Self Extracting
> > >
> > Archive.....................................................................
> > ............................................................................
> > ............................................................................
> > ............................................................................
> > ............................................................................
> > ............................................................................
> > ............................................................................
> > ............................................................................
> > ............................................................................
> > ............................................................................
> > ............................................................................
> > ............................................................................
> > ............................................................................
> > ............................................................................
> > ............................................................................
> > ............................................................................
> > ............................................................................
> > ............................................................................
> > ..............
> > > etc. etc.
> >
> >
> > -------------------------------------------------------------------------
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to share
> > your
> > opinions on IT & business topics through brief surveys - and earn cash
> > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > _______________________________________________
> > HPLIP-Help mailing list
> > HPLIP-Help@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/hplip-help
> >
>
>
>
>


-- 
I don't care, I'm still free.  You can't take the sky from me. - "Firefly"


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
HPLIP-Help mailing list
HPLIP-Help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hplip-help

Reply via email to