Portál AbcLinuxu, 12. května 2025 08:42

Dotaz: kompilace RRDTool - chybí lfreetype

2.5.2006 18:08 MaVac | skóre: 7
kompilace RRDTool - chybí lfreetype
Přečteno: 227×
Odpovědět | Admin
Snažím se kompilovat RRDTool, bez problémů udělám " ./configure --prefix=/opt/rrdtool CPPFLAGS='-I/opt/freetype/include/freetype2 -I/opt/gtk2/include/libart-2.0 -I/opt/freetype/include' PKG_CONFIG_PATH=/opt/freetype/lib/pkgconfig/ LDFLAGS='-L/opt/freetype/lib -L/opt/gtk2/lib -L/opt/freetype'" a napíše mi to, že jsem uspěl:
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing default commands
checking in... and out again
ordering CD from http://people.ee.ethz.ch/~oetiker/wish .... just kidding ;-)

----------------------------------------------------------------
Config is DONE!

          With MMAP IO: yes
          Perl Modules: perl_piped perl_shared
           Perl Binary: /usr/bin/perl
          Perl Version: 5.8.4
          Perl Options: PREFIX=/opt/rrdtool LIB=/opt/rrdtool/lib/perl/5.8.4
    Build Tcl Bindings: yes
 Build Python Bindings: no
          Build rrdcgi: yes
       Build librrd MT: yes


Type 'make' to compile the software and use 'make install' to
install everything to: /opt/rrdtool.

       ... that wishlist is NO JOKE. If you find RRDtool useful
make me happy. Go to http://people.ee.ethz.ch/oetiker/wish and
place an order.

                               -- Tobi Oetiker tobi@oetiker.ch
----------------------------------------------------------------
pak zkusím "make" a ouha, najednou mu chybí freetype, i když si v configure nestěžoval :-(
make[3]: Entering directory `/opt/rrdtool-1.2.12/bindings/tcl'
/usr/bin/ld: cannot find -lfreetype
collect2: ld returned 1 exit status
make[3]: *** [tclrrd1.2.12.so] Error 1
make[3]: Leaving directory `/opt/rrdtool-1.2.12/bindings/tcl'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/rrdtool-1.2.12/bindings'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/rrdtool-1.2.12'
make: *** [all] Error 2
čím to může být? Už se tu trápím dlouhou dobu, na googlu všichni radí "install freetype" ale to už mám dávno za sebou. Navíc je mi divný, že ./configure proběhnulo v pořádku...LDFLAGS mám nastavený tam, kde freetype je!
root@marfa:/opt/rrdtool-1.2.12# ls -l  /opt/freetype/lib/
total 3752
-rw-r--r--  1 root root 2363964 May  2 13:36 libfreetype.a
-rwxr-xr-x  1 root root     825 May  2 13:36 libfreetype.la
lrwxrwxrwx  1 root root      20 May  2 13:36 libfreetype.so -> libfreetype.so.6.3.7
lrwxrwxrwx  1 root root      20 May  2 13:36 libfreetype.so.6 -> libfreetype.so.6.3.7
-rwxr-xr-x  1 root root 1456218 May  2 13:36 libfreetype.so.6.3.7
drwxr-xr-x  2 root root    4096 May  2 13:36 pkgconfig
Nástroje: Začni sledovat (1) ?Zašle upozornění na váš email při vložení nového komentáře.

Na otázku zatím nikdo bohužel neodpověděl.

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.