[gecode-users] gecode autoconf setting
Martin Mann
mmann at informatik.uni-freiburg.de
Tue Oct 23 10:21:51 CEST 2007
Hi Christian,
thanks a lot! :)
Martin
Christian Schulte schrieb:
> Hi Martin,
>
> Yes that shouldn't be hard (actually the hard part is packing a binary
> distribution). Should be there in Gecode 2.0.0.
>
> Christian
>
> -----Original Message-----
> From: users-bounces at gecode.org [mailto:users-bounces at gecode.org] On Behalf
> Of Martin Mann
> Sent: Monday, October 22, 2007 3:22 PM
> To: gecode user list
> Subject: [gecode-users] gecode autoconf setting
>
> Hi,
>
> I am currently preparing an autoconf based package including
> gecode-1.3.0 as subpackage (subdir) in the source distribution using the
> standard autoconf macro
>
> AC_CONFIG_SUBDIRS([gecode-1.3.0])
>
> Everything works fine including compilation:
> - my configure enters the subdir and calls the gecode configure
> - my makefile enters the gecode subdir and compiles the library
> - my code compiles using the previously compiled local gecode version in
> the subdir
> - my resulting program works and can be installed in the system using
> the standard "make install" target generated by autoconf
>
> so far everything fine!
>
> the problem occurs, when i want to create a source distribution of my
> package (include gecode of course)
>
> calling the standard "make dist" results in
>
> ...
> make[1]: Entering directory `/home/..../gecode-1.3.0'
> make[1]: *** No rule to make target `distdir'. Stop.
> make[1]: Leaving directory `/home/..../gecode-1.3.0'
> make: *** [distdir] Error 1
>
> a closer look at the 'gecode-1.3.0/Makefile' shows, that there are only
> make targets to generate a distribution of the include-headers and
> compiled library - the binary distribution. This is nice to install the
> precompiled library but doesnt help source sub-supplier as I am.. ;)
>
> Think this is also usefull for other people that want to integrate a
> certain gecode version as a bundle into their source project and to
> distribute it.
>
> Is there a reason for the non-standard Makefile not providing a source
> distribution generation? If not is it possible to enable this in the
> comming gecode-2.0.0 version?
>
> Would be glad about! ;)
>
> Meanwhile I will try to write a dist make target to enable the support
> locally. Do you ve got this already or are you interested to get it if I
> can manage?
>
> So far, hope to help,
>
> Martin
>
>
>
--
Martin Mann, Dipl. Bioinf.
Bioinformatics - Inst. of Computer Science
Albert-Ludwigs-University Freiburg
Tel: ++49-761-203-8259
Fax: ++49-761-203-7462
http://www.bioinf.uni-freiburg.de/~mmann/
More information about the gecode-users
mailing list