From owner-freebsd-questions@FreeBSD.ORG Fri Apr 14 15:46:25 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 1DF0416A400 for ; Fri, 14 Apr 2006 15:46:25 +0000 (UTC) (envelope-from guru@Sisis.de) Received: from hunter.Sisis.de (hunter.sisis.de [193.31.11.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6554B43D48 for ; Fri, 14 Apr 2006 15:46:24 +0000 (GMT) (envelope-from guru@Sisis.de) Received: (from mail@localhost) by hunter.Sisis.de (8.8.8/8.8.8) id RAA24290; Fri, 14 Apr 2006 17:44:00 +0200 (CEST) (envelope-from guru@Sisis.de) From: guru@Sisis.de Received: from ppp-62-245-163-125.mnet-online.de(62.245.163.125) by hunter.Sisis.de via smap (V2.1) id xma024288; Fri, 14 Apr 06 17:43:35 +0200 Received: (from guru@localhost) by rebelion.Sisis.de (8.13.4/8.13.4/Submit) id k3EFjo1I063037; Fri, 14 Apr 2006 17:45:51 +0200 (CEST) (envelope-from guru@Sisis.de) X-Authentication-Warning: rebelion.Sisis.de: guru set sender to guru@Sisis.de using -f Date: Fri, 14 Apr 2006 17:45:50 +0200 To: Yuan Jue Message-ID: <20060414154550.GA55073@rebelion.Sisis.de> References: <200603141143.43335.work@ashleymoran.me.uk> <200604131043.08867.yuanjue@yuanjue.net> <20060413073008.GA30410@rebelion.Sisis.de> <200604131732.59982.yuanjue@yuanjue.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <200604131732.59982.yuanjue@yuanjue.net> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 6.0-RELEASE (i386) Cc: freebsd-questions@freebsd.org Subject: Re: Good subversion GUI? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias.Apitz@Sisis.de List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Apr 2006 15:46:25 -0000 El día Thursday, April 13, 2006 a las 05:32:59PM +0800, Yuan Jue escribió: > > I've fetched the port into 6.0-REL... There is during linking some how > > the -lpthread missing: > > > > $ make > > ... > > /bin/sh /usr/local/bin/libtool15 --silent --mode=link --tag=CXX 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: > > > > ... > > ===> Running ldconfig > > /sbin/ldconfig -m /usr/local/lib > > ===> 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 = -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -ljpeg -L/usr/X11R 6/lib -lpthread Now the 'make install' does not complain anymore: # make install ... ===> Running ldconfig /sbin/ldconfig -m /usr/local/lib ===> 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 = 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) = 0 (0x0) stat("/usr/local/lib/libkdesvnpart.la",0xbfbfe250) = 0 (0x0) open("/usr/local/lib/libkdesvnpart.la",0x0,0666) = 11 (0xb) open("/usr/local/lib/.libs/libkdesvnpart.so",0x0,0100000000) ERR#2 'No such file or directory' open("/usr/local/lib/libkdesvnpart.so",0x0,0100000000) = 11 (0xb) matthias