pyslsk - error

Ihlow

Active Member
ich habe soeben versucht soulseek (pyslsk) zu installieren, allerdings kommt dieser fehler hier:

error: command 'cc' failed with exit status 1
*** Error code 1

Stop in /usr/ports/x11-toolkits/py-wxPython.
*** Error code 1

_______________
habe schon versucht py-wxPython neu zu installieren, allerdings kommt dann auch:

error: command 'cc' failed with exit status 1
*** Error code 1


kann mir jemand sagen warum dies und überhaupt?
 
Welche FreeBSD Version? Unter -CURRENT sind im Moment ein Haufen von Ports broken, weil die Compiler Option "-pthread" entfernt wurde...
 
Ja, überall wo der Port die Option "-pthread" benutzt, dort die Option "-lc_r" eintragen, typischerweise in Makefile, configures usw.

Z.B. so (ist aus dem Kopf, musst Du evtl. korrigieren:):

Code:
# cd /usr/ports/blubber/bla
# make clean
# make patch
# find work -type f | xargs grep -- "-pthread" | awk -F: '{print $1} | sort -u | perl -pi -e 's/-pthread/-lc_r/g'
# make && make install

Viel Glück :)
 
Zuletzt bearbeitet:
Btw, ist statt pyslsk nun eine Weitererentwicklung als "nicotine"
in den ports vorhanden. Das gleiche nur neuer.
 
nach dem Befehl:

find work -type f | xargs grep -- "-pthread" | awk -F: '{print $1} | sort -u | perl -pi -e 's/-pthread/-lc_r/g'

kommt ein Unmatched.

in der Makefile ist auch kein befehl namens -pthread.

nun ja, muss ich bei dem oben angegebenen befehl noch was verändrn?
 
ok, ich habe das ausprobiert, hat an sich auch alles gefunzt, nur bei make&&make install kommt dann doch wieder der alte fehler < error: command 'cc' failed with exit status 1
*** Error code 1 >

aaaaahhhh....why this?

hab mal versucht nicotine zu installieren, allerdings is das nicht in meiner portssammlung vorhanden und mit pkg_add -r nicotine hab ich auch keinen erfolg, obwohl ich selbiges mit meiner vorherigen BSD Installation gemacht und problemlos geschafft habe. -> Hä?
 
Was steht denn in den Zeilen vor error: command 'cc' failed?

Mach doch mal folgendes:
Code:
script /tmp/blubber
cd /usr/ports/<whatever>
make
exit

Dann poste mal /script/blubber ...
 
vor dem error steht:

In file included from src/gtk/filesys.cpp:58:
src/pyistream.h: In member function `bool wxPyInputStream::CanRead()':
src/pyistream.h:59: no matching function for call to `wxInputStream::CanRead()'

meine blubber is:

Script started on Fri Sep 19 16:17:40 2003
root# cd /uar/sr/ports/net/pyslsk


root# make


===> pyslsk-1.2.0 depends on file: /usr/local/lib/python2.2/site-packages/wxPython/__init__.py - not found

===> Verifying install for /usr/local/lib/python2.2/site-packages/wxPython/__init__.py in /usr/ports/x11-toolkits/py-wxPython

===> Building for py22-wxPython-2.4.0.7

WX_CONFIG not specified and wxgtk-2.4-config not found on $PATH defaulting to "wx-config"

Preparing CORE...

Preparing GLCANVAS...

Preparing OGL...

Preparing STC...

Preparing XRC...

Preparing GIZMOS...

Preparing DLLWIDGET...

running build

running build_py

copying wxPython/__version__.py -> build/lib.freebsd-5.1-RELEASE-i386-2.2/wxPython

running build_ext

building 'wxc' extension

cc -DNDEBUG -O -pipe -mcpu=pentiumpro -D_THREAD_SAFE -O -pipe -mcpu=pentiumpro -fPIC -DSWIG_GLOBAL -DHAVE_CONFIG_H -DWXP_USE_THREAD=1 -UNDEBUG -Isrc -I/usr/local/include/python2.2 -c src/gtk/filesys.cpp -o build/temp.freebsd-5.1-RELEASE-i386-2.2/src/gtk/filesys.o -I/usr/X11R6/include/gtk-2.2 -I/usr/X11R6/include -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_REENTRANT -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include

In file included from src/gtk/filesys.cpp:57:

src/helpers.h:92: syntax error before `*' token

src/helpers.h:279: syntax error before `*' token

In file included from src/gtk/filesys.cpp:58:

src/pyistream.h: In member function `bool wxPyInputStream::CanRead()':

src/pyistream.h:59: no matching function for call to `wxInputStream::CanRead()'

error: command 'cc' failed with exit status 1

*** Error code 1



Stop in /usr/ports/x11-toolkits/py-wxPython.

*** Error code 1



Stop in /usr/ports/net/pyslsk.

root# rehash


root#

hoffe du kannst was daraus erkennen
 
hoffe du kannst was daraus erkennen
Ja :)

Da passen irgendwelche Versionen nicht zu einander. Vermutlich die wxPython Version zu den wx libraries nicht. Die müssen lt. Makefile in der devel version installiert sein.

Poste mal bitte 'pkg_info | grep wx'...
 
Zurück
Oben