Jaka Kranjc a écrit :
> Author: lynxlynxlynx
> Date: Tue Nov 27 14:12:48 2007
> New Revision: 3665
>
> URL: http://svn.gna.org/viewcvs/wormux?rev=3665&view=rev
> Log:
> Enable wormux to be compiled statically! 
> The configure flag --enable-static works for me now.
>   

Great! (anyway, it still doesn't work for me...)
> The curl check is not optimal, but still needed otherwise autotools produce a 
> bad
> commandline with invalid ordering.
>
> In addition, I had to do the following:
> - my glib2 and glibmm distributions had to be rebuilt with --enable-static
>   
> - I recompiled sdl without aalib support, since we don't need it
>   

Ok, that's why it does not work for me :-)

> While I can easily make binaries, I don't know how the data part is handled.
> Do we have some kind of make static-dist?
>   

Well, you can play with flag such as --with-datadir-name,  --with-font-path
More info here:
http://www.wormux.org/wiki/howto/en/compile_source_code.php#Some_interesting_..2Fconfigure_options

Another solution is to run wormux from a shell script with exporting 
variables before:

export WORMUX_DATADIR=./data
export WORMUX_LOCALEDIR=./po
export WORMUX_FONT_PATH=./data/font/DejaVuSans.ttf


To make the archive, I suppose the simpliest is to use make dist-bzip2 
to create an archive, and then to remove the src and add the executable 
(and the script) in the archive.

Regards,

Matt (gentildemon)
>
> Modified:
>     trunk/configure.ac
>     trunk/src/Makefile.am
>
>
> _______________________________________________
> Wormux-cvs mailing list
> [EMAIL PROTECTED]
> https://mail.gna.org/listinfo/wormux-cvs
>
>
>   

_______________________________________________
Wormux-dev mailing list
Wormux-dev@gna.org
https://mail.gna.org/listinfo/wormux-dev

Répondre à