I have a CentOS virtual private server from 1and1.com If I checkout or pull something from a repository, it will contain an autogen.sh file Running this and then configure seems to work. However, when I run make I get a lot of error messages from libtool saying that such and such a command could not be found on some line or that there is a syntax error. This happens even with the latest updates. Several people have been unable to help. What is the problem, and what should I do about it?
Thanks, John
On 05/15/2011 11:32 PM, John J. Boyer wrote:
I have a CentOS virtual private server from 1and1.com If I checkout or pull something from a repository, it will contain an autogen.sh file Running this and then configure seems to work. However, when I run make I get a lot of error messages from libtool saying that such and such a command could not be found on some line or that there is a syntax error. This happens even with the latest updates. Several people have been unable to help. What is the problem, and what should I do about it?
Thanks, John
If you try actually providing more information as well as some of the errors we might be able to help you. Im pretty sure that libtool isn't telling you "such and such a command could not be found on some line or that there is a syntax error."
Again, to reiterate, provide useful information as opposed to just ranting about how something doesn't work and we might actually try to help you.
On Sun, May 15, 2011 at 11:32:24PM -0500, John J. Boyer wrote:
I have a CentOS virtual private server from 1and1.com If I checkout or pull something from a repository, it will contain an autogen.sh file Running this and then configure seems to work. However, when I run make I get a lot of error messages from libtool saying that such and such a command could not be found on some line or that there is a syntax error. This happens even with the latest updates. Several people have been unable to help. What is the problem, and what should I do about it?
It would help to be more specific. If you are "pulling something from a repository," do you mean that it's a CentOS program?
When a command is not found, or a library is not found, one way to find it is with
yum provides */<command_name>
Can you give a specific example?
The repository to which I am referring is the liblouis repository on googlecode. I get a working copy, which has an autogen.sh file. I run this and then configure. Make gives the following errors
../libtool: line 826: X--tag=CC: command not found ../libtool: line 859: libtool: ignoring unknown tag : command not found ../libtool: line 826: X--mode=compile: command not found ../libtool: line 992: *** Warning: inferring the mode of operation is deprecated.: command not found ../libtool: line 993: *** Future versions of Libtool will require --mode=MODE be specified.: command not found ../libtool: line 1136: Xgcc: command not found ../libtool: line 1136: X-DHAVE_CONFIG_H: command not found ../libtool: line 1136: X-I.: command not found ../libtool: line 1136: X-I../../gnulib: No such file or directory ../libtool: line 1136: X-I../liblouis: No such file or directory ../libtool: line 1136: X-g: command not found ../libtool: line 1136: X-O2: command not found ../libtool: line 1136: X-MT: command not found ../libtool: line 1136: Xprogname.lo: command not found ../libtool: line 1136: X-MD: command not found ../libtool: line 1136: X-MP: command not found ../libtool: line 1136: X-MF: command not found ../libtool: line 1136: X.deps/progname.Tpo: No such file or directory ../libtool: line 1136: X-c: command not found ../libtool: line 1188: Xprogname.lo: command not found ../libtool: line 1193: libtool: compile: cannot determine name of library object from `': command not found make[3]: *** [progname.lo] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all] Error 2 make: *** [all-recursive] Error 1
This library compiles on my home Linus machine, which runs Redhat Enterprise Linux. It also builds with no problems.
Sorry for not being more specific in my first message. If you need more information I will try to provide it.
Thanks, John
On Mon, May 16, 2011 at 12:59:07AM -0400, Scott Robbins wrote:
On Sun, May 15, 2011 at 11:32:24PM -0500, John J. Boyer wrote:
I have a CentOS virtual private server from 1and1.com If I checkout or pull something from a repository, it will contain an autogen.sh file Running this and then configure seems to work. However, when I run make I get a lot of error messages from libtool saying that such and such a command could not be found on some line or that there is a syntax error. This happens even with the latest updates. Several people have been unable to help. What is the problem, and what should I do about it?
It would help to be more specific. If you are "pulling something from a repository," do you mean that it's a CentOS program?
When a command is not found, or a library is not found, one way to find it is with
yum provides */<command_name>
Can you give a specific example?
-- Scott Robbins PGP keyID EB3467D6 ( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 ) gpg --keyserver pgp.mit.edu --recv-keys EB3467D6
Spike: A slayer with family and friends. That sure as hell wasn't in the brochure.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
I haven't had this many errors doing a make in a long, long, long, long time... maybe never. (I'm saying that I'm guessing here....) It could be that you were in the wrong directory when you ran "make" or, more likely, you skipped a command (perhaps ".configure") that should have been run before running "make". Did a README file come with this tarball? If so, did you try looking through it for specific instructions?
On 05/16/2011 02:43 AM John J. Boyer wrote:
The repository to which I am referring is the liblouis repository on googlecode. I get a working copy, which has an autogen.sh file. I run this and then configure. Make gives the following errors
../libtool: line 826: X--tag=CC: command not found ../libtool: line 859: libtool: ignoring unknown tag : command not found ../libtool: line 826: X--mode=compile: command not found ../libtool: line 992: *** Warning: inferring the mode of operation is deprecated.: command not found ../libtool: line 993: *** Future versions of Libtool will require --mode=MODE be specified.: command not found ../libtool: line 1136: Xgcc: command not found ../libtool: line 1136: X-DHAVE_CONFIG_H: command not found ../libtool: line 1136: X-I.: command not found ../libtool: line 1136: X-I../../gnulib: No such file or directory ../libtool: line 1136: X-I../liblouis: No such file or directory ../libtool: line 1136: X-g: command not found ../libtool: line 1136: X-O2: command not found ../libtool: line 1136: X-MT: command not found ../libtool: line 1136: Xprogname.lo: command not found ../libtool: line 1136: X-MD: command not found ../libtool: line 1136: X-MP: command not found ../libtool: line 1136: X-MF: command not found ../libtool: line 1136: X.deps/progname.Tpo: No such file or directory ../libtool: line 1136: X-c: command not found ../libtool: line 1188: Xprogname.lo: command not found ../libtool: line 1193: libtool: compile: cannot determine name of library object from `': command not found make[3]: *** [progname.lo] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all] Error 2 make: *** [all-recursive] Error 1
This library compiles on my home Linus machine, which runs Redhat Enterprise Linux. It also builds with no problems.
Sorry for not being more specific in my first message. If you need more information I will try to provide it.
Thanks, John
On Mon, May 16, 2011 at 12:59:07AM -0400, Scott Robbins wrote:
On Sun, May 15, 2011 at 11:32:24PM -0500, John J. Boyer wrote:
I have a CentOS virtual private server from 1and1.com If I checkout or pull something from a repository, it will contain an autogen.sh file Running this and then configure seems to work. However, when I run make I get a lot of error messages from libtool saying that such and such a command could not be found on some line or that there is a syntax error. This happens even with the latest updates. Several people have been unable to help. What is the problem, and what should I do about it?
It would help to be more specific. If you are "pulling something from a repository," do you mean that it's a CentOS program?
When a command is not found, or a library is not found, one way to find it is with
yum provides */<command_name>
Can you give a specific example?
-- Scott Robbins PGP keyID EB3467D6 ( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 ) gpg --keyserver pgp.mit.edu --recv-keys EB3467D6
Spike: A slayer with family and friends. That sure as hell wasn't in the brochure.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Hello John,
On Mon, 2011-05-16 at 01:43 -0500, John J. Boyer wrote:
../libtool: line 1136: X-I.: command not found ../libtool: line 1136: X-I../../gnulib: No such file or directory ../libtool: line 1136: X-I../liblouis: No such file or directory ../libtool: line 1136: X-g: command not found ../libtool: line 1136: X-O2: command not found
Definitely an X issue ;) . See that "X" in every error? Seems like a bad substitution or something similar.
Any idea where that "X" comes from? Did you accidently edit autogen.sh? Or perhaps your CentOS VM is an older version than your RHEL you use at home and the programme you are building needs more recent libtools?
I reckon that onces you get rid of those X-es things should build fine.
Regards, Leonard.
On Mon, May 16, 2011 at 12:32 AM, John J. Boyer john.boyer@abilitiessoft.com wrote:
I have a CentOS virtual private server from 1and1.com If I checkout or pull something from a repository, it will contain an autogen.sh file Running this and then configure seems to work. However, when I run make I get a lot of error messages from libtool saying that such and such a command could not be found on some line or that there is a syntax error. This happens even with the latest updates. Several people have been unable to help. What is the problem, and what should I do about it?
I don't really see what this has to do with creating a tarball. Your question relates more to the building of the software binaries than the packaging.
Generally what you're seeing is attributed to missing dependencies for the build process. For example, you may be missing several -devel packages required for the proper compilation of the software, or what's shipped in centos may simply not be new enough.
I have a CentOS virtual private server from 1and1.com
This may be a non-issue but have you tried compiling stuff before on this machine? Most of the VPS system's I've seen in operation have stripped out the build tools for performance & security reasons.
On 5/16/2011 1:05 PM, Drew wrote:
I have a CentOS virtual private server from 1and1.com
This may be a non-issue but have you tried compiling stuff before on this machine? Most of the VPS system's I've seen in operation have stripped out the build tools for performance& security reasons.
If they let you add to the base install, try: yum groupinstall "Development Tools" "Development Libraries" and maybe "X Software Development".
Les,
I installed the development tools and development libraries, as you suggested. I even tried to install packages x*.x86_64 There were some unresolved dependencies in the latter, so I used --skip-broken with yum. There was a report of conflicting files, so i don't know how much was actually installed.
Anyway, when I run autogen.sh configure make on a read-only copy of the liblouis svn repository I get the following errors.
../libtool: line 826: X--tag=CC: command not found ../libtool: line 859: libtool: ignoring unknown tag : command not found ../libtool: line 826: X--mode=compile: command not found ../libtool: line 992: *** Warning: inferring the mode of operation is deprecated.: command not found ../libtool: line 993: *** Future versions of Libtool will require --mode=MODE be specified.: command not found ../libtool: line 1136: Xgcc: command not found ../libtool: line 1136: X-DHAVE_CONFIG_H: command not found ../libtool: line 1136: X-I.: command not found ../libtool: line 1136: X-I../../gnulib: No such file or directory ../libtool: line 1136: X-I../liblouis: No such file or directory ../libtool: line 1136: X-g: command not found ../libtool: line 1136: X-O2: command not found ../libtool: line 1136: X-MT: command not found ../libtool: line 1136: Xprogname.lo: command not found ../libtool: line 1136: X-MD: command not found ../libtool: line 1136: X-MP: command not found ../libtool: line 1136: X-MF: command not found ../libtool: line 1136: X.deps/progname.Tpo: No such file or directory ../libtool: line 1136: X-c: command not found ../libtool: line 1188: Xprogname.lo: command not found ../libtool: line 1193: libtool: compile: cannot determine name of library object from `': command not found make[3]: *** [progname.lo] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all] Error 2 make: *** [all-recursive] Error 1
This repository works on my home Linux machine, which is older than the vps.
Thanks, John
On Mon, May 16, 2011 at 01:27:58PM -0500, Les Mikesell wrote:
On 5/16/2011 1:05 PM, Drew wrote:
I have a CentOS virtual private server from 1and1.com
This may be a non-issue but have you tried compiling stuff before on this machine? Most of the VPS system's I've seen in operation have stripped out the build tools for performance& security reasons.
If they let you add to the base install, try: yum groupinstall "Development Tools" "Development Libraries" and maybe "X Software Development".
-- Les Mikesell lesmikesell@gmail.com _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
John J. Boyer wrote:
Les,
I installed the development tools and development libraries, as you suggested. I even tried to install packages x*.x86_64 There were some unresolved dependencies in the latter, so I used --skip-broken with yum. There was a report of conflicting files, so i don't know how much was actually installed.
Anyway, when I run autogen.sh configure make on a read-only copy of the liblouis svn repository I get the following errors.
../libtool: line 826: X--tag=CC: command not found ../libtool: line 859: libtool: ignoring unknown tag : command not found ../libtool: line 826: X--mode=compile: command not found ../libtool: line 992: *** Warning: inferring the mode of operation is deprecated.: command not found ../libtool: line 993: *** Future versions of Libtool will require --mode=MODE be specified.: command not found ../libtool: line 1136: Xgcc: command not found ../libtool: line 1136: X-DHAVE_CONFIG_H: command not found ../libtool: line 1136: X-I.: command not found ../libtool: line 1136: X-I../../gnulib: No such file or directory ../libtool: line 1136: X-I../liblouis: No such file or directory ../libtool: line 1136: X-g: command not found ../libtool: line 1136: X-O2: command not found ../libtool: line 1136: X-MT: command not found ../libtool: line 1136: Xprogname.lo: command not found ../libtool: line 1136: X-MD: command not found ../libtool: line 1136: X-MP: command not found ../libtool: line 1136: X-MF: command not found ../libtool: line 1136: X.deps/progname.Tpo: No such file or directory ../libtool: line 1136: X-c: command not found ../libtool: line 1188: Xprogname.lo: command not found ../libtool: line 1193: libtool: compile: cannot determine name of library object from `': command not found make[3]: *** [progname.lo] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all] Error 2 make: *** [all-recursive] Error 1
This repository works on my home Linux machine, which is older than the vps.
Thanks, John
You continuously make same mistakes when giving info. This one will be very hard to do if you assume things. Like that we know what your home machine looks like. If was you, I would volunteered following information:
CentOS vps is version 5.?? with following third person repositories active (guess because you have dependency issues) , and my home machine is ???? Linux system version ??? with following repositories active.
Have you looked at packages (and their versions!) needed to compile that app in the README file?
I notice you are one of developers but guess you do not have much rpm experience. I can see SRPMS for Fedora 14, 15 and 16 (http://download.fedora.redhat.com/pub/fedora/linux/updates/14/SRPMS/liblouis...) and I wonder why would you want to compile it from scratch when recompiling it would be much better.
I am going to try to recompile Fedora SRPM and see what is the problem.
Ljubomir
Ljubomir Ljubojevic wrote:
John J. Boyer wrote:
Les,
I installed the development tools and development libraries, as you suggested. I even tried to install packages x*.x86_64 There were some unresolved dependencies in the latter, so I used --skip-broken with yum. There was a report of conflicting files, so i don't know how much was actually installed.
Anyway, when I run autogen.sh configure make on a read-only copy of the liblouis svn repository I get the following errors.
../libtool: line 826: X--tag=CC: command not found ../libtool: line 859: libtool: ignoring unknown tag : command not found ../libtool: line 826: X--mode=compile: command not found ../libtool: line 992: *** Warning: inferring the mode of operation is deprecated.: command not found ../libtool: line 993: *** Future versions of Libtool will require --mode=MODE be specified.: command not found ../libtool: line 1136: Xgcc: command not found ../libtool: line 1136: X-DHAVE_CONFIG_H: command not found ../libtool: line 1136: X-I.: command not found ../libtool: line 1136: X-I../../gnulib: No such file or directory ../libtool: line 1136: X-I../liblouis: No such file or directory ../libtool: line 1136: X-g: command not found ../libtool: line 1136: X-O2: command not found ../libtool: line 1136: X-MT: command not found ../libtool: line 1136: Xprogname.lo: command not found ../libtool: line 1136: X-MD: command not found ../libtool: line 1136: X-MP: command not found ../libtool: line 1136: X-MF: command not found ../libtool: line 1136: X.deps/progname.Tpo: No such file or directory ../libtool: line 1136: X-c: command not found ../libtool: line 1188: Xprogname.lo: command not found ../libtool: line 1193: libtool: compile: cannot determine name of library object from `': command not found make[3]: *** [progname.lo] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all] Error 2 make: *** [all-recursive] Error 1
This repository works on my home Linux machine, which is older than the vps.
Thanks, John
You continuously make same mistakes when giving info. This one will be very hard to do if you assume things. Like that we know what your home machine looks like. If was you, I would volunteered following information:
CentOS vps is version 5.?? with following third person repositories active (guess because you have dependency issues) , and my home machine is ???? Linux system version ??? with following repositories active.
Have you looked at packages (and their versions!) needed to compile that app in the README file?
I notice you are one of developers but guess you do not have much rpm experience. I can see SRPMS for Fedora 14, 15 and 16 (http://download.fedora.redhat.com/pub/fedora/linux/updates/14/SRPMS/liblouis...) and I wonder why would you want to compile it from scratch when recompiling it would be much better.
I am going to try to recompile Fedora SRPM and see what is the problem.
Packages needed are help2man texinfo-tex python-devel info tetex
liblouis package I gave a link too reposrt following errors on 64-bit CentOS 5.6:
RPM build errors: File must begin with "/": %{python_sitelib}/louis/ Installed (but unpackaged) file(s) found: /usr/lib/debug/usr/bin/lou_allround.debug /usr/lib/debug/usr/bin/lou_checkhyphens.debug /usr/lib/debug/usr/bin/lou_checktable.debug /usr/lib/debug/usr/bin/lou_debug.debug /usr/lib/debug/usr/bin/lou_translate.debug /usr/lib/debug/usr/lib64/liblouis.so.2.2.3.debug /usr/lib/debug/usr/lib64/liblouis.so.2.debug /usr/lib/debug/usr/lib64/liblouis.so.debug /usr/src/debug/liblouis-2.2.0/gnulib/progname.c /usr/src/debug/liblouis-2.2.0/gnulib/progname.h /usr/src/debug/liblouis-2.2.0/gnulib/version-etc.c /usr/src/debug/liblouis-2.2.0/gnulib/version-etc.h /usr/src/debug/liblouis-2.2.0/liblouis/compileTranslationTable.c /usr/src/debug/liblouis-2.2.0/liblouis/liblouis.h /usr/src/debug/liblouis-2.2.0/liblouis/lou_backTranslateString.c /usr/src/debug/liblouis-2.2.0/liblouis/lou_translateString.c /usr/src/debug/liblouis-2.2.0/liblouis/louis.h /usr/src/debug/liblouis-2.2.0/liblouis/transcommon.ci /usr/src/debug/liblouis-2.2.0/liblouis/wrappers.c /usr/src/debug/liblouis-2.2.0/tools/lou_allround.c /usr/src/debug/liblouis-2.2.0/tools/lou_checkhyphens.c /usr/src/debug/liblouis-2.2.0/tools/lou_checktable.c /usr/src/debug/liblouis-2.2.0/tools/lou_debug.c /usr/src/debug/liblouis-2.2.0/tools/lou_translate.c
My suggestion is to contact Martin Gieseking martin.gieseking@uos.de (author of the spec) and see if he can help you. I am currently too busy to play with this, but if you can not find anybody else, I will try to compile this (newer version 2.3.0?) for you for CentOS 5.x. If there are any problems with CentOS 5.x, it should work on CentOS 6.x without any problem.
Ljubomir
On 5/17/2011 12:49 AM, John J. Boyer wrote:
Les,
I installed the development tools and development libraries, as you suggested. I even tried to install packages x*.x86_64 There were some unresolved dependencies in the latter, so I used --skip-broken with yum. There was a report of conflicting files, so i don't know how much was actually installed.
Anyway, when I run autogen.sh configure make on a read-only copy of the liblouis svn repository I get the following errors. ../libtool: line 826: X--tag=CC: command not found
I think you had and error in the autoconf or configure step and missed it before you get here. Those X- items should have been edited into something else in the preprocessing steps. Not sure what autogen.sh is - what happens if you just run autoconf?
Les,
Here's my autogen.sh file.
#!/bin/sh # # autogen.sh glue for liblouis # # Requires: automake 1.9, autoconf 2.57+ # Conflicts: autoconf 2.13 set -e
# Refresh GNU autotools toolchain. echo Cleaning autotools files... find -type d -name autom4te.cache -print0 | xargs -0 rm -rf ; find -type f ( -name missing -o -name install-sh -o -name mkinstalldirs \ -o -name depcomp -o -name ltmain.sh -o -name configure \ -o -name config.sub -o -name config.guess -o -name config.h.in \ -o -name mdate-sh -o -name texinfo.tex \ -o -name Makefile.in -o -name aclocal.m4 ) -print0 | xargs -0 rm -f
echo Running autoreconf... autoreconf --force --install
exit 0
Again, this works fine on my home Linux machine, and even on Cygwin.
Thanks, John
On Tue, May 17, 2011 at 05:02:46PM -0500, Les Mikesell wrote:
On 5/17/2011 12:49 AM, John J. Boyer wrote:
Les,
I installed the development tools and development libraries, as you suggested. I even tried to install packages x*.x86_64 There were some unresolved dependencies in the latter, so I used --skip-broken with yum. There was a report of conflicting files, so i don't know how much was actually installed.
Anyway, when I run autogen.sh configure make on a read-only copy of the liblouis svn repository I get the following errors. ../libtool: line 826: X--tag=CC: command not found
I think you had and error in the autoconf or configure step and missed it before you get here. Those X- items should have been edited into something else in the preprocessing steps. Not sure what autogen.sh is
- what happens if you just run autoconf?
-- Les Mikesell lesmikesell@gmail.com _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos