aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: [1] 2

Author Topic: aMule 2.0.0rc6 + FreeBSD 5.3Beta4  (Read 10378 times)

Stevil

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 110
aMule 2.0.0rc6 + FreeBSD 5.3Beta4
« on: October 04, 2004, 10:15:33 AM »

configure klappt immernoch nicht.. :(

192# ./configure
checking build system type... i386-unknown-freebsd5.3
checking host system type... i386-unknown-freebsd5.3
checking target system type... i386-unknown-freebsd5.3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
./configure.lineno: 1902: Syntax error: Bad substitution


jemand ne idee? danke!!
Logged
5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov 5 04:19:18 UTC 2004

errare humanum est ;)

pil0t

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 40
RE: aMule 2.0.0rc6 + FreeBSD 5.3Beta4
« Reply #1 on: October 04, 2004, 05:20:24 PM »

Ich habe einfach aus dem 'configure' script die CFLAGS/CXXFLAGS nach
Zeile 1902 rausgenommen. Damit tut dann 'configure' bei mir (FBSD 5.2.1).
Ausserdem wollte der Linker mit '-lpthread' linken, welche auf FBSD nicht
vorhanden ist. Das habe ich im Makefile aus den LDFLAGS rausgeworfen.
Jetzt rennt der rc6 seit 8h ohne Probleme.
Logged

Citroklar

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 148
Re: aMule 2.0.0rc6 + FreeBSD 5.3Beta4
« Reply #2 on: October 04, 2004, 06:01:53 PM »

pil0t: wenn du das in der configure.in patchen würdest und uns die gepatchte configure.in zukommen lassen würdest, dann könnten wir ein .tar.gz vom rc6 für alle FreeBSD-Benutzer herausgeben, so wie bei den anderen releases auch. (heißen glaub ich "amule-ports.tar.gz")

Wär super von dir!

Gruß, Citroklar
Logged
#!/bin/ssh
#The Unix Guru's View of Sex
unzip ; strip ; touch ; grep ; finger ; mount ; fsck ; more ; yes ; umount ; sleep

pil0t

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 40
Re: aMule 2.0.0rc6 + FreeBSD 5.3Beta4
« Reply #3 on: October 04, 2004, 07:13:40 PM »

Die interessante Frage ist, ob man durch einfaches entfernen nicht
irgendwas zerbricht?!

Anyway, hier der unified diff:

--- configure.org       Sun Oct  3 22:04:26 2004
+++ configure.in        Mon Oct  4 19:10:21 2004
@@ -8,8 +8,8 @@
 AM_MAINTAINER_MODE
 
 # No -O2 by default, removing -fomit since it causes problems
-CFLAGS=" ${CFLAGS/-fomit-frame-pointer/}"
-CXXFLAGS=" ${CXXFLAGS/-fomit-frame-pointer/}"
+#CFLAGS=" ${CFLAGS/-fomit-frame-pointer/}"
+#CXXFLAGS=" ${CXXFLAGS/-fomit-frame-pointer/}"
 
 # System detection, need AC_CANONICAL_TARGET
 case "${target_os}" in
@@ -438,7 +438,7 @@
 CFLAGS="$CFLAGS $DEBUG_FLAGS $OPTIMISE_FLAGS $PROFILE_FLAGS"
 
 dnl -lpthread is needed by Debian
-LDFLAGS="$LDFLAGS $PROFILE_FLAGS -lpthread"
+LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
 AM_CONDITIONAL(USE_EMBEDDED_CRYPTO, test x$USE_EMBEDDED_CRYPTO = xyes)
 AM_CONDITIONAL(WEB, test x$WEB = xyes)
 AM_CONDITIONAL(ED2K, test x$ED2K = xyes)
Logged

Stevil

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 110
Re: aMule 2.0.0rc6 + FreeBSD 5.3Beta4
« Reply #4 on: October 04, 2004, 10:09:40 PM »

bitte info geben, wenn das gepatche rc6 raus ist...danke! :)
Logged
5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov 5 04:19:18 UTC 2004

errare humanum est ;)

