gimli-org / gimli

Geophysical Inversion and Modeling Library :earth_africa:
https://www.pygimli.org
Other
385 stars 138 forks source link

Problem with pygimli installation #36

Closed kodaz1 closed 8 years ago

kodaz1 commented 8 years ago

After solving the problem with casxml i run the script installation - curl -Ls install.pygimli.org | bash

another error occured: File "/home/arfang/gimli/thirdParty/dist-GNU-4.8.4-32/pyplusplus/file_writers/multiple_files.py", line 56, in write_file raise RuntimeError( os.linesep.join(msg) ) RuntimeError: Py++ is going to write different content to the same file(./generated/ContainerType.pypp.hpp). The following is a short list of possible explanations for this behaviour:

ContainerType.pypp-hpp.txt could you have a look if you have time please ?

Thanks

carsten-forty2 commented 8 years ago

I tried right now with current castxml/pygccxml and pyplusplus without seeing this issue. Can you please try to start with an empty build directory and setting

CLEAN=1 before the cmake command

or just delete the thirdparty directory.

kodaz1 commented 8 years ago

I have delete all the src directory, reboot my computer and run a new install but the same error occured . What do you think is happening ? thanks

carsten-forty2 commented 8 years ago

can you please provide a full log

CLEAN=1 cmake ../gimli 2>&1 | tee cmake.log make pygimli 2>&1 | tee make.log

kodaz1 commented 8 years ago

make.log and cmake.log Thank you for your help cmake-log.txt make-log.txt

carsten-forty2 commented 8 years ago

-- Target is 32 bits

Do you really have 32bit linux system? ..

32bit Linux is not supported.

I think that might be the reason. I don't have any access to such hardware so I can't support or verify but the "write different content to the same" issue sounds plausible to me then.

kodaz1 commented 8 years ago

yes i'm using a 32 bit linux system. thank you , i have learn a lot by trying to install this software

kodaz1 commented 8 years ago

Hi , I finally succeed in building pygimli after setting a 64 bit linux system ( Ubuntu trusty ) on another computer. Everything is ok and i'm able to load the module with spyder and use it. Thank you for your help and all the advices .

2016-03-23 16:49 GMT+01:00 carsten-forty2 notifications@github.com:

-- Target is 32 bits

Do you really have 32bit linux system? ..

32bit Linux is not supported.

I think that might be the reason. I don't have any access to such hardware so I can't support or verify but the "write different content to the same" issue sounds plausible to me then.

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/gimli-org/gimli/issues/36#issuecomment-200404585

carsten-forty2 commented 8 years ago

thanks for reporting back

closed #36