|
From: Vaibhav G. <vai...@gm...> - 2008-01-10 06:55:27
|
*I also tried:* export ZZIPLIB_CFLAGS = "pkg-config --cflags zziplib" bash: export: `=': not a valid identifier bash: export: `pkg-config --cflags zziplib': not a valid identifier But I get an error. On Jan 9, 2008 10:12 PM, Vaibhav Ghadiok <vai...@gm...> wrote: > *hi everybody > > I have a small problem. I have installed all the pre-requisites for gazebo > 0.8 except ogre. I am using zziplib-0.13.49 & ogre-linux_osx-v1-4-6. While > configuring ogre I get an error stating:* > > OGRE (in install) > checking for ZZIPLIB_CFLAGS... > checking for ZZIPLIB_LIBS... > configure: error: Package requirements (zziplib) were not met. > Consider adjusting the PKG_CONFIG_PATH environment variable if you > installed software in a non-standard prefix. > > Alternatively you may set the ZZIPLIB_CFLAGS and ZZIPLIB_LIBS environment > variables > to avoid the need to call pkg-config. See the pkg-config man page for > more details. > > > > > > *I looked at the ZZLIB documentation and it said:* > > There is currently an autoconf macro installed along into the usual > /usr/share/aclocal space for making it easier for you to pick up the > configure-time cflags/libs needed to build/link with zziplib. In any way it > does look like this: > > dnl PKG_CHECK_ZZIPLIB(ZSTUFF, min-version, action-if, action-not) > AC_DEFUN([PKG_CHECK_ZZIPLIB],[dnl > PKG_CHECK_MODULES([$1], [zziplib $2], [$3], [$4])]) > > > You are strongly advised to take advantage of the pkgconfig's macro > directly - you can find the macro in /usr/share/aclocal/pkg.m4 and it allows > to combine the flags of a list of library modules that you want to have. If > it is only zziplib, than you could simply use this in your configure.ac: > > PKG_CHECK_MODULES([ZZIP],[zziplib >= 0.10.75]) > > > which will provide you with two autoconf/automake variables named > ZZIP_CFLAGS and ZZIP_LIBS respectivly. > > > > > *I have installed everything on default locations. I have tried putting > the following statement in the configure.in file of ogre but to no avail. > PKG_CHECK_MODULES([ZZIP],[zziplib >= 0.10.75])* > > *Could somebody please help me out. > > Cheers > Vaibhav* > -- > Mobile Robotics Laboratory > Guidance, Control and Decision Systems Laboratory > Aerospace Department > Indian Institute of Science, Bangalore > > http://guidance.aero.iisc.ernet.in/vaibhav -- Mobile Robotics Laboratory Guidance, Control and Decision Systems Laboratory Aerospace Department Indian Institute of Science, Bangalore http://guidance.aero.iisc.ernet.in/vaibhav |