Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: RSyslog: users

Help with libee-0.4.0

 

 

RSyslog users RSS feed   Index | Next | Previous | View Threaded


sebastian.galante at gmail

Mar 9, 2012, 5:18 AM

Post #1 of 7 (549 views)
Permalink
Help with libee-0.4.0

Hello, I have a problem when I try to compile libee, after doing this
./configure LIBESTR_CFLAGS=/usr/local/include LIBESTR_LIBS=/usr/lib64
--prefix=/usr

And the output


[root [at] localhos src]# make
cd .. && /bin/sh ./config.status src/Makefile depfiles
config.status: creating src/Makefile
config.status: executing depfiles commands
CCLD libee-convert
/usr/lib64: file not recognized: Is a directory
collect2: ld returned 1 exit status
make: *** [libee-convert] Error 1
[root [at] localhos src]# cd ..
[root [at] localhos libee-0.4.0]# make
make all-recursive
make[1]: Entering directory `/tmp/libee-0.4.0'
Making all in tests
make[2]: Entering directory `/tmp/libee-0.4.0/tests'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/libee-0.4.0/tests'
Making all in include
make[2]: Entering directory `/tmp/libee-0.4.0/include'
Making all in libee
make[3]: Entering directory `/tmp/libee-0.4.0/include/libee'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/libee-0.4.0/include/libee'
make[3]: Entering directory `/tmp/libee-0.4.0/include'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/tmp/libee-0.4.0/include'
make[2]: Leaving directory `/tmp/libee-0.4.0/include'
Making all in src
make[2]: Entering directory `/tmp/libee-0.4.0/src'
CCLD libee-convert
/usr/lib64: file not recognized: Is a directory
collect2: ld returned 1 exit status
make[2]: *** [libee-convert] Error 1
make[2]: Leaving directory `/tmp/libee-0.4.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/libee-0.4.0'
make: *** [all] Error 2
[root [at] localhos libee-0.4.0]# make install
Making install in tests
make[1]: Entering directory `/tmp/libee-0.4.0/tests'
make[2]: Entering directory `/tmp/libee-0.4.0/tests'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/tmp/libee-0.4.0/tests'
make[1]: Leaving directory `/tmp/libee-0.4.0/tests'
Making install in include
make[1]: Entering directory `/tmp/libee-0.4.0/include'
Making install in libee
make[2]: Entering directory `/tmp/libee-0.4.0/include/libee'
make[3]: Entering directory `/tmp/libee-0.4.0/include/libee'
make install-exec-hook
make[4]: Entering directory `/tmp/libee-0.4.0/include/libee'
/bin/sh /tmp/libee-0.4.0/install-sh -d /usr/include/libee
make[4]: Leaving directory `/tmp/libee-0.4.0/include/libee'
test -z "/usr/include/libee" || /bin/mkdir -p "/usr/include/libee"
/usr/bin/install -c -m 644 libee.h ctx.h event.h fieldbucket.h
fieldtype.h fieldset.h namelist.h field.h obj.h parser.h internal.h
int.h primitivetype.h apache.h tagbucket.h tag.h tagset.h timestamp.h
value.h valnode.h valuetype.h '/usr/include/libee'
make[3]: Leaving directory `/tmp/libee-0.4.0/include/libee'
make[2]: Leaving directory `/tmp/libee-0.4.0/include/libee'
make[2]: Entering directory `/tmp/libee-0.4.0/include'
make[3]: Entering directory `/tmp/libee-0.4.0/include'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/tmp/libee-0.4.0/include'
make[2]: Leaving directory `/tmp/libee-0.4.0/include'
make[1]: Leaving directory `/tmp/libee-0.4.0/include'
Making install in src
make[1]: Entering directory `/tmp/libee-0.4.0/src'
CCLD libee-convert
/usr/lib64: file not recognized: Is a directory
collect2: ld returned 1 exit status
make[1]: *** [libee-convert] Error 1
make[1]: Leaving directory `/tmp/libee-0.4.0/src'
make: *** [install-recursive] Error
Anyone know how to solve this problem?

Regards




--
Sebastián Galante
http://s3bas.net
http://twitter.com/sdgalante
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/


mbiebl at gmail

Mar 9, 2012, 6:13 AM

Post #2 of 7 (525 views)
Permalink
Re: Help with libee-0.4.0 [In reply to]

Am 9. März 2012 14:18 schrieb Sebastian Dario <sebastian.galante [at] gmail>:
> Hello, I have a problem when I try to compile libee, after doing this
> ./configure LIBESTR_CFLAGS=/usr/local/include LIBESTR_LIBS=/usr/lib64
> --prefix=/usr

How and where did you install libestr?
usually, just rely on pkg-config to set the correct information, i.e.
all you need is
./configure --prefix=/usr






--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/


sebastian.galante at gmail

Mar 9, 2012, 6:20 AM

Post #3 of 7 (522 views)
Permalink
Re: Help with libee-0.4.0 [In reply to]

Hi Michael, I installed libestr-0.1.0 before libee, and the output of the
compiler stated that was to use these parameters to compile libee,
LIBESTR_LIBS and LIBESTR_CFLAG, on Centos64

2012/3/9 Michael Biebl <mbiebl [at] gmail>