Citroklar

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 148
Re: aMule 2.0.0rc6 + FreeBSD 5.3Beta4
« Reply #5 on: October 05, 2004, 10:35:27 PM »

Hi Stevil,
es sind uns noch ein paar andere Fehler unterlaufen, es wird also am Wochenende noch ein weiteres Release geben (wahrscheinlich).
Bis dahin würde ich sagen, patch deine configure.in selber, und ich werd schauen dass beim nächsten release ein bsd-release dabei ist. ok?

Citroklar
Logged
#!/bin/ssh
#The Unix Guru's View of Sex
unzip ; strip ; touch ; grep ; finger ; mount ; fsck ; more ; yes ; umount ; sleep

Stevil

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 110
Re: aMule 2.0.0rc6 + FreeBSD 5.3Beta4
« Reply #6 on: October 05, 2004, 10:43:24 PM »

sorry, mangels wissen um das einpatchen wird das nix ;) leider...
Logged
5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov 5 04:19:18 UTC 2004

errare humanum est ;)

Citroklar

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 148
Re: aMule 2.0.0rc6 + FreeBSD 5.3Beta4
« Reply #7 on: October 06, 2004, 01:03:16 AM »

Stevil, ganz einfache Sache, bei so nem kurzen diff kannst du das von Hand machen:

Quote
Originally posted by pil0t
--- configure.org       Sun Oct  3 22:04:26 2004
+++ configure.in        Mon Oct  4 19:10:21 2004
@@ -8,8 +8,8 @@

ein "-" bedeutet, das ist alt und fliegt raus, dafür wird das was nach dem "+" kommt dazugemacht.
Die beiden @@ sagen: es geht in alter wie in neuer Datei um die Zeile 8.

also:
Quote
AM_MAINTAINER_MODE
 
 # No -O2 by default, removing -fomit since it causes problems
-CFLAGS=" ${CFLAGS/-fomit-frame-pointer/}"
-CXXFLAGS=" ${CXXFLAGS/-fomit-frame-pointer/}"
+#CFLAGS=" ${CFLAGS/-fomit-frame-pointer/}"
+#CXXFLAGS=" ${CXXFLAGS/-fomit-frame-pointer/}"
 

die beiden Zeilen fliegen raus:
CFLAGS=" ${CFLAGS/-fomit-frame-pointer/}"
CXXFLAGS=" ${CXXFLAGS/-fomit-frame-pointer/}"

und werden ersetzt durch diese Zeilen:
#CFLAGS=" ${CFLAGS/-fomit-frame-pointer/}"
#CXXFLAGS=" ${CXXFLAGS/-fomit-frame-pointer/}"

Quote
# System detection, need AC_CANONICAL_TARGET
 case "${target_os}" in
@@ -438,7 +438,7 @@
 CFLAGS="$CFLAGS $DEBUG_FLAGS $OPTIMISE_FLAGS $PROFILE_FLAGS"
 
 dnl -lpthread is needed by Debian
-LDFLAGS="$LDFLAGS $PROFILE_FLAGS -lpthread"
+LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
 AM_CONDITIONAL(USE_EMBEDDED_CRYPTO, test x$USE_EMBEDDED_CRYPTO = xyes)
 AM_CONDITIONAL(WEB, test x$WEB = xyes)
 AM_CONDITIONAL(ED2K, test x$ED2K = xyes)

und hier genauso: diese Zeile fliegt raus:
LDFLAGS="$LDFLAGS $PROFILE_FLAGS -lpthread"

und dafür die rein:
LDFLAGS="$LDFLAGS $PROFILE_FLAGS"

easy. oder?
Logged
#!/bin/ssh
#The Unix Guru's View of Sex
unzip ; strip ; touch ; grep ; finger ; mount ; fsck ; more ; yes ; umount ; sleep

Stevil

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 110
Re: aMule 2.0.0rc6 + FreeBSD 5.3Beta4
« Reply #8 on: October 06, 2004, 01:08:01 AM »

thx cheffe, werd ich morgen früh direkt mal ausprobieren, danke fürs howto! :)
Logged
5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov 5 04:19:18 UTC 2004

