Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building problem #10

Open
17DJGU opened this issue Jul 15, 2017 · 5 comments
Open

Building problem #10

17DJGU opened this issue Jul 15, 2017 · 5 comments

Comments

@17DJGU
Copy link

17DJGU commented Jul 15, 2017

As a following advise e-mail, I tried to install but still have a problem.

I tried to build the 'cbflib-master' as a command 'make' and 'cmake' both.

as a 'make' command , during the process 'make install'

libtool: install: (cd /root/lib && { ln -s -f libtiff.so.5.2.4 libtiff.so.5 || { rm -f libtiff.so.5 && ln -s libtiff.so.5.2.4 libtiff.so.5; }; })
libtool: install: (cd /root/lib && { ln -s -f libtiff.so.5.2.4 libtiff.so || { rm -f libtiff.so && ln -s libtiff.so.5.2.4 libtiff.so; }; })
libtool: install: /usr/bin/install -c .libs/libtiff.lai /root/lib/libtiff.la
libtool: error: error: cannot install 'libtiffxx.la' to a directory not ending in /usr/local/cbflib-master/lib
make[3]: *** [install-libLTLIBRARIES] Error 1
make[3]: Leaving directory /usr/local/cbflib-master/tiff-4.0.6_rev_3Nov16/libtiff' make[2]: *** [install-am] Error 2 make[2]: Leaving directory /usr/local/cbflib-master/tiff-4.0.6_rev_3Nov16/libtiff'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/usr/local/cbflib-master/tiff-4.0.6_rev_3Nov16'
make: *** [tiff-4.0.6_rev_3Nov16_INSTALL] Error 2

as 'cmake', during the 'make all' command

Scanning dependencies of target test_fcb_read_image
[ 13%] Building Fortran object CMakeFiles/test_fcb_read_image.dir/src/test_fcb_read_image.f90.o
Warning: Nonexistent include directory "/usr/local/cbflib-master/hdf5-1.8.14/include"
Warning: Nonexistent include directory "/usr/local/cbflib-master/tiff-4.0.3-rev-29Sep13/include"
make[2]: *** No rule to make target hdf5-1.8.14/lib/libhdf5.so', needed by bin/test_fcb_read_image'. Stop.
make[1]: *** [CMakeFiles/test_fcb_read_image.dir/all] Error 2
make: *** [all] Error 2

and after changing 'makefile'

Program to use to retrieve a URL

DOWNLOAD = wget -N
#DOWNLOAD ?= curl -O -L

mkdir -p /root/bin
mkdir -p /root/include
mkdir -p /root/include/cbflib
chmod -R 755 /root/include/cbflib
chmod 755 /root/lib/libcbf.a
cp /root/lib/libcbf.a /root/lib/libcbf_old.a
cp ./lib/libcbf.a /root/lib/libcbf.a
chmod 755 /root/lib/libimg.a
cp /root/lib/libimg.a /root/lib/libimg_old.a
cp ./lib/libimg.a /root/lib/libimg.a
chmod 755 /root/lib/libfcb.a
cp /root/lib/libfcb.a /root/lib/libfcb_old.a
cp ./lib/libfcb.a /root/lib/libfcb.a
chmod 755 /root/lib/libcbf.so
cp /root/lib/libcbf.so /root/lib/libcbf_old.so
cp ./lib/libcbf.so /root/lib/libcbf.so
cp: cannot stat ‘./lib/libcbf.so’: No such file or directory
make: *** [install] Error 1

same problem is happen still.

@yayahjb
Copy link
Collaborator

yayahjb commented Jul 15, 2017

Please try make with the 538bda7 commit version. We not not able to reproduce the exact failure in a Debian-8, but did get a similar failure, which seems to have been resolved by a make distclean of the tiff kit just before the make install. The cmake error is still being investigated. More data on the exact system involved would be helpful.

@17DJGU
Copy link
Author

17DJGU commented Jul 17, 2017

System : CentOS7 (64bit)

processor : 0-4
vendor_id : GenuineIntel
cpu family : 6
model : 94
model name : Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
stepping : 3
microcode : 0x9e
cpu MHz : 800.000
cache size : 8192 KB
physical id : 0
siblings : 8
core id : 0
cpu cores : 4
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 22
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch ida arat pln pts dtherm hwp hwp_noitfy hwp_act_window hwp_epp intel_pt tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt xsaveopt xsavec xgetbv1
bogomips : 8016.00
clflush size : 64
cache_alignment : 64
address sizes : 39 bits physical, 48 bits virtual
power management:

@yayahjb
Copy link
Collaborator

yayahjb commented Jul 17, 2017

Please forward the log of the build with the 538bda7 commit under CentOS7.

@17DJGU
Copy link
Author

17DJGU commented Jul 18, 2017

Thanks for your help, 538bda7 was successfully build. Thank you.

@yayahjb
Copy link
Collaborator

yayahjb commented Jul 18, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants