LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   libtool error during compilation of hplip (https://www.linuxquestions.org/questions/slackware-14/libtool-error-during-compilation-of-hplip-813420/)

sycamorex 06-10-2010 03:54 PM

libtool error during compilation of hplip
 
I'm trying to install hplip-3.10.5 on Slackware64 13.1 (multilib). I've done it dozens of times without any errors. This time, however, it spits out some libtool errors.
As per instructions from the hplip website I did:
Code:

./configure --with-hpppddir=/usr/share/ppd/HP --libdir=/usr/lib64 --prefix=/usr --enable-qt4 --enable-doc-build --enable-cups-ppd-install --disable-foomatic-drv-install --disable-foomatic-ppd-install --disable-hpijs-install --disable-policykit --disable-cups-drv-install --enable-hpcups-install --enable-network-build --enable-dbus-build --enable-scan-build --enable-fax-build
Then make fails:

Code:

$ make
/bin/sh ./libtool  --tag=CC  --mode=compile gcc -DPACKAGE_NAME=\"HP\ Linux\ Imaging\ and\ Printing\" -DPACKAGE_TARNAME=\"hplip\" -DPACKAGE_VERSION=\"3.10.5\" -DPACKAGE_STRING=\"HP\ Linux\ Imaging\ and\ Printing\ 3.10.5\" -DPACKAGE_BUGREPORT=\"3.10.4.16\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hplip\" -DVERSION=\"3.10.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBDL=1 -DHAVE_PTHREAD_H=1 -DHAVE_JPEGLIB_H=1 -DHAVE_UINT32_T=1 -DHAVE_LIBHPIP=1 -DHAVE_LIBHPIP=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBNETSNMP=1 -DHAVE_NET_SNMP_NET_SNMP_CONFIG_H=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_USB_H=1 -DHAVE_PYTHON2_6_PYTHON_H=1 -DHAVE_DBUS=1 -I. -Iip -Iio/hpmud -Iscan/sane -Iprnt/hpijs  -I/usr/include/python2.6 -g -O2 -MT cupsext_la-cupsext.lo -MD -MP -MF .deps/cupsext_la-cupsext.Tpo -c -o cupsext_la-cupsext.lo `test -f 'prnt/cupsext/cupsext.c' || echo './'`prnt/cupsext/cupsext.c
./libtool: line 841: X--tag=CC: command not found
./libtool: line 874: libtool: ignoring unknown tag : command not found
./libtool: line 841: X--mode=compile: command not found
./libtool: line 1008: *** Warning: inferring the mode of operation is deprecated.: command not found
./libtool: line 1009: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
./libtool: line 1152: Xgcc: command not found
./libtool: line 1152: X-DPACKAGE_NAME="HP Linux Imaging and Printing": command not found
./libtool: line 1152: X-DPACKAGE_TARNAME="hplip": command not found
./libtool: line 1152: X-DPACKAGE_VERSION="3.10.5": command not found
./libtool: line 1152: X-DPACKAGE_STRING="HP Linux Imaging and Printing 3.10.5": command not found
./libtool: line 1152: X-DPACKAGE_BUGREPORT="3.10.4.16": command not found
./libtool: line 1152: X-DPACKAGE_URL="": command not found
./libtool: line 1152: X-DPACKAGE="hplip": command not found
./libtool: line 1152: X-DVERSION="3.10.5": command not found
./libtool: line 1152: X-DSTDC_HEADERS=1: command not found
./libtool: line 1152: X-DHAVE_SYS_TYPES_H=1: command not found
./libtool: line 1152: X-DHAVE_SYS_STAT_H=1: command not found
./libtool: line 1152: X-DHAVE_STDLIB_H=1: command not found
./libtool: line 1152: X-DHAVE_STRING_H=1: command not found
./libtool: line 1152: X-DHAVE_MEMORY_H=1: command not found
./libtool: line 1152: X-DHAVE_STRINGS_H=1: command not found
./libtool: line 1152: X-DHAVE_INTTYPES_H=1: command not found
./libtool: line 1152: X-DHAVE_STDINT_H=1: command not found
./libtool: line 1152: X-DHAVE_UNISTD_H=1: command not found
./libtool: line 1152: X-DHAVE_DLFCN_H=1: command not found
./libtool: line 1152: X-DLT_OBJDIR=".libs/": No such file or directory
./libtool: line 1152: X-DHAVE_LIBDL=1: command not found
./libtool: line 1152: X-DHAVE_PTHREAD_H=1: command not found
./libtool: line 1152: X-DHAVE_JPEGLIB_H=1: command not found
./libtool: line 1152: X-DHAVE_UINT32_T=1: command not found
./libtool: line 1152: X-DHAVE_LIBHPIP=1: command not found
./libtool: line 1152: X-DHAVE_LIBHPIP=1: command not found
./libtool: line 1152: X-DHAVE_LIBCRYPTO=1: command not found
./libtool: line 1152: X-DHAVE_LIBNETSNMP=1: command not found
./libtool: line 1152: X-DHAVE_NET_SNMP_NET_SNMP_CONFIG_H=1: command not found
./libtool: line 1152: X-DHAVE_CUPS_CUPS_H=1: command not found
./libtool: line 1152: X-DHAVE_USB_H=1: command not found
./libtool: line 1152: X-DHAVE_PYTHON2_6_PYTHON_H=1: command not found
./libtool: line 1152: X-DHAVE_DBUS=1: command not found
./libtool: line 1152: X-I.: command not found
./libtool: line 1152: X-Iip: command not found
./libtool: line 1152: X-Iio/hpmud: No such file or directory
./libtool: line 1152: X-Iscan/sane: No such file or directory
./libtool: line 1152: X-Iprnt/hpijs: No such file or directory
./libtool: line 1152: X-I/usr/include/python2.6: No such file or directory
./libtool: line 1152: X-g: command not found
./libtool: line 1152: X-O2: command not found
./libtool: line 1152: X-MT: command not found
./libtool: line 1152: Xcupsext_la-cupsext.lo: command not found
./libtool: line 1152: X-MD: command not found
./libtool: line 1152: X-MP: command not found
./libtool: line 1152: X-MF: command not found
./libtool: line 1152: X.deps/cupsext_la-cupsext.Tpo: No such file or directory
./libtool: line 1152: X-c: command not found
./libtool: line 1205: Xcupsext_la-cupsext.lo: command not found
./libtool: line 1210: libtool: compile: cannot determine name of library object from `': command not found
make: *** [cupsext_la-cupsext.lo] Error 1

I did google it but didn't find anything that would make sense TO me.

Those lines say:
Code:

./libtool: line 841: X--tag=CC: command not found
./libtool: line 874: libtool: ignoring unknown tag : command not found
./libtool: line 841: X--mode=compile: command not found
./libtool: line 1008: *** Warning: inferring the mode of operation is  deprecated.: command not found
./libtool: line 1009: *** Future versions of Libtool will require  --mode=MODE be specified.: command not found

I don't know what mode I'm supposed to set, besides the first line of the make output explicitly states:
Code:

/bin/sh ./libtool  --tag=CC  --mode=compile gcc
Also:
Code:

./libtool: line 1210: libtool: compile: cannot determine name of library  object from `': command not found
I looked into the libtool script existing in the hplip source directory (line 1210):

Code:

case $libobj in
    *.lo) obj=`$echo "X$libobj" | $Xsed -e "$lo2o"` ;;
    *)
      $echo "$modename: cannot determine name of library object from \`$libobj'" 1>&2
      exit $EXIT_FAILURE
      ;;
    esac

I'm not any wiser. I've got 2 versions of libtool installed on my system:
libtool-2.2.6b-x86_64-2
libtool-compat32-2.2.6b-x86_64-2

Thanks

sycamorex 06-10-2010 04:26 PM

nevermind, it actually works fine with the stock slackware hplip. I remember that in the past I had some problems with setting up my printer with the stock one so I would compile hplip myself.

Another reason for appreciating S13.1:)


All times are GMT -5. The time now is 11:16 PM.