pkg-config-path
hai,
I want to install syslog-ng in my CentOS 5 box and i followed the following instructions as i have seen it in some blog. wget http://www.balabit.com/downloads/fil...g-0.2.5.tar.gz # tar xzf eventlog-0.2.5.tar.gz # cd eventlog-0.2.5 # ./configure --prefix=/usr/local/eventlog # make # make install # wget http://www.balabit.com/downloads/fil...-0.3.18.tar.gz # tar xzf libol-0.3.18.tar.gz # cd libol-0.3.18 # ./configure --prefix=/usr/local/libol # make # make install # wget http://www.balabit.com/downloads/fil...g-2.0.3.tar.gz # tar xzf syslog-ng-2.0.3.tar.gz # cd syslog-ng-2.0.3 # export PKG_CONFIG_PATH=/usr/local/eventlog/lib/pkgconfig # ./configure --prefix=/usr/local/syslog-ng --with-libol=/usr/local/libol/ All the above steps worked well but the last step displayed the following error. checking for EVTLOG... configure: error: Cannot find eventlog version >= 0.2: is pkg-config in path? I tried changing the locations for pkg-config but did not work. Please help me to solve this. Thanks, Prakash. |
Quote:
Code:
which pkg-config |
hi,
Thanks for your reply. which pkg-config is giving the output /usr/bin/pkg-config |
What gives:
Code:
pkg-config --modversion eventlog |
Hi,
It gives nothing. just one blank line and in the next line the cusor comes with directory thanks, Prakash |
Try:
Code:
# export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig |
Strange. It should give 0.2.5 or at least complain it cannot find the package.
Check the version in /usr/local/eventlog/lib/pkgconfig/eventlog.pc |
Hi,
This is the content that my /usr/local/eventlog/lib/pkgconfig/eventlog.pc file contains prefix=/usr/local/eventlog exec_prefix=${prefix} libdir=${exec_prefix}/lib includedir=${prefix}/include/eventlog Name: EventLog Description: General system logging format library Version: Cflags: -I${includedir} Libs: -L${libdir} -levtlog ~ Please suggest me what to do now. Thanks, Prakash |
Hi,
There is no version in that file. It is blank in that place Prakash. |
You can add it by hand (0.2.5), but it's still strange it's blank.
|
Why the PKG_CONFIG_PATH is /usr/local/eventlog/lib/pkgconfig ?
Should be more likely /usr/local/lib/pkgconfig, no ? |
Hi,
Thanks for your help. I have stopped trying this and tried to use rpms. it worked in no time. Quote:
Regards, Prakash. |
hello guys I wanna install opkg and /.configure - it is donin his thing but in the end it says it dont have libcurl and that I should adjust the pkg configure file and I've looked in the pakage manager and it's there in /usr/bin so I change the path in opkg/configure file to /usr/bin;bin' I suppose the bin' means it's bin file. but nuthin worked. How can I change the the configure path of the opkg? I've LM 13
|
you might want to start a new post
this one is from 2008 -- 5 years ago also you might want to do a bit of research on "packagconfig" that path variable is used by "autotools" to find the "*.pc" files that then set other variables and locations of installed code these files are in the "-dev" packages on Debian based OS's and unless you installed programs you built from source in non standard locations it is auto set to "/usr/lib/pkgconfig" or "/usr/lib64/pkgconfig " |
All times are GMT -5. The time now is 04:44 AM. |