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

Installation (Extention) + subsequent testing error #34

Open
CryptoLisboa opened this issue Apr 10, 2018 · 0 comments
Open

Installation (Extention) + subsequent testing error #34

CryptoLisboa opened this issue Apr 10, 2018 · 0 comments

Comments

@CryptoLisboa
Copy link

Hi, Im using a MAC OS 10.13 where I have xampp installed.
To try get fann working with php I have followed your installation guide step by step from https://github.com/bukka/php-fann without problems up to the "make". I also did the make test to ensure all was right up to there.
However afterwards I am getting the following error:

"
sudo make install
/bin/sh /Applications/XAMPP/xamppfiles/etc/php-fann/libtool --mode=install cp ./fann.la /Applications/XAMPP/xamppfiles/etc/php-fann/modules
cp ./.libs/fann.so /Applications/XAMPP/xamppfiles/etc/php-fann/modules/fann.so
cp ./.libs/fann.lai /Applications/XAMPP/xamppfiles/etc/php-fann/modules/fann.la

Libraries have been installed in:
/Applications/XAMPP/xamppfiles/etc/php-fann/modules

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:

  • add LIBDIR to the `DYLD_LIBRARY_PATH' environment variable
    during execution

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.

Installing shared extensions: /usr/lib/php/extensions/no-debug-non-zts-20160303/
cp: /usr/lib/php/extensions/no-debug-non-zts-20160303/#INST@24498#: Operation not permitted
make: *** [install-modules] Error 1
"

Moreover if I do try to proceed with the error I get this from php:

"
Fatal error: Call to undefined function fann_create_standard() in /Applications/XAMPP/xamppfiles/htdocs/ann_teste/simple_train.php on line 10
"

@CryptoLisboa CryptoLisboa changed the title Installation + subsequent testing error Installation (Extention) + subsequent testing error Apr 10, 2018
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

1 participant