From owner-freebsd-questions@FreeBSD.ORG Sat Apr 15 01:50:19 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B004B16A401 for ; Sat, 15 Apr 2006 01:50:19 +0000 (UTC) (envelope-from yuanjue02@gmail.com) Received: from pproxy.gmail.com (pproxy.gmail.com [64.233.166.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 293F243D45 for ; Sat, 15 Apr 2006 01:50:19 +0000 (GMT) (envelope-from yuanjue02@gmail.com) Received: by pproxy.gmail.com with SMTP id t32so189854pyc for ; Fri, 14 Apr 2006 18:50:18 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:organization:to:subject:date:user-agent:cc:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id:from; b=AUkZYbIek9OVjAgPazNS6WWBoESlHGVjW/LaCEF+W1TBKuxWdR9Sq+kBlD0YnOMPMezczgFw9ks3n9So6ol016VYpz7ybgpGSNQlgqBbI1IcvlGZHfYzz0HsiLqp+HV6s/waCTpttgNhi6A5Qv28uxvB1Xe1JpbM/mzT8oAN1Ko= Received: by 10.35.40.10 with SMTP id s10mr87783pyj; Fri, 14 Apr 2006 18:50:18 -0700 (PDT) Received: from ?192.168.1.205? ( [221.219.0.161]) by mx.gmail.com with ESMTP id m78sm191723pye.2006.04.14.18.50.17; Fri, 14 Apr 2006 18:50:18 -0700 (PDT) Organization: Tsinghua UNIV. To: Matthias.Apitz@sisis.de Date: Sat, 15 Apr 2006 09:53:12 +0800 User-Agent: KMail/1.9.1 References: <200603141143.43335.work@ashleymoran.me.uk> <200604131732.59982.yuanjue@yuanjue.net> <20060414154550.GA55073@rebelion.Sisis.de> In-Reply-To: <20060414154550.GA55073@rebelion.Sisis.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200604150953.12741.yuanjue@yuanjue.net> From: Yuan Jue Cc: freebsd-questions@freebsd.org Subject: Re: Good subversion GUI? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Apr 2006 01:50:19 -0000 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