[kde-freebsd] Problem updating kdeedu4

Petyo Milotinov petyo at petyo.org
Tue Apr 20 18:55:56 CEST 2010


    Hello,
    I'm using FreeBSD 7.3

FreeBSD petyo.org 7.2-STABLE FreeBSD 7.2-STABLE #0: Tue Dec 15 16:48:16
EET 2009     root at petyo.org:/usr/obj/usr/src/sys/MYKERNEL  i386

    and my ports are up to date.
    An update to kdeedu4 was pushed recently. I tried to portupgrade it
but it fails:

======== begin ========
[ 98%] Building CXX object step/step/CMakeFiles/step.dir/latexformula.o

[ 98%] Building CXX object step/step/CMakeFiles/step.dir/messageframe.o

[ 98%] Building CXX object step/step/CMakeFiles/step.dir/main.o

[100%] Building CXX object step/step/CMakeFiles/step.dir/settings.o

Linking CXX executable step

/usr/bin/ld: cannot find -lcln

*** Error code 1


Stop in /usr/ports/misc/kdeedu4/work/kdeedu-4.3.5/build.
*** Error code 1

Stop in /usr/ports/misc/kdeedu4/work/kdeedu-4.3.5/build.
*** Error code 1

Stop in /usr/ports/misc/kdeedu4/work/kdeedu-4.3.5/build.
*** Error code 1

Stop in /usr/ports/misc/kdeedu4.
======== end ========

    The problem is that "ld" looks for libcln in

/usr/ports/misc/kdeedu4/work/kdeedu-4.3.5/build/lib/libcln.so
/usr/ports/misc/kdeedu4/work/kdeedu-4.3.5/build/lib/libcln.a
/usr/local/kde4/lib/libcln.so
/usr/local/kde4/lib/libcln.a
/usr/local/lib/qt4/libcln.so
/usr/local/lib/qt4/libcln.a
/usr/lib/libcln.so
/usr/lib/libcln.a
/usr/lib/libcln.so
/usr/lib/libcln.a
/usr/bin/../libdata/libcln.so
/usr/bin/../libdata/libcln.a
/lib/libcln.so
/lib/libcln.a
/usr/lib/libcln.so
/usr/lib/libcln.a

    and it doesn't look in its actual place: /usr/local/lib:

pkg_info -L cln-1.3.1_1 | grep -i libcln
/usr/local/lib/libcln.a
/usr/local/lib/libcln.la
/usr/local/lib/libcln.so
/usr/local/lib/libcln.so.6

    It seems cmake doesn't look in "/usr/local/lib".
    Actually portupgrade "deinstalled" the installed copy of kdeedu4 and
portinstall fails with same error.
    How can I reinstall/build kdeedu4? How can I tell cmake to look also
in "/usr/local/lib"?
    Thanks in advance!

    Best regards,
    Petyo Milotinov


More information about the kde-freebsd mailing list