On Wednesday 14 April 2010 05:14:34 pm linux fan wrote: > On 4/14/10, linux fan <[email protected]> wrote: > > ... allow you to inspect > > the detail of how kde is managing to not find it is there? > > I didn't know, but I'm sure you already knew that there could be an Xi gem > in checking builddir/CMakeFiles/*.log
thanks a lot . trawling through build/cmake revealed (not just for libXi which aborted the compilation) the following):- #### excerpts from build/CMakeError.log ############## /usr/bin/gcc -m64 -Wno-long-long -std=iso9899:1990 -Wundef -Wcast-align -Werror-implicit-function-declaration -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fno-common -DCHECK_FUNCTION_EXISTS=XkbLockModifiers CMakeFiles/cmTryCompileExec.dir/CheckFunctionExists.c.o -o cmTryCompileExec -rdynamic -lX11 /usr/X11R7.5/lib64/libSM.so /usr/X11R7.5/lib64/libICE.so /usr/X11R7.5/lib64/libX11.so /usr/X11R7.5/lib64/libXext.so /usr/X11R7.5/lib64/libXft.so /usr/X11R7.5/lib64/libXau.so /usr/X11R7.5/lib64/libXdmcp.so /usr/X11R7.5/lib64/libXpm.so -Wl,-rpath,/usr/X11R7.5/lib64 /usr/bin/ld: cannot find -lX11 /usr/bin/gcc -m64 -Wno-long-long -std=iso9899:1990 -Wundef -Wcast-align -Werror-implicit-function-declaration -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fno-common -DCHECK_FUNCTION_EXISTS=XF86MiscSetGrabKeysState CMakeFiles/cmTryCompileExec.dir/CheckFunctionExists.c.o -o cmTryCompileExec -rdynamic -lXxf86misc /usr/bin/ld: cannot find -lXxf86misc /usr/bin/gcc -m64 -Wno-long-long -std=iso9899:1990 -Wundef -Wcast-align -Werror-implicit-function-declaration -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fno-common -DCHECK_FUNCTION_EXISTS=_IceTransNoListen CMakeFiles/cmTryCompileExec.dir/CheckFunctionExists.c.o -o cmTryCompileExec -rdynamic -lICE /usr/bin/ld: cannot find -lICE /usr/bin/gcc -m64 -Wno-long-long -std=iso9899:1990 -Wundef -Wcast-align -Werror-implicit-function-declaration -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fno-common -DCHECK_FUNCTION_EXISTS=glXChooseVisual CMakeFiles/cmTryCompileExec.dir/CheckFunctionExists.c.o -o cmTryCompileExec -rdynamic -lGL /usr/bin/ld: cannot find -lGL /usr/bin/gcc -m64 -Wno-long-long -std=iso9899:1990 -Wundef -Wcast-align -Werror-implicit-function-declaration -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fno-common -DCHECK_FUNCTION_EXISTS=XScreenSaverQueryInfo CMakeFiles/cmTryCompileExec.dir/CheckFunctionExists.c.o -o cmTryCompileExec -rdynamic -lXss /usr/bin/ld: cannot find -lXss /usr/bin/gcc -m64 -Wno-long-long -std=iso9899:1990 -Wundef -Wcast-align -Werror-implicit-function-declaration -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fno-common -DCHECK_FUNCTION_EXISTS=_XiGetDevicePresenceNotifyEvent CMakeFiles/cmTryCompileExec.dir/CheckFunctionExists.c.o -o cmTryCompileExec -rdynamic -lXi /usr/bin/ld: cannot find -lXi I therefore am planning to have a go at using the techniques described here for Imagemagick ( http://www.cmake.org/Wiki/CMake:How_To_Find_Libraries ) to find the required xlibraries. I have two sets of questions:- SET A:- I do not know the 'names' used by kde/cmake to describe these 'packages' a) is it the library name such as lX11, lXxf86misc, lICE, lGL, lXi or are these prefixed by lib such as libX11, libXxf86misc, libICE, libGL, libXi ? b) is in the 'package.config' name such as xi.pc etc ? c) is it something else and if so what is it? SET B:- I do not know how pkgconfig is called by cmake nor the search path for *.pc files are handled by cmake though I have tried reading the cmake online manual Thus:- a) is there an Environmental_variable setting for PkgConfigPath for cmake and if so what is it? OR b) does cmake rely on the $PKG_CONFIG_PATH variable setting in /etc/profile? c) how is pkgconfig called in cmake? -is with package name (i.e. *.pc ) (or otherwise -and what is returned? Replies would be appreciated. sincerely lux-integ -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
