On Sun, 8 Feb 2009 03:43:13 -0500
jan acosta <[email protected]> wrote:

> That really helped out!
> 
> However, now I'm stuck on a new set of problems:
> 
> da-vi...@da-vinci-desktop:~/pycuda-0.91.1$ su -c "make install"
> Password:
> ctags -R src || true
> /bin/sh: ctags: not found
> /usr/bin/python setup.py install
> running install
> running bdist_egg
> running egg_info
> writing requirements to pycuda.egg-info/requires.txt
> writing pycuda.egg-info/PKG-INFO
> writing top-level names to pycuda.egg-info/top_level.txt
> writing dependency_links to pycuda.egg-info/dependency_links.txt
> reading manifest file 'pycuda.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> writing manifest file 'pycuda.egg-info/SOURCES.txt'
> installing library code to build/bdist.linux-i686/egg
> running install_lib
> running build_py
> running build_ext
> building '_driver' extension
> g++ -pthread -shared -Wl,-Bsymbolic-functions
> build/temp.linux-i686-2.5/src/cpp/cuda.o
> build/temp.linux-i686-2.5/src/wrapper/wrap_cudadrv.o
> build/temp.linux-i686-2.5/src/wrapper/tools.o -LHome/pool/lib
> -L/usr/local/cuda/lib -libboost_python-gcc42-mt -lcuda -o
> build/lib.linux-i686-2.5/pycuda/_driver.so
> /usr/bin/ld: cannot find -libboost_python-gcc42-mt
> collect2: ld returned 1 exit status
> error: command 'g++' failed with exit status 1
> make: *** [install] Error 1
> 
> Now, I tried export LD_LIBRARY_PATH=$HOME/pool/lib:${LD_LIBRARY_PATH}
> again, but it still didn't work.  Here is my siteconf.py
> 
> BOOST_INC_DIR = ['/Home/da-vinci/pool/include/boost-1_37']
> BOOST_LIB_DIR = ['Home/pool/lib']
> BOOST_PYTHON_LIBNAME = ['libboost_python-gcc42-mt']
> CUDA_ROOT = '/usr/local/cuda'
> CUDADRV_LIB_DIR = []
> CUDADRV_LIBNAME = ['cuda']
> CXXFLAGS = []
> LDFLAGS = []

Your boost installation looks a little weird. Your lib/ and
include/ dirs are normally in the same base directory. I guess your
libdir is erroneous. Should be something like :

BOOST_LIB_DIR = ['/Home/da-vinci/pool/lib']

> 
> 
> for Boost_python_libname, I tried either boost_python-gcc-42-mt or
> libboost_python-gcc42-mt.

The prefix "lib" is implicit and should never be prepend to the
library name. You can try with :

BOOST_PYTHON_LIBNAME = ['boost_python-mt']

which is, for many installations, a symbolic link pointing to
the right library.

cheers,

J-Pascal

Attachment: signature.asc
Description: PGP signature

_______________________________________________
PyCuda mailing list
[email protected]
http://tiker.net/mailman/listinfo/pycuda_tiker.net

Reply via email to