[GenABEL-dev] ProbABEL autotools integration branch in SVN

L.C. Karssen l.karssen at erasmusmc.nl
Mon Jun 27 19:28:33 CEST 2011


Dear list,

Those of you that keep an eye on the SVN repo have noticed that I've
added a branch called ProbABEL/autotools-integration. In that branch I'm
trying to convert the ProbABEL package to use autoconf and automake. The
reasons for this change are:
- most (dare I say 'advanced' here?) Linux/Unix users are used to the
sequence of ./configure; make; make install when compiling and
installing software.
- it makes ProbABEL conform (more) to the GNU coding standards, and as a
result
- it is easier to package ProbABEL for various distributions
(e.g. .deb, .rpm, .tgz)
- I've been wanting to lean how to use autoconf and automake for some
time, and ProbABEL seems to be a nice (although slightly complex)
project to started with. 

At the moment I've got most of it working: 
- palinear and palogist are compiled and installed in PREFIX/bin
- the examples are copied to PREFIX/usr/share/ProbABEL/examples/
- documentation is copied to PREFIX/usr/share/doc/
- the probabel_config.cfg file is copied to PREFIX/etc/

What isn't working yet is:
- the PDF is not automatically generated from the .tex file. I still use
the old Makefile in the doc/ directory for that. 
- I didn't test how this all works for the Windows build
- pacoxph doesn't compile. It gives this error:
pacoxph-main.o: In function `coxph_reg::estimate(coxph_data&, int, int,
double, double, int, int, int, bool, int)':
/home/lennart/ErasmusMC/R-dev/ABEL-total/branches/ProbABEL/autotools-integration/ProbABEL/src/reg1.h:884: undefined reference to `coxfit2(int*, int*, int*, double*, int*, double*, double*, double*, int*, double*, double*, double*, double*, double*, int*, double*, double*, double*, double*)'
collect2: ld returned 1 exit status

even though the function definition seems to be available in reg1.h
itself... I'll have to look into that. 

Any help is appreciated! Also if you've got more experience with
autoconf/automake I'd like to hear your comments.



Regards,

Lennart.


-- 
-----------------------------------------------
L.C. Karssen
Erasmus MC
Department of Epidemiology
Room Ee2224

Postbus 2040
3000 CA Rotterdam
The Netherlands

phone: +31-10-7044217
fax: +31-10-7044657
email: l.karssen at erasmusmc.nl
GPG key ID: 0E1D39E3
-----------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.r-forge.r-project.org/pipermail/genabel-devel/attachments/20110627/4bfd34fb/attachment.pgp>


More information about the genabel-devel mailing list