trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: February 2011

Re: [trinity-devel] Trinity packages for Arch

From: "David C. Rankin" <drankinatty@...>
Date: Tue, 22 Feb 2011 14:42:11 -0600
On 02/22/2011 01:06 PM, calvin morrison wrote:
> 
> I've run into problems already :/

There are No PROBLEMS -- Only CHALLENGES :)

> 
> when compiling trinity-kdebase I have hit this:
> 
> [ 37%] Built target libkmanpart-module
> Linking CXX shared module kio_man.so
> cd /home/calvin/builds/trinity/trinity-kdebase/src/kdebase/kioslave/man
> && /usr/bin/cmake -E cmake_link_script
> CMakeFiles/kio_man-module.dir/link.txt --verbose=1
> /usr/bin/c++  -fPIC -march=atom -msse4 -mcx16 -msahf -O2 -pipe
> -include tqt.h -Wl,--no-undefined -shared -Wl,-soname,kio_man.so -o
> kio_man.so CMakeFiles/kio_man-module.dir/man2html.cpp.o
> CMakeFiles/kio_man-module.dir/kio_man.cpp.o -L/opt/qt/lib
> /opt/trinity/lib/libkio.so.4.2.0 /opt/trinity/lib/libkdeui.so.4.2.0
> -lfreetype -lfontconfig /opt/trinity/lib/libkdesu.so.4.2.0 -lutil
> /opt/trinity/lib/libkwalletclient.so.1.0.1
> /opt/trinity/lib/libkdecore.so.4.2.0 /opt/trinity/lib/libDCOP.so.4.2.0
> /opt/trinity/lib/libkdefx.so.4.2.0 -ltqt -lqt-mt -lXrender -lX11 -lz
> -lICE -lSM -Wl,-rpath,/opt/qt/lib:/opt/trinity/lib:
> make[2]: Leaving directory
> `/home/calvin/builds/trinity/trinity-kdebase/src/kdebase'
> /usr/bin/cmake -E cmake_progress_report
> /home/calvin/builds/trinity/trinity-kdebase/src/kdebase/CMakeFiles
> [ 37%] Built target kio_man-module
> make[1]: Leaving directory
> `/home/calvin/builds/trinity/trinity-kdebase/src/kdebase'
> make: *** [all] Error 2
> Aborting...
> 
> I'm not sure how you have managed to build this all but any ideas
> would be appreciated.
> 
> Calvin

Calvin,

  Show me:

ls -al /etc/ld.so.conf.d

12:50 supersff:~/tbld/knemo.cmake> l /etc/ld.so.conf.d
total 32
drwxr-xr-x  2 root root  4096 Feb 22 00:09 .
drwxr-xr-x 99 root root 12288 Feb 22 00:14 ..
-rw-r--r--  1 root root    21 Dec  6 08:47 fakeroot.conf
-rw-r--r--  1 root root    12 Feb 20 13:32 qt3.conf
-rw-r--r--  1 root root    17 Feb 22 00:07 trinity-kdelibs.conf
-rw-r--r--  1 root root    25 Feb  7 09:47 xulrunner.conf

  And:

cat /etc/ld.so.conf.d/trinity-kdelibs.conf
/opt/trinity/lib

cat /etc/ld.so.conf.d/qt3.conf
/opt/qt/lib

  If you haven't run (as root) 'ldconfig', do so and start 'makepkg -s' in the
/home/calvin/builds/trinity/trinity-kdebase directory again.

  And:

set | grep trinity

HOSTNAME=trinity-64
KDEDIR=/opt/trinity
KDEDIRS=/opt/trinity:/usr:/opt/trinity/:/usr/
PATH=/opt/trinity/bin:/opt/trinity/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/bin/core_perl:/opt/qt/bin:/home/david/bin:/usr/local/bin
PKG_CONFIG_PATH=:/opt/qt/lib/pkgconfig:/opt/trinity/lib/pkgconfig
SESSION_MANAGER=local/trinity-64:@/tmp/.ICE-unix/988,unix/trinity-64:/tmp/.ICE-unix/988,inet6/trinity-64:58431,inet/trinity-64:49174
XDG_CONFIG_DIRS=/etc/xdg:/opt/trinity/etc/xdg:/opt/trinity/etc/xdg/:/etc/xdg/
XDG_DATA_DIRS=/usr/share/:/usr/local/share/:/opt/trinity/share:/opt/trinity/share/:/usr/share/

  And:

pacman -Q | grep trinity

trinity-arts 1214641-1
trinity-kdebase 1221588-1
trinity-kdelibs 1222098-1
trinity-kdevelop 1221512-1
trinity-kdewebdev 1216789-1
trinity-pyqt3 3.18.1-9
trinity-qt3 3.3.8-20
trinity-tqtinterface 1221148-1

  That should get us started. Also, just run 'makepkg -s' in the
/home/calvin/builds/trinity/trinity-kdebase directory again to see if it fails
in the same place. Also make sure your packages are all up to date with:

pacman -Syu

-- 
David C. Rankin, J.D.,P.E.