Dear all
i have tried abinit in windows version, it's works fine.
now i want try in linux version (opensuse11.3)
after make tmp folder and type ../configure
i got this error
arsyik@linux-cybg:~/abinit/tmp-build> ../configure
==============================================================================
=== Overall startup ===
==============================================================================
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make sets $(MAKE)... (cached) yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /usr/bin/sed
checking for gawk... (cached) gawk
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
configure: not loading options (no config file available)
==============================================================================
=== Build-system information ===
==============================================================================
configure: ABINIT version 6.12.3
configure: M4 010416 - Autoconf 026800 - Automake 011100 - Libtool 020204
configure: reporting user interface changes:
configure: * new option --enable-gui is available
configure: * new option --enable-gw-openmp is available
configure: * new option --with-algo-flavor is available
configure: * new option --with-algo-incs is available
configure: * new option --with-algo-libs is available
configure: * --with-fallbacks-tardir removed
==============================================================================
=== Option consistency checking ===
==============================================================================
configure: checking consistency of library-related options
configure: |---> all OK
configure:
configure: checking consistency of experimental options
configure: |---> all OK
configure:
configure: |---> all OK
configure:
configure: parsing command-line options
==============================================================================
=== Multicore architecture startup ===
==============================================================================
configure: MPI support disabled from command-line
configure: GPU support disabled from command-line
==============================================================================
=== Utilities ===
==============================================================================
checking for sh... /usr/bin/sh
checking for mv... /bin/mv
checking for perl... /usr/bin/perl
checking for rm... /bin/rm
checking for patch... patch
checking for tar... tar
==============================================================================
=== C support ===
==============================================================================
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... /lib/cpp
configure: error: in `/home/arsyik/abinit/tmp-build':
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details
how to fix it?
thanks
regards
arsyik
[SOLVED] error install in opensuse 11.3
Moderators: fgoudreault, mcote
Forum rules
Please have a look at ~abinit/doc/config/build-config.ac in the source package for detailed and up-to-date information about the configuration of Abinit 8 builds.
For a video explanation on how to build Abinit 7.x for Linux, please go to: http://www.youtube.com/watch?v=DppLQ-KQA68.
IMPORTANT: when an answer solves your problem, please check the little green V-like button on its upper-right corner to accept it.
Please have a look at ~abinit/doc/config/build-config.ac in the source package for detailed and up-to-date information about the configuration of Abinit 8 builds.
For a video explanation on how to build Abinit 7.x for Linux, please go to: http://www.youtube.com/watch?v=DppLQ-KQA68.
IMPORTANT: when an answer solves your problem, please check the little green V-like button on its upper-right corner to accept it.
[SOLVED] error install in opensuse 11.3
- Attachments
-
- config.log
- config log file
- (38.69 KiB) Downloaded 291 times
Re: error install in opensuse 11.3
Looks like your system is lacking basic kernel headers. There should be a package that when installed will bring the missing C header files. Under Debian the packages are called linux-headers and linux-source, but I don't know for SuSE.
Yann Pouillon
Simune Atomistics
Donostia-San Sebastián, Spain
Simune Atomistics
Donostia-San Sebastián, Spain
Re: error install in opensuse 11.3
Thanks for your reply,
Ok. now i'm using another version but still opensuse,
and follow command
../configure
make
make install
after long time waiting while install
and appear this error.
make[3]: Entering directory `/home/arsyik/abinit/build/src/95_drive'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'. ------>>> Frequently appear
make[3]: Leaving directory `/home/arsyik/abinit/build/src/95_drive'
make[2]: Leaving directory `/home/arsyik/abinit/build/src/95_drive'
Making install in 98_main
make[2]: Entering directory `/home/arsyik/abinit/build/src/98_main'
.......
make[3]: Entering directory `/home/arsyik/abinit/build/src/98_main'
test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
/usr/bin/install -c abinetcdf abinit aim anaddb band2eps conducti cut3d fftprof kss2wfk lwf mrgddb mrggkk mrgscr newsp optic ujdet macroave '/usr/local/bin'
/usr/bin/install: cannot create regular file `/usr/local/bin/abinetcdf': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/abinit': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/aim': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/anaddb': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/band2eps': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/conducti': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/cut3d': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/fftprof': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/kss2wfk': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/lwf': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/mrgddb': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/mrggkk': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/mrgscr': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/newsp': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/optic': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/ujdet': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/macroave': Permission denied
make[3]: *** [install-binPROGRAMS] Error 1
make[3]: Leaving directory `/home/arsyik/abinit/build/src/98_main'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/home/arsyik/abinit/build/src/98_main'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/arsyik/abinit/build/src'
make: *** [install-recursive] Error 1
arsyik@linux-umlz:~/abinit/build>
Can anyone help me and explain why?
Thanks in advance!
arsyik
Ok. now i'm using another version but still opensuse,
and follow command
../configure
make
make install
after long time waiting while install
and appear this error.
make[3]: Entering directory `/home/arsyik/abinit/build/src/95_drive'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'. ------>>> Frequently appear
make[3]: Leaving directory `/home/arsyik/abinit/build/src/95_drive'
make[2]: Leaving directory `/home/arsyik/abinit/build/src/95_drive'
Making install in 98_main
make[2]: Entering directory `/home/arsyik/abinit/build/src/98_main'
.......
make[3]: Entering directory `/home/arsyik/abinit/build/src/98_main'
test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
/usr/bin/install -c abinetcdf abinit aim anaddb band2eps conducti cut3d fftprof kss2wfk lwf mrgddb mrggkk mrgscr newsp optic ujdet macroave '/usr/local/bin'
/usr/bin/install: cannot create regular file `/usr/local/bin/abinetcdf': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/abinit': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/aim': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/anaddb': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/band2eps': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/conducti': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/cut3d': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/fftprof': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/kss2wfk': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/lwf': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/mrgddb': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/mrggkk': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/mrgscr': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/newsp': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/optic': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/ujdet': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/macroave': Permission denied
make[3]: *** [install-binPROGRAMS] Error 1
make[3]: Leaving directory `/home/arsyik/abinit/build/src/98_main'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/home/arsyik/abinit/build/src/98_main'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/arsyik/abinit/build/src'
make: *** [install-recursive] Error 1
arsyik@linux-umlz:~/abinit/build>
Can anyone help me and explain why?
Thanks in advance!
arsyik
Re: error install in opensuse 11.3
I'm sorry, t think my problem is solved, after type sudo make install , and it's successed.
now i can run well.
now i can run well.