errare humanum est ;)

Stevil

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 110
Re: aMule 2.0.0rc6 + FreeBSD 5.3Beta4
« Reply #9 on: October 06, 2004, 10:29:33 AM »

oh...ein böses fehlerchen :/

Code: [Select]

Making all in src
"Makefile", line 322: Unassociated shell command "BarShader.cpp  CatDialog.cpp  CFile.cpp  ChatSelector.cpp  ChatWnd.cpp  ClientCredits.cpp  ClientDetailDialog.cpp  ColorFrameCtrl.cpp  CommentDialog.cpp  CommentDialogLst.cpp  DirectoryTreeCtrl.cpp  DownloadListCtrl.cpp  filemem.cpp  FileDetailDialog.cpp  FileDetailListCtrl.cpp  FriendListCtrl.cpp  listctrl.cpp  muuli_wdr.cpp  MuleListCtrl.cpp  MuleTextCtrl.cpp  MuleNotebook.cpp  MuleGifCtrl.cpp  otherfunctions.cpp  OScopeCtrl.cpp  packets.cpp  Preferences.cpp  PrefsUnifiedDlg.cpp  QueueListCtrl.cpp  SearchDlg.cpp  SearchList.cpp  SearchListCtrl.cpp  SharedFilesCtrl.cpp  SharedFilesWnd.cpp  ServerListCtrl.cpp  StatisticsDlg.cpp  TransferWnd.cpp  UploadListCtrl.cpp  amuleDlg.cpp  $(am__append_11) $(am__append_13)"
make: fatal errors encountered -- cannot continue
*** Error code 1
Logged
5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov 5 04:19:18 UTC 2004

errare humanum est ;)

Citroklar

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 148
Re: aMule 2.0.0rc6 + FreeBSD 5.3Beta4
« Reply #10 on: October 06, 2004, 10:52:44 AM »

hmmm, das ist komisch.
hast du ./autogen.sh gemacht bevor du ./configure gemacht hast?
Logged
#!/bin/ssh
#The Unix Guru's View of Sex
unzip ; strip ; touch ; grep ; finger ; mount ; fsck ; more ; yes ; umount ; sleep

mfs

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
Re: aMule 2.0.0rc6 + FreeBSD 5.3Beta4
« Reply #11 on: October 07, 2004, 02:49:11 AM »

im running freebsd here too.
i didnt have the time to make a freebsd port for amule rc6 but you can compile amule
just by editing configure line where you see "-lpthread" to "-pthread" and then run configure; gmake ; gmake install.
also, if you want amulecmd you have to include /usr/X11R6/include.

PS: dont forget to install first x11-toolkits/wxgtk2 :)
PS: use GMAKE not MAKE :)
« Last Edit: October 07, 2004, 02:49:45 AM by mfs »
Logged

Stevil

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 110
Re: aMule 2.0.0rc6 + FreeBSD 5.3Beta4
« Reply #12 on: October 07, 2004, 02:21:42 PM »

thx, i'll try ;)
Logged
5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov 5 04:19:18 UTC 2004

errare humanum est ;)

Stevil

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 110
Re: aMule 2.0.0rc6 + FreeBSD 5.3Beta4
« Reply #13 on: October 07, 2004, 03:55:56 PM »

leider keine änderung
sorry, no changes

:(
Logged
5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov 5 04:19:18 UTC 2004

errare humanum est ;)

pil0t

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 40
Re: aMule 2.0.0rc6 + FreeBSD 5.3Beta4
« Reply #14 on: October 07, 2004, 07:07:50 PM »

Wenn Dir eine Version --without-systray reicht kannst Du hier eine
auf FBSD 5.2.1 kompilierte Version laden:

http://ftp://213.146.121.156/pub/amule_2.0.0rc6_fbsd_i386.tbz

Jetzt macht mir aber bitte nicht den FTP Server platt...

PS: Die IP ist nur so ca. 8h gültig - DSL halt.
« Last Edit: October 07, 2004, 07:11:59 PM by pil0t »
Logged
Pages: [1] 2