[CIG-MC] svn download question for CitcomS

Eh Tan tan2 at geodynamics.org
Wed Jan 21 09:38:20 PST 2009


Hi Clint,

Those "missing" files are not stored in the svn repository and need to 
be generated by autoconf. The following is the instruction on how to 
generate those files, copied from "Section 2.11 Installing from the 
Software Repository" in the manual.

------------------------
2.11.1 Tools You Will Need
In addition to the usual system requirements, you will need a handful of 
additional development tools
installed in order to work with the source from the CIG software 
repository.

(...)

Second, you must have the GNU tools Autoconf, Automake, and Libtool 
installed. To check, enter the
following commands:
$ autoconf --version
$ automake --version
$ libtoolize --version
For more information about these GNU tools, see the GNU website 
(www.gnu.org/software). The CitcomS
v3.0.2 source package was created with Autoconf 2.59, Automake 1.9.2, 
and Libtool 1.5.6.

(...)

2.11.3 Generating the GNU Build System
Your working directory should now contain a fresh checkout of CitcomS:
$ ls
CitcomS
$

Before you can run configure or make, you must generate the necessary 
files using the GNU tools. The
easiest way to do this is to run autoreconf -i:
$ cd CitcomS
$ autoreconf -i
$ ./configure
$ make

The autoreconf tool runs Autoconf to generate the configure script from 
configure.ac. It also runs
Automake to generate Makefile.in from Makefile.am in each source directory.

The configure script stores dependency information for source files in 
hidden subdirectories called .deps.
If source files are added, deleted, moved, or renamed – which may happen 
if you run svn update to merge
the latest changes – the make command may report errors for source files 
which no longer exist. If this
happens, clean your existing configuration using the make distclean 
command, and then re-run configure
and make:
$ make distclean
$ ./configure
$ make

The make distclean command deletes all files generated by configure, 
including the Makefiles themselves!
Therefore, after running make distclean, you will not be able to run 
make again until you re-run configure.

Regards,
----
Eh Tan

Staff Scientist
Computational Infrastructure for Geodynamics
Pasadena, CA 91125
(626) 395-1693
http://www.geodynamics.org



CLINT CONRAD wrote:

> Dear CitcomS Developers,
>
> I tried to download the latest version of CitcomS using the svn 
> command listed on the CitcomS web page:
>
> svn checkout http://geodynamics.org/svn/cig/mc/3D/CitcomS/trunk 
> CitcomS.svn
>
> When I do this, I find that several key installation files are missing 
> from the download, such as:
> configure
> config.h
> Makefile.in
> as well as several similar files in the various subdirectories (lib, 
> visual, module, etc.)
>
> These files are all present in the latest release (3.0.3). However, 
> because these files are missing from the svn download,
> I cannot configure and compile the code. I could copy these files from 
> the 3.0.3 release (which compiles fine), but I worry
> that there will be inconsistencies.
>
> Are the configuration files and makefiles supposed to be included with 
> the svn download? If not, how can I get them?
> Sorry if I am missing something basic about svn...
>
> Thanks!
> Clint
>
>
>
> ---------------------------------------------
> Clint Conrad Assistant Professor
> Dept. Geology & Geophysics, SOEST, 804 POST
> Univ. Hawaii at Manoa ph: 808-956-6649
> 1680 East-West Road fax: 808-956-5154
> Honolulu, HI 96822 clintc at hawaii.edu <mailto:clintc at hawaii.edu>
> http://www.soest.hawaii.edu/GG/FACULTY/conrad
> ---------------------------------------------
>
>
>
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>CIG-MC mailing list
>CIG-MC at geodynamics.org
>http://geodynamics.org/cgi-bin/mailman/listinfo/cig-mc
>  
>



More information about the CIG-MC mailing list