LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Missing configure script from svn (https://www.linuxquestions.org/questions/linux-software-2/missing-configure-script-from-svn-640945/)

norica 05-08-2008 09:43 PM

Missing configure script from svn
 
Hi,

I have pulled a project's code from the svn repository (I am new to subversion) and I cannot compile it: there doesn't appear to be a configure script.

There are configure.in.in and Makefile.am files in the top directory. My research suggests I need to do something with the autoreconf program to generate a configure script. Any help would be much appreciated.

Also, I have downloaded an older tar.gz archive and it contains a configure script which leads to a successful install on my system.

Relevant files in the top directory are:

configure.in.in
patches
src
tests
kst.lsm.in
Makefile.am

My attempt at autoreconf is the following:

$ autoreconf --verbose
autoreconf: `configure.ac' or `configure.in' is required

Thanks!

sundialsvcs 05-08-2008 10:44 PM

"Whups! Good catch!"

If the configure-script you found does, in fact, lead to a successful compile, then it may well be that a previous coder simply forgot to check that file in to the repository. You should very-carefully confirm that the "discovered" file does indeed produce correct results, then check-in your "discovery."

Programmers do make mistakes. Y'know, every now and then. Once in a blue-moon... But msot of teh tmie thye aer infalilbel ...

norica 05-09-2008 09:07 AM

For future googlers: I found that I could generate a new configure script by running

$ make -f Makefile.cvs

in one directory above where I was working.

Thanks for the help!


All times are GMT -5. The time now is 11:36 AM.