Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Source Code manuell compilieren ?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
oliver2104
Apprentice
Apprentice


Joined: 27 Jul 2004
Posts: 214
Location: Wien

PostPosted: Sat Oct 06, 2007 7:45 pm    Post subject: Source Code manuell compilieren ? Reply with quote

Hallo,

hab im Internet ein Programm gefunden, welches ich unbedingt haben möchte.
Ein gentoo-package dazu gibts nicht.
Also SourceCode (*.tar.gz) runterladen, entpacken und klassisch compilieren mit:

./configure
make

make bricht aber ab mit folgender Meldung
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lartsmodules

die libraries sind vorhanden, ich hab:
/usr/kde/3.5/lib/libartsmodules.so.0
/usr/kde/3.5/lib/libartsmodules.so.0.0.0
/usr/kde/3.5/lib/libartsmodules.la
/usr/kde/3.5/lib/libartsmodules.so

die files in /etc/env.d sind alle vorhanden und auf ein env-update hab ich auch nicht vergessen.
In der Datei /etc/ld.so.conf ist jedenfalls auch der Pfad /usr/kde/3.5/lib eingetragen.

warum findet der gcc bei einem "make" trotzdem nicht die Bibliotheken unter /usr/kde/3.5/lib ?
Back to top
View user's profile Send private message
franzf
Advocate
Advocate


Joined: 29 Mar 2005
Posts: 4565

PostPosted: Sat Oct 06, 2007 7:59 pm    Post subject: Reply with quote

Du musst beim configure aber schon den kde-prefix mit angeben!
Sag mal was das für ein Programm ist, evtl. gibts schon was auf bugs.gentoo.org.
Ansonsten sind kde-pakete dank kde-eclass recht leicht in ebuilds zu verwurschteln ;)

Also gib nen link zur Projekt-homepage, dann wird dir sicher geholfen.

Grüße
Franz
Back to top
View user's profile Send private message
Fabiolla
Apprentice
Apprentice


Joined: 04 Mar 2004
Posts: 277
Location: somewhere

PostPosted: Sun Oct 07, 2007 10:41 am    Post subject: Reply with quote

Hallo
mit ./configure --help ermittelst du, welche zusätzlichen Parameter beim Aufruf von ./configure möglich sind.
Die Meldung sieht danach das, das Kde ohne arts 'gebaut' wurde - dein Programm jedoch arts erwartet.
Dieses Verhalten kann man bei den meisten Kde-basierenden Programmen mit dem Parameter --without-arts (siehe dazu Ausgabe von ./configure --help) steuern.

Ansonsten ist der Tipp von franzf recht gut -vielleicht gibts auf bugs.genntoo.org oder in einem Overlay (Sunrise, etc..) bereits ein ebuild.

lg
Back to top
View user's profile Send private message
oliver2104
Apprentice
Apprentice


Joined: 27 Jul 2004
Posts: 214
Location: Wien

PostPosted: Sun Oct 07, 2007 9:42 pm    Post subject: Reply with quote

Hallo und Danke für die Antworten.
Habs mittlerweile geschafft.
lt. der INSTALL Anleitung reicht es aus das KDE-Installations-Verzeichnis anzugeben.
hab also ./configure --prefix=/usr/kde/3.5 ausgeführt.
das Makefile wurde aber trotzdem nicht sauber erstellt.
Hab dann das Makefile mit einem Editor geöffnet, die richtige Stelle gefunden
und dort -L/usr/kde/3.5/lib eingefügt.
dann hat das make funktioniert.

l.g.
Oliver
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum