Problem bei GSL 'make install' : Permission denied

Dylans Ghost

Aktives Mitglied
Thread Starter
Dabei seit
25.09.2012
Beiträge
110
Reaktionspunkte
2
Hallo,
der Auszug
Uwes-iMac:gsl-2.3 January15$ make install
Making install in gsl
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
Making install in utils
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
Making install in sys
make[2]: Nothing to be done for `install-exec-am'.
.././install-sh -c -d '/usr/local/include/gsl'
mkdir: /usr/local/include: Permission denied
mkdir: /usr/local/include: No such file or directory
make[2]: *** [install-pkgincludeHEADERS] Error 1
make[1]: *** [install-am] Error 2
make: *** [install-recursive] Error 1
Uwes-iMac:gsl-2.3 January15$ sudo make install
Password:
bringt mich bis an die letzte Zeile, da kann man aber nichts eingeben.
Wie komm' ich weiter ?

Uwe
 
da sieht man die eingabe aus sicherheitsgründen nicht, damit keine die länge des passwortes ablesen kann.
einfach tippen und return drücken …
 
  • Gefällt mir
Reaktionen: Dylans Ghost
@one=eight
damit keine die länge... ;)

Da ich auf ein login password verzichte, musste ich erst eins vereinbaren - aber dann ist 'sudo make install' gelaufen.
Danach habe ich noch 'make installcheck' und 'make distcheck' eingegeben mit dem Ergebnis :
TEXINPUTS="../../doc:$TEXINPUTS" \

MAKEINFO='/bin/sh /Users/January15/Documents/Xcode/gsl-2.3/gsl-2.3/missing makeinfo -I ../../doc' \

texi2dvi --build-dir=gsl-ref.t2d -o gsl-ref.dvi \

../../doc/gsl-ref.texi

/usr/bin/texi2dvi: Can't use option `--output' with more than one argument.

make[3]: *** [gsl-ref.dvi] Error 2

make[2]: *** [dvi-recursive] Error 1

make[1]: *** [dvi-recursive] Error 1

make: *** [distcheck] Error 1

Uwes-iMac:gsl-2.3 January15$



Das sieht nicht so aus als ob alles ok ist - und wenn doch - wie binde ich GLS in mein Projekt ein ?
  1. Next, in your Xcode target, two flags must be set in Build Settings
a. Search Paths/Header Search Paths: /usr/local/include
b. Linking/Other Linker Flags: -I/usr/local/include -L/usr/local/lib -lgsl -lgslcblas

Apple Mach-O Linker (ld) Error Group
: Linker command failed with exit code 1 (use -v to see invocation)

Terminal:
Last login: Sat Apr 8 13:50:45 on ttys001

Uwes-iMac:~ January15$ /usr/local/lib/libgslcblas.0.dylib ; exit;

-bash: /usr/local/lib/libgslcblas.0.dylib: cannot execute binary file

logout

Saving session...

...copying shared history...

...saving history...truncating history files...

...completed.
 
Zuletzt bearbeitet:
Das sieht nicht so aus als ob alles ok ist - und wenn doch - wie binde ich GLS in mein Projekt ein ?

der hat halt probleme mit tex die doku zu machen, musst du in configure halt die doku mit raus nehmen.

und eine dylib kannst du nicht ausführen, die kannst du nur linken …
 
Vielleicht habe ich dich nicht verstanden, wenn ich den doc Ordner entferne, bekomme ich die Meldung :
config.status: creating diff/Makefile

config.status: error: cannot find input file: `doc/Makefile.in'

Nochmal mit ./configure angefangen, diesmal habe ich noch 'make clean' und 'make distclean' ausgeführt
Uwes-iMac:gsl-2.3 January15$ make distcheck

make: *** No rule to make target `distcheck'. Stop.

Eine Fehlermeldung habe ich nicht mehr bekommen, der Linker-Error in Xcode ist geblieben.
 
Code:
-bash: /usr/local/lib/libgslcblas.0.dylib: cannot execute binary file
Scheint doch geklappt zu haben. Immerhin ist eine Datei da. Schau halt ob du alle libs hast.

der Linker-Error in Xcode ist geblieben:
Der hier?
Code:
Apple Mach-O Linker (ld) Error Group
: Linker command failed with exit code 1 (use -v to see invocation)

Sorry, aber das sagt nichts aus. Da steht quas: Auto kaputt. Das steht sicher auch in der INSTALL von gsl wie man gsl einbindet.
 
Zurück
Oben Unten