Hi Nikos, Victor is absolutely right. GSL has two libraries. A look in your config.log shows somethings like: /opt/apps/gsl/1.13/lib/libgsl.so: undefined reference to `cblas_ctrmv'
The flags of gsl when building votca-tools have to look somehow like: GSL_LIBS="-L/opt/apps/gsl/1.13/lib -lgsl -lgslcblas" To avoid this hand work we are internally using pkg-config, however with libs in a none standard place one would have to add their path to PKG_CONFIG_PATH (in your case /opt/apps/gsl/1.13/lib/pkgconfig). The problem of missing link flags shows up when the libvotca_tools is linked for the first time (by configure of votca-csg). We improve this in votca 1.2. Cheers, Christoph 2011/2/27 Victor Ruehle <[email protected]>: > Dear Nikos, > > did you use pkgconfig to get all the gsl flags? (set PKG_CONFIG_PATH) > to the installed location where the .pc file ist? > > libgsl has additional dependencies, if you specify the flags by hand, > you have to add these as well. In your case cblas is missing (see > undefined reference in config.log). If i remember correctly, > -lgslcblas is missing, however I would strongly reccomment to use > pkgconfig (set PKG_CONFIG_PATH). You can check whether it works using > pkg-config --libs gsl > > If that works, you will not have to specify any gsl specific flags / > environment variables. > > Cheers, > Victor > > 2011/2/27 Nikos Bentenitis <[email protected]>: >> Hello Christoph, >> >> Thank you for your quick response. >> >> I have the latest version of build.sh and setting the http_proxy on >> ~/.hgrc did not solve the problem. >> >> In the output that I sent before >> checking for votca::tools::ToolsVersionStr in -L$HOME/votca/lib >> -lvotca_tools... no configure: error >> I had intentionally written $HOME to substitute the longer message >> that looked like >> checking for votca::tools::ToolsVersionStr in >> -L/share/home/01657/nbenteni/votca/lib -lvotca_tools... no configure: >> error >> I did that for simplicity, but it was confusing. In other words, there >> was no problem with the $HOME variable. >> >> Also, sourcing VOTCARC.bash before configuring did not solve the problem. >> >> I attached the config.log from the configure run of csg to this email. >> >> Thank you >> >> Nikos >> >> >> On Sat, Feb 26, 2011 at 4:51 PM, Christoph Junghans >> <[email protected]> wrote: >>> Hi Nikos, >>>> >>>> Hello, >>>> >>>> I am trying to install VOTCA 1.1 on a guest machine for which I don't >>>> have root access and I am using $HOME/votca as the directory. >>>> >>>> Unfortunately, build.sh quits immediately after its initial countdown >>>> with a 404 HTTP error. Since this error occurs only on the specific >>>> machine, I tried to install Votca from source. >>> >>> This looks like mercurial is not able to clone the repository. >>> Possible Problems + Solution: >>> -your version of build.sh is not uptodate, get the new version with >>> 'wget http://votca.googlecode.com/hg/build.sh' >>> -set a http proxy in your ~/.hgrc, see: >>> http://www.selenic.com/mercurial/hgrc.5.html#http-proxy >>> >>>> >>>> After downloading the source files, uncompressing, declaring the FFTW3 >>>> and GSL library locations, I was able to compile TOOLS. But when I >>>> tried to configure CSG, I got the following error: >>>> >>>> checking for votca::tools::ToolsVersionStr in -L$HOME/votca/lib >>>> -lvotca_tools... no >>> >>> This message shows me that '$HOME/votca/lib' was not expanded by the shell >>> correctly. Either specify the HOME directory directly or export the >>> environment variables with soft quotes(") and not with hard quotes('). >>> >>> It could also help to source VOTCARC.bash, installed by votca-tools, before >>> building votca-csg. >>>> >>>> configure: error: >>>> >>>> Could not link against VOTCA tools, >>>> please check your LDFLAGS and/or specify libraries required to link >>>> in VOTCA_TOOLS_LIBS (e.g. export VOTCA_TOOLS_LIBS="-L<votca-path>/lib >>>> -lvotca_tools"). >>>> >>>> I am perplexed that the solution that configure is suggesting is the >>>> same as the one I have used. Do you have any further suggestions? >>> >>> If none of the tricks above helped, please post the config.log of the >>> configure run of csg. >>> >>> Cheers, >>> >>> Christoph >>>> >>>> Thank you, >>>> >>>> Nikos >>>> >>>> -- >>>> You received this message because you are subscribed to the Google Groups >>>> "votca" group. >>>> To post to this group, send email to [email protected]. >>>> To unsubscribe from this group, send email to >>>> [email protected]. >>>> For more options, visit this group at >>>> http://groups.google.com/group/votca?hl=en. >>>> >>>> >>>> -- >>>> This email was Anti Virus checked by Astaro Security Gateway. >>>> http://www.astaro.com >>>> >>> >>> >>> ----- Ende der Nachricht von [email protected] ----- >>> >>> >>> >>> -- >>> Dr. Christoph Junghans >>> Max Planck Institute for Polymer Research >>> Theory Group >>> POBox 3148 >>> D 55021 Mainz, Germany >>> >>> Phone: +49 6131 379 335 >>> Web: http://www.mpip-mainz.mpg.de/~junghans >>> >>> ---------------------------------------------------------------- >>> This message was sent using IMP, the Internet Messaging Program. >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "votca" group. >>> To post to this group, send email to [email protected]. >>> To unsubscribe from this group, send email to >>> [email protected]. >>> For more options, visit this group at >>> http://groups.google.com/group/votca?hl=en. >>> >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "votca" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/votca?hl=en. >> >> > > -- > You received this message because you are subscribed to the Google Groups > "votca" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/votca?hl=en. > > -- Dr. Christoph Junghans Votca Core Developer Web: http://www.votca.org -- You received this message because you are subscribed to the Google Groups "votca" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/votca?hl=en.
