Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
pkg-config --cflags codeblocks: variable 'datarootdir' not defined
(1/1)
artoj:
Ubuntu Edgy, wxGTK 2.6.3p2, rev 3562
--- Code: ---$ pkg-config --cflags codeblocks
--- End code ---
returns error "Variable 'datarootdir' not defined in /usr/local/lib/pkgconfig/codeblocks.pc"
codeblocks.pc:
--- Code: ---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
--- End code ---
I built Code::Blocks with:
--- Code: ---$ ./boostrap
$ ./configure
$ make
$ sudo make install
--- End code ---
TheTuxKeeper:
should be fixed in rev3564. :)
artoj:
Thanks! Works great. :wink:
Navigation
[0] Message Index
Go to full version