[CIG-SHORT] pylith-1.8.0

Brad Aagaard baagaard at usgs.gov
Mon Dec 18 09:13:30 PST 2017


Ehsan,

This is an odd error. I think it suggests that something went wrong 
during the build and/or install. If you ran into errors building and 
restarted with different settings, you may need to wipe the build and 
target directories clean and start fresh.

Regards,
Brad


On 12/16/17 8:43 PM, Ehsan Haghighat wrote:
> Hello Brad,
>
> I was able to compile the 1.8.0 libraries following your suggestions (most of the repositories need to be changed). I can share the Makefile with you if you want to update the 1.8.0 then others can still install it if needed.
>
> However, after adding my libraries, I get following errors that I cannot figure them out. Can you help here? Anything you can think of? Really appreciated. The make works fine, but when I want to install it (make install), I get following error.
>
> Best,
> Ehsan
>
>
>
>
> -----------------
> libtool: install: /usr/bin/install -c .libs/_bcmodule.soT /nobackup1/ehsanhaghighat/dev/GRS-1.8.0/pylith/lib/python2.7/site-packages/pylith/bc/_bcmodule.so
> libtool: install: /usr/bin/install -c .libs/_bcmodule.lai /nobackup1/ehsanhaghighat/dev/GRS-1.8.0/pylith/lib/python2.7/site-packages/pylith/bc/_bcmodule.la
> libtool: finish: PATH="/nobackup1/ehsanhaghighat/dev/GRS-1.8.0/pylith/bin:/nobackup1/ehsanhaghighat/dev/GRS-1.8.0/pylith/bin:/nobackup1/ehsanhaghighat/dev/GRS-1.8.0/pylith/bin:/nobackup1/ehsanhaghighat/dev/GRS-2.1.0/pylith/bin:/nobackup1/ehsanhaghighat/.software/os6/grs-2.1.0/bin:/home/ehsanhaghighat/tools/GPRS-Only/GPRS08/bin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/sbin:/usr/sbin:/sbin" ldconfig -n /nobackup1/ehsanhaghighat/dev/GRS-1.8.0/pylith/lib/python2.7/site-packages/pylith/bc
> ----------------------------------------------------------------------
> Libraries have been installed in:
>    /nobackup1/ehsanhaghighat/dev/GRS-1.8.0/pylith/lib/python2.7/site-packages/pylith/bc
>
> If you ever happen to want to link against installed libraries
> in a given directory, LIBDIR, you must either use libtool, and
> specify the full pathname of the library, or use the `-LLIBDIR'
> flag during linking and do at least one of the following:
>    - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
>      during execution
>    - add LIBDIR to the `LD_RUN_PATH' environment variable
>      during linking
>    - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
>    - have your system administrator add LIBDIR to `/etc/ld.so.conf'
>
> See any operating system documentation about shared libraries for
> more information, such as the ld(1) and ld.so(8) manual pages.
> ----------------------------------------------------------------------
> test -z "/nobackup1/ehsanhaghighat/dev/GRS-1.8.0/pylith/lib/python2.7/site-packages/pylith/bc" || /bin/mkdir -p "/nobackup1/ehsanhaghighat/dev/GRS-1.8.0/pylith/lib/python2.7/site-packages/pylith/bc"
>  /usr/bin/install -c -m 644 ../../../pylith-1.8.0/modulesrc/bc/bc.py '/nobackup1/ehsanhaghighat/dev/GRS-1.8.0/pylith/lib/python2.7/site-packages/pylith/bc'
> /bin/sh: line 16: ../../../pylith-1.8.0/./aux-config/py-compile: Permission denied
> make[3]: *** [install-subpkgpyexecPYTHON] Error 126
> make[3]: Leaving directory `/nobackup1b/users/ehsanhaghighat/dev/GRS-1.8.0/build/pylith/pylith-build/modulesrc/bc'
> make[2]: *** [install-am] Error 2
> make[2]: Leaving directory `/nobackup1b/users/ehsanhaghighat/dev/GRS-1.8.0/build/pylith/pylith-build/modulesrc/bc'
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory `/nobackup1b/users/ehsanhaghighat/dev/GRS-1.8.0/build/pylith/pylith-build/modulesrc'
> make: *** [install-recursive] Error 1
>
> -----------------------
>
>> On Dec 15, 2017, at 5:18 PM, Brad Aagaard <baagaard at usgs.gov> wrote:
>>
>> On 12/15/2017 01:53 PM, Ehsan Haghighat wrote:
>>> You mentioned earlier about compiling the 1.8.0 that I should download manually the packages; where should I download the from? And how can I do that? (Because of if the link in Makefile is not working, it should not be accessible externally either. Am I missing something)
>>
>> You should be able to find most of the dependencies here:
>> http://geoweb.cse.ucdavis.edu/~buildbot/deps
>>
>> If they are not there, then you may need to get them from the individual sites. For example, Python comes from python.org.
>>
>> Regards,
>> Brad
>> _______________________________________________
>> CIG-SHORT mailing list
>> CIG-SHORT at geodynamics.org
>> http://lists.geodynamics.org/cgi-bin/mailman/listinfo/cig-short
>



More information about the CIG-SHORT mailing list