> Am 9. März 2012 14:18 schrieb Sebastian Dario <sebastian.galante [at] gmail
> >:
> > Hello, I have a problem when I try to compile libee, after doing this
> > ./configure LIBESTR_CFLAGS=/usr/local/include LIBESTR_LIBS=/usr/lib64
> > --prefix=/usr
>
> How and where did you install libestr?
> usually, just rely on pkg-config to set the correct information, i.e.
> all you need is
> ./configure --prefix=/usr
>
>
>
>
>
>
> --
> Why is it that all of the instruments seeking intelligent life in the
> universe are pointed away from Earth?
> _______________________________________________
> rsyslog mailing list
> http://lists.adiscon.net/mailman/listinfo/rsyslog
> http://www.rsyslog.com/professional-services/
>



--
Sebastián Galante
http://s3bas.net
http://twitter.com/sdgalante
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/


mbiebl at gmail

Mar 9, 2012, 7:12 AM

Post #4 of 7 (520 views)
Permalink
Re: Help with libee-0.4.0 [In reply to]

Am 9. März 2012 15:20 schrieb Sebastian Dario <sebastian.galante [at] gmail>:
> Hi Michael, I installed libestr-0.1.0 before libee, and the output of the
> compiler stated that was to use these parameters to compile libee,
> LIBESTR_LIBS and LIBESTR_CFLAG, on Centos64
>

No, it doesn't say that. It says you *can* use those variables to
override pkg-config.


--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/


sebastian.galante at gmail

Mar 9, 2012, 7:21 AM

Post #5 of 7 (522 views)
Permalink
Re: Help with libee-0.4.0 [In reply to]

Michael, I followed the guide from HowtoForge, and when problems arose I
find solutions in the forum ... I could install the version that comes
default on CentOS 5.7, which is 3.2 .. But I would prefer to install a
newer version.

2012/3/9 Michael Biebl <mbiebl [at] gmail>

> Am 9. März 2012 15:20 schrieb Sebastian Dario <sebastian.galante [at] gmail
> >:
> > Hi Michael, I installed libestr-0.1.0 before libee, and the output of the
> > compiler stated that was to use these parameters to compile libee,
> > LIBESTR_LIBS and LIBESTR_CFLAG, on Centos64
> >
>
> No, it doesn't say that. It says you *can* use those variables to
> override pkg-config.
>
>
> --
> Why is it that all of the instruments seeking intelligent life in the
> universe are pointed away from Earth?
> _______________________________________________
> rsyslog mailing list
> http://lists.adiscon.net/mailman/listinfo/rsyslog
> http://www.rsyslog.com/professional-services/
>



--
Sebastián Galante
http://twitter.com/sdgalante
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/


sebastian.galante at gmail

Mar 9, 2012, 7:23 AM

Post #6 of 7 (520 views)
Permalink
Re: Help with libee-0.4.0 [In reply to]

The directory where the files were located was / tmp, and then try to
compile directly libee there ...
2012/3/9 Sebastian Dario <sebastian.galante [at] gmail>

> Michael, I followed the guide from HowtoForge, and when problems arose I
> find solutions in the forum ... I could install the version that comes
> default on CentOS 5.7, which is 3.2 .. But I would prefer to install a
> newer version.
>
>
> 2012/3/9 Michael Biebl <mbiebl [at] gmail>
>
>> Am 9. März 2012 15:20 schrieb Sebastian Dario <
>> sebastian.galante [at] gmail>:
>> > Hi Michael, I installed libestr-0.1.0 before libee, and the output of
>> the
>> > compiler stated that was to use these parameters to compile libee,
>> > LIBESTR_LIBS and LIBESTR_CFLAG, on Centos64
>> >
>>
>> No, it doesn't say that. It says you *can* use those variables to
>> override pkg-config.
>>
>>
>> --
>> Why is it that all of the instruments seeking intelligent life in the
>> universe are pointed away from Earth?
>> _______________________________________________
>> rsyslog mailing list
>> http://lists.adiscon.net/mailman/listinfo/rsyslog
>> http://www.rsyslog.com/professional-services/
>>
>
>
>
> --
> Sebastián Galante
> http://twitter.com/sdgalante
>
>
>


--
Sebastián Galante
http://twitter.com/sdgalante
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/


mbiebl at gmail

Mar 9, 2012, 7:51 AM

Post #7 of 7 (524 views)
Permalink
Re: Help with libee-0.4.0 [In reply to]

Am 9. März 2012 16:23 schrieb Sebastian Dario <sebastian.galante [at] gmail>:
> The directory where the files were located was / tmp, and then try to
> compile directly libee there ...
> 2012/3/9 Sebastian Dario <sebastian.galante [at] gmail>
>
>> Michael, I followed the guide from HowtoForge, and when problems arose I
>> find solutions in the forum ... I could install the version that comes
>> default on CentOS 5.7, which is 3.2 .. But I would prefer to install a
>> newer version.
>>

As said, let pkg-config figure out the correct flags.
If you've installed libestr into /usr/local, and pkg-config doesn't
find the libestr.pc file in /usr/local/lib/pkgconfig (it should by
default), you can set PKG_CONFIG_PATH.

That said, it seems you are a bit unexperienced in building packages
on your own, so my suggestion would be to just use the packages as
provided by your distribution.

Michael
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/

RSyslog users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.