Closed mikessh closed 6 years ago
Hi! Thanks for posting this issue, about your different problems:
igor_src
but this is on purpose. I'll try and suppress this warning as several users were worried about it.cannot remove '/usr/local/bin/igor': Permission denied
)Hi @qmarcou , I wanted to chime in that I've been having issue2 as well when trying to install version 1.2.0. Per your request I've included the exact output of the install attempt. This was after configuring per instructions. I tried a number of things but was unable to resolve the issue. I run Ubuntu and already have libgsl2 installed. I installed libtool-bin to see if that would resolve the issue, but it didn't.
REDACTED@REDACTED:~/Installs/IGoR/igor_1-2-0$ sudo make install
Making install in libs
make[1]: Entering directory '/home/REDACTED/Installs/IGoR/igor_1-2-0/libs'
Making install in gsl_sub
make[2]: Entering directory '/home/REDACTED/Installs/IGoR/igor_1-2-0/libs/gsl_sub'
Making install in gsl
make[3]: Entering directory '/home/REDACTED/Installs/IGoR/igor_1-2-0/libs/gsl_sub/gsl'
make[4]: Entering directory '/home/REDACTED/Installs/IGoR/igor_1-2-0/libs/gsl_sub/gsl'
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/home/REDACTED/Installs/IGoR/igor_1-2-0/libs/gsl_sub/gsl'
make[3]: Leaving directory '/home/REDACTED/Installs/IGoR/igor_1-2-0/libs/gsl_sub/gsl'
Making install in utils
make[3]: Entering directory '/home/REDACTED/Installs/IGoR/igor_1-2-0/libs/gsl_sub/utils'
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT placeholder.lo -MD -MP -MF .deps/placeholder.Tpo -c -o placeholder.lo placeholder.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT placeholder.lo -MD -MP -MF .deps/placeholder.Tpo -c placeholder.c -fPIC -DPIC -o .libs/placeholder.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT placeholder.lo -MD -MP -MF .deps/placeholder.Tpo -c placeholder.c -o placeholder.o >/dev/null 2>&1
mv -f .deps/placeholder.Tpo .deps/placeholder.Plo
/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -o libutils.la placeholder.lo -lm
libtool: link: ar cru .libs/libutils.a .libs/placeholder.o
ar: `u' modifier ignored since `D' is the default (see `U')
libtool: link: ranlib .libs/libutils.a
libtool: link: ( cd ".libs" && rm -f "libutils.la" && ln -s "../libutils.la" "libutils.la" )
make[4]: Entering directory '/home/REDACTED/Installs/IGoR/igor_1-2-0/libs/gsl_sub/utils'
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/home/REDACTED/Installs/IGoR/igor_1-2-0/libs/gsl_sub/utils'
make[3]: Leaving directory '/home/REDACTED/Installs/IGoR/igor_1-2-0/libs/gsl_sub/utils'
Making install in sys
make[3]: Entering directory '/home/REDACTED/Installs/IGoR/igor_1-2-0/libs/gsl_sub/sys'
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -g -O2 -MT minmax.lo -MD -MP -MF .deps/minmax.Tpo -c -o minmax.lo minmax.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -g -O2 -MT minmax.lo -MD -MP -MF .deps/minmax.Tpo -c minmax.c -fPIC -DPIC -o .libs/minmax.o
minmax.c:26:28: fatal error: gsl/gsl_minmax.h: No such file or directory
compilation terminated.
Makefile:640: recipe for target 'minmax.lo' failed
make[3]: *** [minmax.lo] Error 1
make[3]: Leaving directory '/home/REDACTED/Installs/IGoR/igor_1-2-0/libs/gsl_sub/sys'
Makefile:780: recipe for target 'install-recursive' failed
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory '/home/REDACTED/Installs/IGoR/igor_1-2-0/libs/gsl_sub'
Makefile:356: recipe for target 'install-recursive' failed
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory '/home/REDACTED/Installs/IGoR/igor_1-2-0/libs'
Makefile:509: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1
UPDATE: Actually, I was finally able to resolve this by copying all of your "gsl_" header files to the /igor_1-2-0/libs/gslsub/gsl/ directory. I copied all gsl*.h in /libs/gsl_sub/ and all of its subdirectories and then installation proceeded. I assume only a subset of those headers needed to be copied over but I wasn't keen to copy each one individually.
Because I had installed a previous version if IGoR, I also had to delete /usr/local/share/igor/models/ directory so that the final steps of installation wouldn't error out. igor -run_demo worked fine so I assume all is well with my installation now.
Thanks for your detailed bug report! And congratulations for sorting this out! You did well all the gsl_*.h should be copied in the gsl_sub/gsl directory during the configure step I am surprised they have not been. I'll sort this out quickly.
As for your second issue with uninstalling/updating IGoR I take note of it and try to make this a bit cleaner, many thanks!
Hello, I've got a following error while running"make install" on Linux machine:
make[2]: Entering directory /site/ne/home/Programs/igor_1-2-0/libs' make[3]: Entering directory
/site/ne/home/Programs/igor_1-2-0/libs'
make[3]: Nothing to be done for install-exec-am'. make[3]: Nothing to be done for
install-data-am'.
make[3]: Leaving directory /site/ne/home/Programs/igor_1-2-0/libs' make[2]: Leaving directory
/site/ne/home/Programs/igor_1-2-0/libs'
make[1]: Leaving directory /site/ne/home/Programs/igor_1-2-0/libs' Making install in igor_src make[1]: Entering directory
/site/ne/home/Programs/igor_1-2-0/igor_src'
make[2]: Entering directory /site/ne/home/Programs/igor_1-2-0/igor_src' /usr/bin/mkdir -p '/site/ne/home/Programs/igor_1-2-0/bin' /bin/sh ../libtool --mode=install /usr/bin/install -c igor '/site/ne/home/Programs/igor_1-2-0/bin' libtool: install: /usr/bin/install -c igor /site/ne/home/Programs/igor_1-2-0/bin/igor make[2]: Nothing to be done for
install-data-am'.
make[2]: Leaving directory /site/ne/home/Programs/igor_1-2-0/igor_src' make[1]: Leaving directory
/site/ne/home/Programs/igor_1-2-0/igor_src'
make[1]: Entering directory /site/ne/home/Programs/igor_1-2-0' make[2]: Entering directory
/site/ne/home/Programs/igor_1-2-0'
make[2]: Nothing to be done for install-exec-am'. mkdir /site/ne/home/Programs/igor_1-2-0/share/igor/models mkdir: cannot create directory ‘/site/ne/home/Programs/igor_1-2-0/share/igor/models’: No such file or directory make[2]: *** [install-data-local] Error 1 make[2]: Leaving directory
/site/ne/home/Programs/igor_1-2-0'
make[1]: [install-am] Error 2
make[1]: Leaving directory `/site/ne/home/Programs/igor_1-2-0'
make: [install-recursive] Error 1
I've figured out that neither "igor" nor "share" had been created in igor_1-2-0 directory. After creating them manually, the problem was solved.
Hi @Disomics ,
I think this issue has been fixed by @smoe with #13
I'll make a new release patch within days (most likely tomorrow). Otherwise the corrected version is available on the master
branch although not packaged.
Hi @mikessh and @jeremycfd, I'm still not sure why you experienced this issue with missing gsl headers, I have just released v1.3.0, could you tell me if you still experience installation issues with the new release?
Hello, I don't have the problem with minmax
in 1.3.0
, however there is a problem with gsl matrix:
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -g -O2 -MT permute.lo -MD -MP -MF .deps/permute.Tpo -c permute.c -fPIC -DPIC -o .libs/permute.o
permute.c:7:36: fatal error: gsl/gsl_permute_matrix.h: No such file or directory
compilation terminated.
Makefile:634: recipe for target 'permute.lo' failed
make[3]: *** [permute.lo] Error 1
make[3]: Leaving directory '/home/mikesh/distr/igor_1-3-0/libs/gsl_sub/permutation'
Makefile:780: recipe for target 'install-recursive' failed
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory '/home/mikesh/distr/igor_1-3-0/libs/gsl_sub'
Makefile:356: recipe for target 'install-recursive' failed
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory '/home/mikesh/distr/igor_1-3-0/libs'
Makefile:509: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1
(I'm installing it to local folder with --prefix
option so permissions are OK)
PS sudo apt-get install libgsl-dev
solves everything
Oooh I think I have found the reason why this is crashing.
In the GSL library the header files are all gathered in a gsl
directory as @jeremycfd pointed out, but these files are copied only at compile time using the make
command.
Anyway have you used the make
command before make install
? I have managed to reproduce your minmax.h issue by typing make install
before any make
invocation.
I don't think make install
initially calls make all
thus there is nothing to install yet as the software has not been compiled.
Thanks for the quick test!
No I haven't, I've just ran make install
so perhaps you are correct. Unfortunately I can not easily re-check this as this will require uninstalling libgsl, etc
Sure I completely understand, but is the gsl_matrix.h issue going away if you use
./configure
make
make install
with v1.3.0?
Yep, right now there is no issue with configure-make-make install.
Great!
I'll thus close this issue for now and will re-open it if the problem turned out to be different from not using make
before make install
.
Meanwhile I have updated the documentation to make this clearer.
Thank you for your swift testing!
Hello!
I've got the following problems with installing on our Ubuntu server:
./configure
results in a warning"configure: WARNING: no configuration information is in igor_src"
make install
fails withminmax.c:26:28: fatal error: gsl/gsl_minmax.h: No such file or directory
I use linuxbrew, so
brew install gsl
(installing GNU Scientific Library) and thenmake install
solved my problem. I mean I've got a functional binary inigor_src
(without man pages), andmake install
exited with