mldonkey-bugs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mldonkey-bugs] [bugs #5920] build workaround for OpenBSD


From: spiralvoice
Subject: [Mldonkey-bugs] [bugs #5920] build workaround for OpenBSD
Date: Sat, 21 Aug 2004 07:40:32 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040819 Firefox/0.9.3

This mail is an automated notification from the bugs tracker
 of the project: mldonkey, a multi-networks file-sharing client.

/**************************************************************************/
[bugs #5920] Latest Modifications:

Changes by: 
                spiralvoice <address@hidden>
'Date: 
                Sat 08/21/2004 at 11:35 (Europe/Berlin)

------------------ Additional Follow-up Comments ----------------------------
Please check if this bug still is in current CVS version.
You should find a tarball of current CVS in files section of
this project: http://savannah.nongnu.org/download/mldonkey/






/**************************************************************************/
[bugs #5920] Full Item Snapshot:

URL: <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=5920>
Project: mldonkey, a multi-networks file-sharing client
Submitted by: kami petersen
On: Mon 10/13/2003 at 16:15

Category:  GUI
Severity:  5 - Average
Item Group:  Compilation problem
Resolution:  None
Assigned to:  None
Status:  Open
Release:  None
Release:  all
Platform Version:  OpenBSD
Binaries Origin:  CVS / Self compiled
CPU type:  None


Summary:  build workaround for OpenBSD

Original Submission:  can't compile on OpenBSD until i've done something like 
this:

diff -u -w -r1.45 Makefile.in
--- Makefile.in 12 Oct 2003 18:29:35 -0000      1.45
+++ Makefile.in 13 Oct 2003 16:10:03 -0000
@@ -767,7 +767,7 @@
        $(OCAMLC) -linkall -o address@hidden  $($1_OBJS) $(LIBS_byte) 
$(LIBS_flags)  $($3_LIBS_byte) $($3_LIBS_flags) -I build $($1_CMAS) $($1_CMOS)

 $2.static:  $($1_OBJS) $($1_CMXS)  $($1_CMXAS)
-       $(OCAMLOPT) -linkall $(PLUGIN_FLAG) -ccopt -static -o address@hidden 
$($1_OBJS) $(LIBS_opt) $(LIBS_flags)  $($3_LIBS_flags)  $($3_STATIC_LIBS_opt) 
-I build $($1_CMXAS) $($1_CMXS)
+       $(OCAMLOPT) -linkall $(PLUGIN_FLAG) -ccopt -static -cclib 
-L/usr/local/lib -cclib -liconv -o address@hidden $($1_OBJS) $(LIBS_opt) 
$(LIBS_flags)  $($3_LIBS_flags)  $($3_STATIC_LIBS_opt) -I build $($1_CMXAS) 
$($1_CMXS)
 ]])

probably this should be done in another way, but i'm not familiar with the 
build system. i've known about this for quite some time, but i've been hoping 
to find a better solution to patch with...


Follow-up Comments
------------------


-------------------------------------------------------
Date: Sat 08/21/2004 at 11:35       By: spiralvoice
Please check if this bug still is in current CVS version.
You should find a tarball of current CVS in files section of
this project: http://savannah.nongnu.org/download/mldonkey/

-------------------------------------------------------
Date: Wed 02/25/2004 at 00:51       By: spiralvoice
Please check if this bug still is in current CVS version.
You should a tarball of current CVS in files section of
this project: http://savannah.nongnu.org/download/mldonkey/

-------------------------------------------------------
Date: Wed 02/11/2004 at 09:45       By: kokamomi
i don't regard it as a patch, just a mere illustration how i was able through 
detective work (i'm not a hacker) to get the end results that i needed. the 
changes i've made should probably be done elsewhere, in a more general fashion. 
a developer needs to look at this. it _is_ a bug report, not a fix. also, as 
long as this entry exist, other openbsd people might find it when their static 
builds fail.

-------------------------------------------------------
Date: Wed 02/11/2004 at 01:25       By: spiralvoice
Ok, it´s a bit nasty to copy your patch from this bugreport.
Could you please post it in the patch section with a note to this bug report if 
it´s working for you?

-------------------------------------------------------
Date: Wed 02/11/2004 at 00:09       By: kokamomi
actually it's just static builds that needs this. i just tested on todays 
checkout as well:

here's the error leading up to it:
bash# gmake clean && ./configure --enable-pthread --enable-checks && gmake 
depend && gmake static
...snip...
ocamlopt.opt -inline 10 -linkall  -ccopt -static -o mlgui.static      unix.cmxa 
str.cmxa -cclib -lz -ccopt "-pthread"    -I +lablgtk lablgtk.cmxa -I build    
build/cdk.cmxa    build/gmisc.cmxa    build/common.cmxa    build/icons.cmxa    
build/guibase.cmxa    build/gui.cmxa    src/daemon/common/commonMain.cmx
dcigettext.o: Undefined symbol `_libiconv' referenced from text segment
loadmsgcat.o: Undefined symbol `_libiconv_open' referenced from text segment
loadmsgcat.o: Undefined symbol `_libiconv_close' referenced from text segment
collect2: ld returned 1 exit status
Error during linking
gmake: *** [mlgui.static] Error 2


-------------------------------------------------------
Date: Tue 02/10/2004 at 20:31       By: spiralvoice
Please check if this bug is still in current CVS version.












For detailed info, follow this link:
<http://savannah.nongnu.org/bugs/?func=detailitem&item_id=5920>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/







reply via email to

[Prev in Thread] Current Thread [Next in Thread]