pre req install issueses

View: New views
3 Messages — Rating Filter:   Alert me  

pre req install issueses

by Michael Di Martino-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

RRDTOOL is still complaining it cannot find freetype2 even after configuring compiling and install freetype2.

What can be done to correct this situation.

 

OS: CentOS 5

 

Regards,

Michael Di Martino

Director of Information Technology

Open Access, Inc.

631.815.6632

 


_______________________________________________
rrd-users mailing list
rrd-users@...
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

Re: pre req install issueses

by Michael Di Martino-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

>>From: rrd-users-bounces@... [mailto:rrd-users-bounces@...] On Behalf Of Michael Di Martino
>>Sent: Wednesday, July 09, 2008 2:49 PM
>>To: rrd-users@...
>>Subject: [rrd-users] pre req install issueses

 

>>RRDTOOL is still complaining it cannot find freetype2 even after configuring compiling and install freetype2.

>>What can be done to correct this situation.

 

>>OS: CentOS 5

 

I complied freetype2 as follows.

            cd $BUILD_DIR

            wget http://oss.oetiker.ch/rrdtool/pub/libs/freetype-2.1.10.tar.bz2

            tar jxvf freetype-2.1.10.tar.bz2

            cd freetype-2.1.10

            env CPPFLAGS="-I$BUILD_DIR/lb/include" LDFLAGS="-L$BUILD_DIR/lb/lib" CFLAGS="-O3 -fPIC" ./configure --disable-shared --prefix=$BUILD_DIR/lb

            make

            make install


_______________________________________________
rrd-users mailing list
rrd-users@...
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

Re: pre req install issueses

by nate-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Michael Di Martino wrote:

> I complied freetype2 as follows.
>             cd $BUILD_DIR
>             wget
> http://oss.oetiker.ch/rrdtool/pub/libs/freetype-2.1.10.tar.bz2
>             tar jxvf freetype-2.1.10.tar.bz2
>             cd freetype-2.1.10
>             env CPPFLAGS="-I$BUILD_DIR/lb/include"
> LDFLAGS="-L$BUILD_DIR/lb/lib" CFLAGS="-O3 -fPIC" ./configure
> --disable-shared --prefix=$BUILD_DIR/lb

How about taking out the --disable-shared ? Or just don't specify
(CPP|LD)FLAGS at all and let configure do it's job ?

[cacti@dc1-mon002:~/bin]$ ldd /usr/bin/rrdtool
        librrd.so.2 => /usr/lib64/librrd.so.2 (0x00000030a7900000)
        libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x0000003c34200000)
        libpng12.so.0 => /usr/lib64/libpng12.so.0 (0x0000003c35000000)
        libz.so.1 => /usr/lib64/libz.so.1 (0x0000003c32300000)
        libart_lgpl_2.so.2 => /usr/lib64/libart_lgpl_2.so.2
(0x0000003c36200000)
        libm.so.6 => /lib64/tls/libm.so.6 (0x0000003c32a00000)
        libc.so.6 => /lib64/tls/libc.so.6 (0x0000003c32500000)
        /lib64/ld-linux-x86-64.so.2 (0x0000003c32100000)

nate


_______________________________________________
rrd-users mailing list
rrd-users@...
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users