News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

pkg-config --cflags codeblocks: variable 'datarootdir' not defined

Started by artoj, February 02, 2007, 08:13:46 PM

Previous topic - Next topic

artoj

Ubuntu Edgy, wxGTK 2.6.3p2, rev 3562


$ pkg-config --cflags codeblocks


returns error "Variable 'datarootdir' not defined in /usr/local/lib/pkgconfig/codeblocks.pc"

codeblocks.pc:


prefix=/usr/local
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
plugindir=${datarootdir}/codeblocks/plugins
sharedir=${datarootdir}
datarootdir = ${prefix}/share

Name: codeblocks
Description: Code::Blocks IDE
Version: trunk-r3562
Libs: -L${libdir} -lcodeblocks
Cflags: -I${includedir}/codeblocks


I built Code::Blocks with:


$ ./boostrap
$ ./configure
$ make
$ sudo make install


TheTuxKeeper

Nightly builds for openSUSE

artoj