PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : fehler beim komp. von synce: findet lib nicht.



linuxazubi
26.01.08, 15:14
ich versuch synce nach anleitung zu installieren.

http://www.synce.org/moin/SynceInstallation/Source


wenn ich librra installieren will, bekomme ich bei folgenden fehler:

checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether make sets $(MAKE)... (cached) yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBSYNCE... yes
checking for LIBRAPI2... configure: error: Package requirements (librapi2 >= 0.11) were not met:

No package 'librapi2' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LIBRAPI2_CFLAGS
and LIBRAPI2_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.



librapi konnte vorher erfolgreich kompiliert werden und gab folgende meldung:


PATH="$PATH:/sbin" ldconfig -n /usr/local/lib/python2.4/site-packages
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib/python2.4/site-packages

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
[CODE]

aus ./configure --help von librra:

Some influential environment variables:

...

LIBSYNCE_CFLAGS
C compiler flags for LIBSYNCE, overriding pkg-config
LIBSYNCE_LIBS
linker flags for LIBSYNCE, overriding pkg-config
LIBRAPI2_CFLAGS
C compiler flags for LIBRAPI2, overriding pkg-config
LIBRAPI2_LIBS
linker flags for LIBRAPI2, overriding pkg-config

Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.


[CODE]

./configure LIBRAPI2_LIBS=/usr/local/lib/python2.4/site-packages/


brachte leider keinen erfolg.

nun bin ich am ende und brauche euch.

Iluminat23
26.01.08, 16:39
wiso willst du das zeug selber kompilieren, für sowas hat man einen paketmanager
hast du mal 'ldconfig' ausgeführt?


gruß philipp

linuxazubi
26.01.08, 17:46
wiso willst du das zeug selber kompilieren, für sowas hat man einen paketmanager
hast du mal 'ldconfig' ausgeführt?


gruß philipp

1. synce ist in portage veraltet/masked

2. ja, habe ich jetzt mal gemacht. ergab aber keine besserung.

Aqualung
26.01.08, 21:32
Hallo,




No package 'librapi2' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LIBRAPI2_CFLAGS
and LIBRAPI2_LIBS to avoid the need to call pkg-con


Zu diesem Problem würde ich Dir empfehlen, die Datei
librapi2.pc

zu finden - wahrscheinlich irgendwo unterhalb


/usr/local/lib/python2.4/site-packages

Dann einen Symlink nach


/usr/lib/pkgconfig/
auf diese Datei.

Dann sollte pkg-config die lib auch finden und das env richtig setzen.

HTH Aqualung

linuxazubi
27.01.08, 07:33
Aqualung!

so hat es geklappt, vielen dank!:)