You saw my previous message about a strange error. I've tried many times to get autotools working on CentOS. It's the only distro in which I have had problems. How do i bring this to the attention of those who make the decisions?
Thanks, John
John J. Boyer wrote:
You saw my previous message about a strange error. I've tried many times to get autotools working on CentOS. It's the only distro in which I have had problems. How do i bring this to the attention of those who make the decisions?
these decisions are made in rhel, not centos - except if you have the issue in cent but not rhel. If you have a clear bug you could post it in the rhel bugzilla. A minimal test case is very helpful.
I used rhel up to a few weeks ago and had no problem with autotools. it is definitely a CentOS issue.
Thanks, John
On Fri, Jul 08, 2011 at 11:14:00AM +0200, Nicolas Thierry-Mieg wrote:
John J. Boyer wrote:
You saw my previous message about a strange error. I've tried many times to get autotools working on CentOS. It's the only distro in which I have had problems. How do i bring this to the attention of those who make the decisions?
these decisions are made in rhel, not centos - except if you have the issue in cent but not rhel. If you have a clear bug you could post it in the rhel bugzilla. A minimal test case is very helpful. _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
I've installed autoconf and automake from the CentOS repository. When I get liblouisutdml from its repository and run the autogen.sh script and then configure I get the error I explained in my previous message. Autoconf is generating a bad configure script. I've had the same problem on other CentOS installations, and nobody could figure out what it was. The nearest I can come is that some development file is missing from CentOS. This is not a problem for me to look at but for the CentOS experts. I just want to get my project to build, as it did on rhel. If I need to install something else from the CentOS repository, please tell me what.
Thanks, John
On Fri, Jul 08, 2011 at 10:39:52AM +0100, John Hodrien wrote:
On Fri, 8 Jul 2011, John J. Boyer wrote:
I used rhel up to a few weeks ago and had no problem with autotools. it is definitely a CentOS issue.
And you've done a package compare of the two machines to verify you're not missing something?
jh _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Fri, Jul 08, 2011 at 05:01:30AM -0500, John J. Boyer wrote:
I've installed autoconf and automake from the CentOS repository. When I get liblouisutdml from its repository and run the autogen.sh script and then configure I get the error I explained in my previous message. Autoconf is generating a bad configure script. I've had the same problem on other CentOS installations, and nobody could figure out what it was. The nearest I can come is that some development file is missing from CentOS. This is not a problem for me to look at but for the CentOS experts. I just want to get my project to build, as it did on rhel. If I need to install something else from the CentOS repository, please tell me what.
Again, please stop top-posting to the CentOS mailing lists. Please see http://www.centos.org/modules/tinycontent/index.php?id=16 for more information on the rules for the lists.
Not to be rude, but we can't read your mind, or your terminal output for that matter. You need to provide specifics if you expect anyone to help you. You claim that this is a CentOS-specific issue yet you provide no detail whatsoever to validate that claim. Providing the _specific_ errors that you are seeing may allow someone to help you; not doing so is just a waste of time.
If you want this package to build properly you need to meet people at least half-way.
John
On 7/8/11, John J. Boyer john.boyer@abilitiessoft.com wrote:
I've installed autoconf and automake from the CentOS repository. When I get liblouisutdml from its repository and run the autogen.sh script and then configure I get the error I explained in my previous message.
You're assuming that everybody saw the message. I would like to help but a quick check of my mailing list inbox only shows you asking questions about hostname and changing swap memory size.
Autoconf is generating a bad configure script. I've had the same problem on other CentOS installations, and nobody could figure out what it was. The nearest I can come is that some development file is missing from CentOS. This is not a problem for me to look at but for the CentOS experts. I just want to get my project to build, as it did on rhel. If I need to install something else from the CentOS repository, please tell me what.
Even if you want the experts to look at it, at the very least you have to investigate and narrow down the minimum steps necessary to replicate the problem. Usually this means providing the exact commands you are using so that they can try to replicate it simply by changing only the necessary parameters like path names.
Nobody is going to waste time trying to figure out what you were trying to do, how you were going about it, in order to trigger the error. Otherwise, you may just get replies that "it works fine for me" and none the wiser what might had gone wrong.
Last but not least, try to follow the rules in the place you're asking for help. Quote then reply, please do not top post, i.e. post your responses above everything else which confuses people who just started reading and therefore less likely to want to help.
Emmanuel Noobadmin wrote:
On 7/8/11, John J. Boyer john.boyer@abilitiessoft.com wrote:
I've installed autoconf and automake from the CentOS repository. When I get liblouisutdml from its repository and run the autogen.sh script and then configure I get the error I explained in my previous message.
You're assuming that everybody saw the message. I would like to help but a quick check of my mailing list inbox only shows you asking questions about hostname and changing swap memory size.
Autoconf is generating a bad configure script. I've had the same problem on other CentOS installations, and nobody could figure out what it was. The nearest I can come is that some development file is missing from CentOS. This is not a problem for me to look at but for the CentOS experts. I just want to get my project to build, as it did on rhel. If I need to install something else from the CentOS repository, please tell me what.
Even if you want the experts to look at it, at the very least you have to investigate and narrow down the minimum steps necessary to replicate the problem. Usually this means providing the exact commands you are using so that they can try to replicate it simply by changing only the necessary parameters like path names.
Nobody is going to waste time trying to figure out what you were trying to do, how you were going about it, in order to trigger the error. Otherwise, you may just get replies that "it works fine for me" and none the wiser what might had gone wrong.
Last but not least, try to follow the rules in the place you're asking for help. Quote then reply, please do not top post, i.e. post your responses above everything else which confuses people who just started reading and therefore less likely to want to help.
Here is his "error": John J. Boyer wrote:
I am using CentOS 5.6, autoconf 2.59 and automake 1.9.6. I run an autogen script which cleans all autotools files and then installs new ones. If the appliction has no dependencies running configure, make and make install works fine. However if it has dependencies I get the messages "Creating Makefile" and "Could not find input file Makefile". I've herd that I need another development package. What is it? Or what causes these contradictory messages? I must say that I have encountered this sort of problem only on CentOS.
Thanks, John
John, good start would be to give us the link to that autogen script for removal and installation of autotools. Maybe there is an error. Another possibility is that that script worked on the *older* version of RHEL/CentOS or other packages, but it does not work no more. When is the last time you chect if it works on RHEL? and on what version of RHEL? Once upon the time I was able to fit into childrens footwear. Now? not in a million years.
Without detailed and thought-out information no one can help you.
Ljubomir
On Fri, 8 Jul 2011, John J. Boyer wrote:
I've installed autoconf and automake from the CentOS repository. When I get liblouisutdml from its repository and run the autogen.sh script and then configure I get the error I explained in my previous message. Autoconf is generating a bad configure script. I've had the same problem on other CentOS installations, and nobody could figure out what it was. The nearest I can come is that some development file is missing from CentOS. This is not a problem for me to look at but for the CentOS experts. I just want to get my project to build, as it did on rhel. If I need to install something else from the CentOS repository, please tell me what.
Just to add some actual information to this thread:
CentOS 5.6:
$ hg clone https://liblouisutdml.googlecode.com/hg/ liblouisutdml
autogen.sh contains:
#!/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
Using it doesn't throw up anything too unsightly:
$ cd liblouisutdml
$ ./autogen.sh Cleaning autotools files... Running autoreconf... Putting files in AC_CONFIG_AUX_DIR, `build-aux'. configure.ac: installing `build-aux/install-sh' configure.ac: installing `build-aux/missing' doc/Makefile.am:16: installing `build-aux/mdate-sh' doc/Makefile.am:16: installing `build-aux/texinfo.tex' gnulib/Makefile.am: installing `build-aux/depcomp'
./configure works fine then complains I don't have liblouis installed. Looks fine to me, and I'm not going to make any effort to actually make it build.
jh
On Fri, Jul 08, 2011 at 11:47:48AM +0100, John Hodrien wrote:
Just to add some actual information to this thread:
CentOS 5.6:
$ hg clone https://liblouisutdml.googlecode.com/hg/ liblouisutdml
Thanks for trying this. Unfortunately, the error occurs after the configure script complains about not finding liblouis. I have liblouis compiled, of course, and I have adjusted the PKG_CONFIG_PATH Configure then tries to make the Makefile and produces the wrird error message. I think nobody will have the time to look into this, so i'll just move to another distro for C development.
Thanks anyway, John
autogen.sh contains:
#!/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
Using it doesn't throw up anything too unsightly:
$ cd liblouisutdml
$ ./autogen.sh Cleaning autotools files... Running autoreconf... Putting files in AC_CONFIG_AUX_DIR, `build-aux'. configure.ac: installing `build-aux/install-sh' configure.ac: installing `build-aux/missing' doc/Makefile.am:16: installing `build-aux/mdate-sh' doc/Makefile.am:16: installing `build-aux/texinfo.tex' gnulib/Makefile.am: installing `build-aux/depcomp'
./configure works fine then complains I don't have liblouis installed. Looks fine to me, and I'm not going to make any effort to actually make it build.
jh _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Fri, Jul 08, 2011 at 06:13:05AM -0500, John J. Boyer wrote:
Thanks for trying this. Unfortunately, the error occurs after the configure script complains about not finding liblouis. I have liblouis compiled, of course, and I have adjusted the PKG_CONFIG_PATH Configure then tries to make the Makefile and produces the wrird error message. I think nobody will have the time to look into this, so i'll just move to another distro for C development.
Out of all your blather you can't, not even once, post a transcript of the build process to those that already wasted time trying to assist you? Let me sum this up:
You: "Wah. It's broken." Us: "How is it broken? What do you see that makes you think that it is not working as it should be?" You: "Wah. It's broken, I tell you." Us: "Can you please be more specific." (Repeats a few times) You: "Wah. I won't bother helping you help me. Wah. I'm going elsewhere. Wah. Wah. Wah."
Is that about right? You waste the time of multiple people crying about something you won't elaborate on being broken; you blame the distro; and you cry and leave.
Here's a hint. If a package doesn't contain a "centos" tag in the package name it's not been modified; ie. it's the same as the upstream package. As this is the case it is an almost guaranteed certainty that your build environment between Redhat and CentOS isn't quite as identical as you believe it to be.
I'm fairly certain this is going to turn out to be a meatware problem; but since you refuse to post any details at all we'll never know. That and picking up your toys and going home, of course.
John
On Fri, 8 Jul 2011, John R. Dennison wrote:
I'm fairly certain this is going to turn out to be a meatware problem; but since you refuse to post any details at all we'll never know. That and picking up your toys and going home, of course.
PEBKAC confirmed. Problem is with the configure.ac not with CentOS, and I'm really surprised that the version checked out of code.google would build on any other sanely behaving linux OS. I really doubt this would build on RHEL.
jh
Thanks for trying this. Unfortunately, the error occurs after the configure script complains about not finding liblouis. I have liblouis compiled, of course, and I have adjusted the PKG_CONFIG_PATH Configure then tries to make the Makefile and produces the wrird error message. I think nobody will have the time to look into this, so i'll just move to another distro for C development.
I have found the problem, and liblouisutdml does actually build fine.
The environment is not the problem, but the source files.
On Fri, Jul 08, 2011 at 12:50:02PM +0100, Lars Hecking wrote:
I have found the problem, and liblouisutdml does actually build fine.
The environment is not the problem, but the source files.
Lars,
Please explain this to me. That will really speed up development of this software, which will be useful to many blind people, to say nothing of saving me the trouble of runninng another distro as a virtual machine or in chroot.
You can explain it offlist, if you like.
Thanks, John John
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Lars Hecking wrote:
Thanks for trying this. Unfortunately, the error occurs after the configure script complains about not finding liblouis. I have liblouis compiled, of course, and I have adjusted the PKG_CONFIG_PATH Configure then tries to make the Makefile and produces the wrird error message. I think nobody will have the time to look into this, so i'll just move to another distro for C development.
I have found the problem, and liblouisutdml does actually build fine.
The environment is not the problem, but the source files.
I tried to recompile it from Fedora 15 srpm (on CentOS 5.5 so far) and it gave me following error:
Making install in liblouisutdml make[1]: Entering directory `/usr/src/redhat/BUILD/liblouisutdml-1.9.0/liblouisutdml' make[2]: Entering directory `/usr/src/redhat/BUILD/liblouisutdml-1.9.0/liblouisutdml' test -z "/usr/lib" || mkdir -p -- "%{buildroot}/usr/lib" /bin/sh ../libtool --mode=install /usr/bin/install -c 'liblouisutdml.la' '%{buildroot}/usr/lib/liblouisutdml.la' libtool: install: `%{buildroot}/usr/lib' must be an absolute directory name Try `libtool --help --mode=install' for more information. make[2]: *** [install-libLTLIBRARIES] Error 1 make[2]: Leaving directory `/usr/src/redhat/BUILD/liblouisutdml-1.9.0/liblouisutdml' make[1]: *** [install-am] Error 2 make[1]: Leaving directory `/usr/src/redhat/BUILD/liblouisutdml-1.9.0/liblouisutdml' make: *** [install-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.29329 (%install)
Problem is in:
test -z "/usr/lib" || mkdir -p -- "%{buildroot}/usr/lib" /bin/sh ../libtool --mode=install /usr/bin/install -c 'liblouisutdml.la' '%{buildroot}/usr/lib/liblouisutdml.la'
Where %{buildroot} is not replaced with absolute path
I do not know if this helps.
Ljubomir
On Fri, Jul 08, 2011 at 04:32:52AM -0500, John J. Boyer wrote:
I used rhel up to a few weeks ago and had no problem with autotools. it is definitely a CentOS issue.
Please do not top-post on the CentOS mailing lists - thanks.
None of libtools, autoconf or automake are modified for CentOS, they are the same packages as TUV provides.
What _specific_ problems are you seeing?
John
On Fri, Jul 08, 2011 at 04:10:37AM -0500, John J. Boyer wrote:
You saw my previous message about a strange error. I've tried many times to get autotools working on CentOS. It's the only distro in which I have had problems. How do i bring this to the attention of those who make the decisions?
Reproducible bugs can go to https://bugzilla.redhat.com.
John
On Fri, 8 Jul 2011, John J. Boyer wrote:
You saw my previous message about a strange error. I've tried many times to get autotools working on CentOS. It's the only distro in which I have had problems. How do i bring this to the attention of those who make the decisions?
Autotools behave relatively sanely on CentOS as far as I'm aware and I suspect there wasn't enough detail in your posting for anyone to properly help. If it's a bug, raise it with Redhat, as CentOS just ship what they release. My suspicion is it's actually working as designed, and you're not understanding something.
I'm assuming you've got a non-Redhat based history with linux based on previous posts, or you're not that familiar with linux at all.
jh
The same project that works fine in rhel doesn't work in CentOS the configure script produced by autoconf is bad. I suspect that CentOS is not including a needed development file.
The project was developed over many years by autotools experts.
If you want to try it I'll give you the URLs for fetching both liblouisand libluiusutdml from their repositories, or you can get them from the download page at http://www.abilitiessoft.com Thanks, John
On Fri, Jul 08, 2011 at 10:17:31AM +0100, John Hodrien wrote:
On Fri, 8 Jul 2011, John J. Boyer wrote:
You saw my previous message about a strange error. I've tried many times to get autotools working on CentOS. It's the only distro in which I have had problems. How do i bring this to the attention of those who make the decisions?
Autotools behave relatively sanely on CentOS as far as I'm aware and I suspect there wasn't enough detail in your posting for anyone to properly help. If it's a bug, raise it with Redhat, as CentOS just ship what they release. My suspicion is it's actually working as designed, and you're not understanding something.
I'm assuming you've got a non-Redhat based history with linux based on previous posts, or you're not that familiar with linux at all.
jh _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
John J. Boyer wrote:
The same project that works fine in rhel doesn't work in CentOS the configure script produced by autoconf is bad. I suspect that CentOS is not including a needed development file.
The project was developed over many years by autotools experts.
If you want to try it I'll give you the URLs for fetching both liblouisand libluiusutdml from their repositories, or you can get them from the download page at http://www.abilitiessoft.com
let me repeat: minimal test-case? people won't be inclined to help you debug your whole program, but they might help if you have a small test-case that triggers your issue.