LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-10-2010, 03:54 PM   #1
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
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
 
Old 06-10-2010, 04:26 PM   #2
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836

Original Poster
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
slackware64-current : pulseaudio compilation fails, wrong version of libtool pokipoki08 Slackware 2 07-31-2009 11:59 PM
libtool error linuxdoniv Programming 1 02-05-2009 12:51 PM
libtool error xushi Slackware 4 01-27-2009 02:28 PM
libtool error (openobex) gallan Linux - Software 1 07-15-2005 11:27 PM
libtool link error tibbar66 Linux - Newbie 1 04-09-2005 05:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration