| View previous topic :: View next topic |
| Author |
Message |
Amorphous skilled
Joined: 04 Sep 2004 Posts: 316
|
Posted: Fri Mar 04, 2005 5:03 pm Post subject: |
|
|
| @spiralvoice afaik ./Makefile is not updated by ./configure nor by autoconf (only ./config/Makefile.config); if you know how to update it from ./config/Makefile.in , please report it. |
|
| Back to top |
|
 |
PEACEYALL neophyte
Joined: 25 Feb 2005 Posts: 1 Location: USA
|
Posted: Fri Mar 04, 2005 6:52 pm Post subject: |
|
|
Well, im getting an error when doing ./configure. I get
"Building dependencies (if it blocks, try 'make depend' or 'gmake depend' to see the problem)
Building dependencies fails: try: 'make depend' or 'gmake depend'
"
And then when i type make depend , i get
"Bad -I option: src/gtk/im/yahoo: No such file or directory
Bad -I option: src/gtk/im/irc: No such file or directory
make: *** [depend] Error 2
"
What is wrong? |
|
| Back to top |
|
 |
mrfree neophyte

Joined: 22 Nov 2003 Posts: 47 Location: ITALY
|
Posted: Fri Mar 04, 2005 10:39 pm Post subject: |
|
|
With 2.5.30 sending a .torrent file to mldonkey using sancho doens't work anymore  |
|
| Back to top |
|
 |
Amorphous skilled
Joined: 04 Sep 2004 Posts: 316
|
Posted: Sat Mar 05, 2005 12:07 am Post subject: |
|
|
| @mrfree i fixed that, at least partially in my branch... |
|
| Back to top |
|
 |
nado user
Joined: 07 Jan 2003 Posts: 67
|
Posted: Sat Mar 05, 2005 6:39 pm Post subject: |
|
|
| I just noticed that mail dates are looking good in this version. As far as I am concerned bug #9996 can be closed for 2.5-30. |
|
| Back to top |
|
 |
spiralvoice Sage
Joined: 06 Jan 2003 Posts: 3982 Location: Germany
|
Posted: Sun Mar 06, 2005 10:47 pm Post subject: |
|
|
| Amorphous wrote: | | @spiralvoice afaik ./Makefile is not updated by ./configure nor by autoconf |
So, I played around with it a bit now. Result is this patch:
http://savannah.nongnu.org/patch/index.php?func=detailitem&item_id=3795
I can now build the new GTK2 GUI, GTK1 newgui and GTK1 oldgui on both Debian and Gentoo.
To build GTK1 newgui: ./configure
To build GTK1 oldgui: ./configure --disable-newgui
To build GTK2 GUI: ./configure --enable-gtk2 _________________ Link overview and precompiled cores here: http://mldonkey.sourceforge.net/DownloadLinks |
|
| Back to top |
|
 |
cca neophyte

Joined: 24 Feb 2005 Posts: 14 Location: Greece
|
Posted: Mon Mar 07, 2005 11:42 am Post subject: |
|
|
I was away for a few days, so now that I am back I tried your patch spiralvoice. The previous errors are gone, but now I have a new one:
| Code: | /usr/bin/ocamlc.opt -I src/utils/cdk -I src/daemon/chat -I src/gtk2/chat -I src/utils/lib -I src/utils/ocamlrss -I src/utils/xml-light -I src/utils/net -I tools -I src/daemon/common -I src/daemon/driver -I src/utils/mp3tagui -I src/config/unix -I src/gtk2/gui -I src/gtk2/gui/win32 -I src/gtk2/rsvg -I +lablgtk2 -I src/im -I src/im/yahoo -I src/im/irc -I src/gtk2/im -I src/networks/gnutella -I src/networks/gnutella2 -I src/networks/fasttrack -I src/networks/fileTP -I src/networks/bittorrent -I src/networks/donkey -c src/gtk2/gui/guiArt.mli
ocamlopt.opt -inline 10 -I src/utils/cdk -I src/daemon/chat -I src/gtk2/chat -I src/utils/lib -I src/utils/ocamlrss -I src/utils/xml-light -I src/utils/net -I tools -I src/daemon/common -I src/daemon/driver -I src/utils/mp3tagui -I src/config/unix -I src/gtk2/gui -I src/gtk2/gui/win32 -I src/gtk2/rsvg -I +lablgtk2 -I src/im -I src/im/yahoo -I src/im/irc -I src/gtk2/im -I src/networks/gnutella -I src/networks/gnutella2 -I src/networks/fasttrack -I src/networks/fileTP -I src/networks/bittorrent -I src/networks/donkey -c src/gtk2/chat/chat_art.ml
File "src/gtk2/chat/chat_art.ml", line 27, characters 20-39:
Unbound value Menu_settings_svg.t
make: *** [src/gtk2/chat/chat_art.cmx] Error 2 |
What could be wrong?
./configure was run like this: | Code: | | ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib --sysconfdir=/etc/mldonkey --sharedstatedir=/var/mldonkey --localstatedir=/var/mldonkey --enable-checks --enable-pthread --enable-gtk2 |
|
|
| Back to top |
|
 |
devein user
Joined: 28 Nov 2002 Posts: 234 Location: Poland
|
Posted: Mon Mar 07, 2005 11:47 am Post subject: |
|
|
cca:
of course you have tried with minimal set of command-line switches?
try only with "--disable-gui --disable-multinet" ...
(fair chance, but, try it out if you didnt do this ) |
|
| Back to top |
|
 |
cca neophyte

Joined: 24 Feb 2005 Posts: 14 Location: Greece
|
Posted: Mon Mar 07, 2005 12:34 pm Post subject: |
|
|
| OK, problem solved, it was a Gentoo peculiarity when using e-builds. I'll tell you tomorrow if the GUI actually runs, since the PC is in my workplace and I'm over for today. |
|
| Back to top |
|
 |
berkz neophyte
Joined: 27 Jan 2005 Posts: 9 Location: Iceland
|
Posted: Wed Mar 09, 2005 12:48 pm Post subject: |
|
|
| Amorphous wrote: | | @mrfree i fixed that, at least partially in my branch... |
Can you rip up a patch for that for the 2.5.30 version? |
|
| Back to top |
|
 |
Amorphous skilled
Joined: 04 Sep 2004 Posts: 316
|
Posted: Wed Mar 09, 2005 2:36 pm Post subject: |
|
|
| @berkz: you could just use .30aa but here is the unified diff |
|
| Back to top |
|
 |
ditfau6 user

Joined: 10 Mar 2003 Posts: 56 Location: France
|
Posted: Fri Mar 11, 2005 9:21 am Post subject: |
|
|
Hi,
I would like to use gtk2 gui on mldonkey 2.5.30 but when I try to compile this one , I have this Error in 'make'.
I had the patch #3795 and lablgtk2-2.4.0 with librsvg-2.6.5 on Mac_os_X 10.3 Darwin 7.8.
| Code: |
---------------------------------------------------------
Checking the libraries required to build the GTK GUI.
---------------------------------------------------------
checking for Zlib... yes
checking for GTK+ - version >= 2.4.0... yes
checking for librsvg - version >= 2.4.0... yes
checking for native code lablgtk2... yes
checking for ../src/im... yes
checking Checking for CryptoKit... no
checking for pthread_join in LIBS=yes with CFLAGS=... no
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... -D_THREAD_SAFE
checking for cc_r... gcc
checking compile GTK GUI... yes
compiling gtk2 gui |
| Code: | ocamlopt.opt -inline 10 -I src/utils/cdk -I src/daemon/chat -I src/gtk2/chat -I src/utils/lib -I src/utils/ocamlrss -I src/utils/xml-light -I src/utils/net -I tools -I src/daemon/common -I src/daemon/driver -I src/utils/mp3tagui -I src/config/unix -I src/gtk2/gui -I src/gtk2/gui/win32 -I src/gtk2/rsvg -I +lablgtk2 -I src/im -I src/im/yahoo -I src/im/irc -I src/gtk2/im -I src/networks/gnutella -I src/networks/gnutella2 -I src/networks/fasttrack -I src/networks/fileTP -I src/networks/bittorrent -I src/networks/donkey -I src/networks/soulseek -c src/daemon/driver/driverInterface.ml
ocamlopt.opt -inline 10 -I src/utils/cdk -I src/daemon/chat -I src/gtk2/chat -I src/utils/lib -I src/utils/ocamlrss -I src/utils/xml-light -I src/utils/net -I tools -I src/daemon/common -I src/daemon/driver -I src/utils/mp3tagui -I src/config/unix -I src/gtk2/gui -I src/gtk2/gui/win32 -I src/gtk2/rsvg -I +lablgtk2 -I src/im -I src/im/yahoo -I src/im/irc -I src/gtk2/im -I src/networks/gnutella -I src/networks/gnutella2 -I src/networks/fasttrack -I src/networks/fileTP -I src/networks/bittorrent -I src/networks/donkey -I src/networks/soulseek -c src/daemon/driver/driverMain.ml
ocamlopt.opt -inline 10 -a -o build/driver.cmxa -cclib -lz -ccopt "-D_THREAD_SAFE " src/daemon/driver/driverInteractive.cmx src/daemon/driver/driverCommands.cmx src/daemon/driver/driverLink.cmx src/daemon/driver/driverControlers.cmx src/daemon/driver/driverInterface.cmx src/daemon/driver/driverMain.cmx
ocamlopt.opt -inline 10 -linkall -o mlnet unix.cmxa str.cmxa -cclib -lz -ccopt "-D_THREAD_SAFE " -I build build/cdk.cmxa build/common.cmxa build/client.cmxa build/core.cmxa build/driver.cmxa src/daemon/common/commonMain.cmx
ocamlopt.opt -inline 10 -a -o build/gmisc.cmxa -cclib -lz -ccopt "-D_THREAD_SAFE "
ar: no archive members specified
usage: ar -d [-TLsv] archive file ...
ar -m [-TLsv] archive file ...
ar -m [-abiTLsv] position archive file ...
ar -p [-TLsv] archive [file ...]
ar -q [-cTLsv] archive file ...
ar -r [-cuTLsv] archive file ...
ar -r [-abciuTLsv] position archive file ...
ar -t [-TLsv] archive [file ...]
ar -x [-ouTLsv] archive [file ...]
Error while creating the library build/gmisc.a
make: *** [build/gmisc.cmxa] Error 2 |
one idea
thanks in advance |
|
| Back to top |
|
 |
