GSI Helmholtzzentrum für Schwerionenforschung
Problems compiling external packages on ubuntu 8.10
Hi I am using ubuntu 8.10 64bit edition using gcc version 4.3.2. Problem 1(solved, i tink): When running the configure.sh script it cant find my gfortran version. Therefore i added some lines in the script finding the version to read the version for me. Problem 2: This results in the compiling to start but it stops due to compiler errors at ml-gsoapclient-2.7.10 package. More accurately: testWS.cxx: In function ‘int main(int, char**)’: testWS.cxx:7: error: unknown escape sequence '\*' testWS.cxx:8: error: ‘exit’ was not declared in this scope testWS.cxx:18: error: ‘atoi’ was not declared in this scope testWS.cxx:22: error: ‘atol’ was not declared in this scope make[1]: *** [testWS.o] Error 1 make[1]: Leaving directory `/home/sverre/fairsoft/tools/ml-gsoapclient-2.7.10/src' make: *** [install-recursive] Error 1 **** Checking libraries in /home/sverre/fairsoft/tools/monalisa/lib/ **** *** ERROR: ml-gsoapclient could not be created. *** End installation of external packages with Errors*** Is there any easy way out of this problem? Thanks Sverre Ps: the same problems occur on ubuntu 8.04 32 bit with the same compiler version
Re: Problems compiling external packages on ubuntu 8.10
Hi Sverre This is a problem with the new compiler. I have this already reported to the developers. The problem is exactely in the line 7 of testWS.cxx. Edit the file and either comment the line or escape the \ with another \ (\* -> \\*). Hope the problem is gone in the next version. Ciao Florian
Thanks for the help. Even though this was not the problem. The problem was found to be that the package "patch" was not installed on the system and the thus the file with the bug was not patched. The solution was then to install the patch package using the package system. Later on in the install more packages was found missing, and all of them were possible to find and install using the package manager in Ubuntu. When this is done the config.sh script runs without errors. Regards Sverre