Date: Sat, 15 Apr 2006 09:53:12 +0800 From: Yuan Jue <yuanjue02@gmail.com> To: Matthias.Apitz@sisis.de Cc: freebsd-questions@freebsd.org Subject: Re: Good subversion GUI? Message-ID: <200604150953.12741.yuanjue@yuanjue.net> In-Reply-To: <20060414154550.GA55073@rebelion.Sisis.de> References: <200603141143.43335.work@ashleymoran.me.uk> <200604131732.59982.yuanjue@yuanjue.net> <20060414154550.GA55073@rebelion.Sisis.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 14 April 2006 23:45, guru@sisis.de wrote: > El d=EDa Thursday, April 13, 2006 a las 05:32:59PM +0800, Yuan Jue escrib= i=F3: > > > I've fetched the port into 6.0-REL... There is during linking some h= ow > > > the -lpthread missing: > > > > > > $ make > > > ... > > > /bin/sh /usr/local/bin/libtool15 --silent --mode=3Dlink --tag=3DCXX c= ++ > > > -Wnon-virtu al-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith > > > -Wwrite-strings -O2 -O2 -fno-strict-aliasing -pipe -fno-check-new > > > -fno-common -fexceptions -o kdesvn -R /usr/local/lib -R > > > /usr/X11R6/lib -R /usr/X11R6/lib -R /usr/local/lib -L/usr/X 11R6/lib > > > -L/usr/local/lib -L/usr/local/lib main.o kdesvn.o urldlg.o commandline > > > .o -lkparts -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib > > > -ljpeg -L/usr /X11R6/lib > > > /usr/X11R6/lib/libqt-mt.so: undefined reference to > > > `pthread_cleanup_pop' /usr/X11R6/lib/libqt-mt.so: undefined reference > > > to `pthread_attr_destroy' /usr/X11R6/lib/libqt-mt.so: undefined > > > reference to `pthread_attr_init' /usr/X11R6/lib/libqt-mt.so: undefined > > > reference to `pthread_exit' /usr/X11R6/lib/libqt-mt.so: undefined > > > reference to `pthread_cancel' ... > > > > > > I've added it to 'LIBS' in the Makefile (which of course is dirty) but > > > then it linked. > > > > > > # make install gives: > > > > > > ... > > > =3D=3D=3D> Running ldconfig > > > /sbin/ldconfig -m /usr/local/lib > > > =3D=3D=3D> Registering installation for kdesvn-0.8.1 > > > pkg_create: read_plist: unknown command '@dirrmtry > > > share/icons/hicolor/128x128/actions' (package tools out of date?) > > ... > > > > Stop in /usr/ports/devel/kdesvn_port. > > > > > > and it does not lauch from KDE's menue :-( > > > it raises a popup with Error - kdevsvn 'Could not find our part.' > > > > Hi, Matthias > > > > Thanks for your quick reply. I have change the port files in some place > > based on the information you provided. You can download it once more. > > Hope this time you can get it work :-) > > > > If it still has something wrong, please let me know. Thanks > > Hi Yuan, > > The problem of -lpthread is still there and again I've just added > it to 'LIBS' in the Makefile: > > LIBS =3D -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -ljpeg=20 > -L/usr/X11R 6/lib -lpthread > > Now the 'make install' does not complain anymore: > > # make install > ... > =3D=3D=3D> Running ldconfig > /sbin/ldconfig -m /usr/local/lib > =3D=3D=3D> Registering installation for kdesvn-0.8.1 > > But the kdesvn itself does not work. I've checked it with 'truss' > and it is some how missing its shared object libkdesvnpart.la and > libkdesvnpart.so. The libkdesvnpart.so gets installed in > /usr/local/lib/kde3/libkdesvnpart.so while the libkdesvnpart.la > is not installed at all. Launching kdesvn with truss shows where > it is missing the files: > > $ truss -o /tmp/kdesvn.tr kdesvn > KCrash: Application 'kdesvn' crashing... > $ fgrep libkdesvnpart /tmp/kdesvn.tr > access("/home/guru/.kde/lib/kde3/libkdesvnpart.la",4) ERR#2 'No such file > or directory' access("/usr/local/lib/kde3/libkdesvnpart.la",4) ERR#2 'No > such file or directory' access("/home/guru/.kde/lib/libkdesvnpart.la",4) > ERR#2 'No such file or directory' > access("/usr/local/lib/libkdesvnpart.la",4) ERR#2 'No such file or > directory' $ > > I have copied the libkdesvnpart.la and libkdesvnpart.so to > /usr/local/lib/ by hand and then kdesvn starts fine: > > $ truss -o /tmp/kdesvn.tr kdesvn > package version in svnqt missmatched release version! > > kdesvn: Name: cFactory > kdesvn: New SvnActionsData() > kdesvn: New SvnActionsData() finished > kdesvn: SshAgent::querySshAgent(): ENTER > kdesvn: SshAgent::querySshAgent(): ssh-agent already exists > kdesvn: Appname =3D kdesvn > kdesvn: Destructor KdesvnFileListPrivate done > kdesvn: SshAgent::killSshAgent(): ENTER > $ fgrep libkdesvnpart /tmp/kdesvn.tr > access("/home/guru/.kde/lib/kde3/libkdesvnpart.la",4) ERR#2 'No such file > or dir ectory' > access("/usr/local/lib/kde3/libkdesvnpart.la",4) ERR#2 'No such file or > director y' > access("/home/guru/.kde/lib/libkdesvnpart.la",4) ERR#2 'No such file or > director y' > access("/usr/local/lib/libkdesvnpart.la",4) =3D 0 (0x0) > stat("/usr/local/lib/libkdesvnpart.la",0xbfbfe250) =3D 0 (0x0) > open("/usr/local/lib/libkdesvnpart.la",0x0,0666) =3D 11 (0xb) > open("/usr/local/lib/.libs/libkdesvnpart.so",0x0,0100000000) ERR#2 'No su= ch > file or directory' > open("/usr/local/lib/libkdesvnpart.so",0x0,0100000000) =3D 11 (0xb) > Hi, matthias The port has been changed a lot and submitted to ports tree. This may be solve the problem you are encountering :-) please download the port from my website again and do a test to see if it works this time. thanks very much =2D-=20 Best Regards Yuan Jue @ www.yuanjue.net
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604150953.12741.yuanjue>