spiralvoice Sage
Joined: 06 Jan 2003 Posts: 3982 Location: Germany
|
Posted: Wed Apr 20, 2005 3:02 am Post subject: |
|
|
| Camarade_Tux wrote: | And when I enable FT, I get the following: (already with older versions)
| Quote: | The Fasttrack plugin will not work on your computer, since
the encryption algorithm does not work correctly.
You can try to solve this problem by hacking the C files in
mldonkey/src/networks/fasttrack/*.c
Fasttrack: UDP socket bound on port 24203
connect_servers 0 8
connect_servers 24 8
.... |
|
Try the patch in this bugreport, with this it is working here:
http://savannah.nongnu.org/bugs/?func=detailitem&item_id=12490 _________________ Link overview and precompiled cores here: http://mldonkey.sourceforge.net/DownloadLinks |
|
| Back to top |
|
 |
Camarade_Tux skilled
Joined: 14 Nov 2003 Posts: 340 Location: Paris
|
Posted: Wed Apr 20, 2005 8:23 pm Post subject: |
|
|
Thanks, but I think I will have to wait for Schlumpf since I am a windows user.
(PS, I tried linux cores with cygwin and they don't even launch) |
|
| Back to top |
|
 |
su_blanc_ user

Joined: 16 Oct 2003 Posts: 51 Location: Fr
|
Posted: Thu Apr 21, 2005 2:32 am Post subject: |
|
|
Hi,
| ditfau6 wrote: |
| Code: |
ocamlopt.opt -inline 10 -a -o build/gmisc.cmxa -cclib -lz -ccopt "-D_THREAD_SAFE "
ar: no archive members specified
usage: ar -d [-TLsv] archive file ...
ar -m [-TLsv] archive file ...
ar -m [-abiTLsv] position archive file ...
ar -p [-TLsv] archive [file ...]
ar -q [-cTLsv] archive file ...
ar -r [-cuTLsv] archive file ...
ar -r [-abciuTLsv] position archive file ...
ar -t [-TLsv] archive [file ...]
ar -x [-ouTLsv] archive [file ...]
Error while creating the library build/gmisc.a
make: *** [build/gmisc.cmxa] Error 2 |
one idea
thanks in advance |
It looks like your ar doesn't like empty archive file.
gmisc.cmxa being empty for the gtk2 gui (no source file to compile).
I have never encountered this issue on either Linux nor win32.
you can try this patch :
http://savannah.nongnu.org/patch/index.php?func=detailitem&item_id=3926 |
|
| Back to top |
|
 |
|