Bug 52549

Summary: Difficulties compiling parts of KDE
Product: Ports & Packages Reporter: Alan Larson <alarson>
Component: Individual Port(s)Assignee: freebsd-kde (group) <kde>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Alan Larson 2003-05-22 02:30:14 UTC
I am trying to run ./configure for kdelib, and getting errors.
 - It reports that setkey(3), des_setkey(3), encrypt(3), and des_cipher(3)
   are not present.  The man page for them is present...
 - It cannot find libjpeg6b, but the pakcage is installed (by the kde desktop
   install that came with the release).
 - error: aRts 1.1.x not installed in the same prefix as KDE!
   It thinks kdelibs prefix is /usr/local/bin, aRts prefix is /usr/local

I am trying to test the fix given in:
    http://bugs.kde.org/show_bug.cgi?id=53527

Bug 58735 (declared a duplicate) is the actual problem I am seeing, but
I see it without resizing windows.

http://w6yx.stanford.edu/~larson/konsole_grab.gif  shows what I am seeing.

As a result of this, I would be interested in knowing how the package
was actually built.

Thanks.

How-To-Repeat:    tar xfyBp kdelibs-3.1.tar.bz2
   pushd kdelibs-3.1
   setenv QTDIR /usr/X11R6/share/qt
   setenv KDEDIR /usr/local/bin
   ./configure LIBS="-lgcc -lstdc++ -Wl,-export-dynamic"
Comment 1 Tilman Keskinoz freebsd_committer freebsd_triage 2003-05-22 10:56:51 UTC
Responsible Changed
From-To: freebsd-bugs->kde

over to maintainers.
Comment 2 Adriaan de Groot 2003-06-12 22:40:10 UTC
In your 

How-To-Repeat
 
   tar xfyBp kdelibs-3.1.tar.bz2
   pushd kdelibs-3.1
   setenv QTDIR /usr/X11R6/share/qt
   setenv KDEDIR /usr/local/bin
   ./configure LIBS="-lgcc -lstdc++ -Wl,-export-dynamic"

You are setting KDEDIR (and probably QTDIR) wrongly. KDEDIR is /usr/local, so 
the binaries go in /usr/local/bin, libs in /usr/local/lib, etc. QTDIR is 
/usr/X11R6 if you installed Qt from ports.

That explains the arts message. The libjpeg6b comes from you omitting 
--with-extra-{libs,includes} which are required on FreeBSD (set them to 
/usr/local/lib and /usr/local/include, respectively). That will most likely 
make the crypt() warning go away as well.

FWIW, please don't PR non-ports builds of KDE. You can ask for help on the KDE 
mailing lists (even the kde-freebsd-specific one!) or on IRC.


-- 
pub  1024D/FEA2A3FE 2002-06-18 Adriaan de Groot <groot@kde.org>
     Key fingerprint = 934E 31AA 80A7 723F 54F9  50ED 76AC EE01 FEA2 A3FE
Comment 3 Tilman Keskinoz freebsd_committer freebsd_triage 2003-07-08 23:08:49 UTC
State Changed
From-To: open->closed

Not a ports problem.