Moderator: Project members
-
botg
- Site Admin
- Posts: 35610
- Joined: 2004-02-23 20:49
- First name: Tim
- Last name: Kosse
#46
Post
by botg » 2006-11-08 23:06
libtasn1, opencdk and lzo won't be needed (gnutls itself has builtin versions of it). Nasm isn't needed either, it's sufficient to add --disable-asm flag to libgcrypt's configure.
I'll soon update the instructions with the GnuTLS compilation steps.
Needs to recompile wxWidgets 2.7.2 after all these installations?
GnuTls and wxWidgets do not depend on each other. So if you got a working wx version, you won't have to recompile it.
-
max-holz
- 504 Command not implemented
- Posts: 8
- Joined: 2006-10-30 08:29
#47
Post
by max-holz » 2006-11-09 07:43
Thanks
It's sufficient this procedure:
Code: Select all
./configure --prefix=
make
make install
or must I add other flag?
-
botg
- Site Admin
- Posts: 35610
- Joined: 2004-02-23 20:49
- First name: Tim
- Last name: Kosse
#48
Post
by botg » 2006-11-09 08:45
I'm afraid it's more complex than that. And libgcrypt needs to be patched unless you like to wait 50 seconds each time you connect to a server.
Last edited by
botg on 2006-11-09 14:34, edited 1 time in total.
-
max-holz
- 504 Command not implemented
- Posts: 8
- Joined: 2006-10-30 08:29
#49
Post
by max-holz » 2006-11-09 08:50
botg wrote:I'm afraid it's more complex than that. And libgcrypt needs to be patches unless you like to wait 50 seconds each time you connect to a server.
Ok I will wait for the instructions.
-
botg
- Site Admin
- Posts: 35610
- Joined: 2004-02-23 20:49
- First name: Tim
- Last name: Kosse
#50
Post
by botg » 2006-11-10 14:19
Instructions have been updated. In addition to adding instructions how to compile GnuTLS + deps, I've bumped the versions of some other packages. Best would be to start over to install everything from scratch.
-
JohnChuck
- 504 Command not implemented
- Posts: 11
- Joined: 2007-04-03 02:00
#51
Post
by JohnChuck » 2007-05-14 17:09
Hi I have been trying to create the environment but I haven't been able to
get past the gettext installation when I try make I get this:
Code: Select all
$ make
Making all in gnulib-local
make[1]: Entering directory `/usr/src/gettext-0.16/gnulib-local'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/gettext-0.16/gnulib-local'
Making all in gettext-runtime
make[1]: Entering directory `/usr/src/gettext-0.16/gettext-runtime'
make all-recursive
make[2]: Entering directory `/usr/src/gettext-0.16/gettext-runtime'
Making all in doc
make[3]: Entering directory `/usr/src/gettext-0.16/gettext-runtime/doc'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/src/gettext-0.16/gettext-runtime/doc'
Making all in intl
make[3]: Entering directory `/usr/src/gettext-0.16/gettext-runtime/intl'
/bin/sh ../libtool --mode=compile gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DB UILDING_LIBINTL -DBUILDING_DLL -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/local/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set _relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CO NFIG_H -I. -I. -I.. -L/local/include -I/usr/local/include -g -O2 ./localename. c
gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local /share/locale\" -DLIBDIR=\"/usr/local/lib\" -DBUILDING_LIBINTL -DBUILDING_DLL -D IN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/local/lib\" - DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=lib intl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -I. -I. -I.. -L/local/incl ude -I/usr/local/include -g -O2 ./localename.c -o localename.o
./localename.c: In function `_nl_locale_name_default':
./localename.c:1145: error: duplicate case value
./localename.c:1144: error: previously used here
./localename.c:1359: error: duplicate case value
./localename.c:1358: error: previously used here
./localename.c:1367: error: duplicate case value
./localename.c:1366: error: previously used here
make[3]: *** [localename.lo] Error 1
make[3]: Leaving directory `/usr/src/gettext-0.16/gettext-runtime/intl'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/gettext-0.16/gettext-runtime'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/gettext-0.16/gettext-runtime'
make: *** [all-recursive] Error 1
I've followed the process completely the only difference it's that I used the current version (instead of candidate 5.0.3) MinGW 5.1.3 because I was getting some installation errors it couldn't download a package.
-
botg
- Site Admin
- Posts: 35610
- Joined: 2004-02-23 20:49
- First name: Tim
- Last name: Kosse
#52
Post
by botg » 2007-05-14 17:42
Hmm, reminds me of a discussion I had on IRC a while ago. As far as I remember, it's fixed in the gettext CVS repository.
Please get most recent gettext version first. If it still failes, get proper localename.c from gettext CVS repository.
-
JohnChuck
- 504 Command not implemented
- Posts: 11
- Joined: 2007-04-03 02:00
#53
Post
by JohnChuck » 2007-05-14 20:01
Hi I went to the ftp mentioned at the beginning of the thread (
ftp://ftp.gnu.org/gnu/gettext/) and the last version I found was 0.16.1 so I tried that one, however right at the end I got these errors:
Code: Select all
checking for strcspn... ./configure: /bin/sed: Permission denied
./configure: /bin/rm: Permission denied
no
./configure: fork: Permission denied
./configure: fork: Permission denied
checking for strdup... ./configure: ${+set}: bad substitution
(cached) ./configure: ${}: bad substitution
./configure: ${}: bad substitution
./configure: test: =: unary operator expected
./configure: fork: Permission denied
./configure: fork: Permission denied
checking for strerror... ./configure: ${+set}: bad substitution
(cached) ./configure: ${}: bad substitution
./configure: fork: Permission denied
./configure: fork: Permission denied
./configure: fork: Permission denied
./configure: fork: Permission denied
configure: error: ./configure failed for gettext-tools
./configure: /bin/cat: Permission denied
./configure: fork: Permission denied
./configure: /bin/cat: Permission denied
./configure: fork: Permission denied
./configure: fork: Permission denied
I tried the cvs
http://gettext.cvs.sourceforge.net/gettext/
but the latest version there was gettext-0.11.5-w32 a lot older.
-
botg
- Site Admin
- Posts: 35610
- Joined: 2004-02-23 20:49
- First name: Tim
- Last name: Kosse
#54
Post
by botg » 2007-05-14 21:33
Looks like you borked up your build environment somehow.
-
JohnChuck
- 504 Command not implemented
- Posts: 11
- Joined: 2007-04-03 02:00
#55
Post
by JohnChuck » 2007-05-15 01:34
Well maybe there's some incompatible versions.
I did install the MinGW 5.1.3 Current version, because the recommended version MinGW 5.0.3 Candidate gave me a downloading error.
Should we still keep to these older versions?
-
botg
- Site Admin
- Posts: 35610
- Joined: 2004-02-23 20:49
- First name: Tim
- Last name: Kosse
#56
Post
by botg » 2007-05-15 10:22
Current versions should be used. I'll update the guide next time I'll reinstall Windows.
-
JohnChuck
- 504 Command not implemented
- Posts: 11
- Joined: 2007-04-03 02:00
#57
Post
by JohnChuck » 2007-05-15 17:23
Ok, I'll keep a look out for it.
Thanks for your hard work.
-
botg
- Site Admin
- Posts: 35610
- Joined: 2004-02-23 20:49
- First name: Tim
- Last name: Kosse
#58
Post
by botg » 2007-05-17 14:11
I've updated the guide a little bit.
-
eyebex
- 226 Transfer OK
- Posts: 171
- Joined: 2004-04-02 15:24
#60
Post
by eyebex » 2007-05-18 12:03
A different question in between: How about considering to use a more modern / sophisticated (meta-)build system than autotools for FZ? I'm thinking of CMAKE or scons in particular. That way, a broader set of project files than just GNU makefiles could easily be generated, simplifying the use of other compilers / IDEs, like e.g. the free Visual Studio Express edition under Windows.
EDIT: I just came across
http://www.bakefile.org/, which also seems to be quite nice. Plenty of wx* related projects seem to use it, too.