Giter Club home page Giter Club logo

Comments (12)

qmarcou avatar qmarcou commented on August 29, 2024

Hi!
Thanks for posting this issue, about your different problems:

  1. This is just a warning, there is indeed no configure information in igor_src but this is on purpose. I'll try and suppress this warning as several users were worried about it.
  2. Would you by chance have the logs of what happened by typing make before you installed GSL? What command did you use exactly? All the required parts of GSL are shipped with IGoR so you should not have to install it yourself. I'm even more surprised by the fact that installing it solved your initial problem!
  3. As for your final problem this seems to simply be a permission issue as you may not have write permissions in some folders (cannot remove '/usr/local/bin/igor': Permission denied)

from igor.

jeremycfd avatar jeremycfd commented on August 29, 2024

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/gsl_sub/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.

from igor.

qmarcou avatar qmarcou commented on August 29, 2024

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!

from igor.

Disomics avatar Disomics commented on August 29, 2024

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.

from igor.

qmarcou avatar qmarcou commented on August 29, 2024

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.

from igor.

qmarcou avatar qmarcou commented on August 29, 2024

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?

from igor.

mikessh avatar mikessh commented on August 29, 2024

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

from igor.

qmarcou avatar qmarcou commented on August 29, 2024

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!

from igor.

mikessh avatar mikessh commented on August 29, 2024

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

from igor.

qmarcou avatar qmarcou commented on August 29, 2024

Sure I completely understand, but is the gsl_matrix.h issue going away if you use

./configure
make
make install

with v1.3.0?

from igor.

mikessh avatar mikessh commented on August 29, 2024

Yep, right now there is no issue with configure-make-make install.

from igor.

qmarcou avatar qmarcou commented on August 29, 2024

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!

from igor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.