You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mxnet.apache.org by GitBox <gi...@apache.org> on 2023/01/13 00:23:20 UTC
[GitHub] [mxnet] marcontk opened a new issue, #21169: Installing MXNet Perl Bindings - mxnet_wrap.cxx 'c_api.h' file not found
marcontk opened a new issue, #21169:
URL: https://github.com/apache/mxnet/issues/21169
After Installing MXNet from source on OS X (Mac), I trying to resolve MxNet perl bindings dependency from source
marcont@MacBookAir AI-MXNet-1.5 % perl Makefile.PL
Warning: prerequisite AI::MXNetCAPI 1.5 not found.
Warning: prerequisite AI::NNVMCAPI 1.3 not found.
Warning: prerequisite GraphViz 2.14 not found.
Generating a Unix-style Makefile
Writing Makefile for AI::MXNet
Writing MYMETA.yml and MYMETA.json
I think the error may be related to what is mentioned in the following feedback
https://discuss.mxnet.apache.org/t/c-api-header-files-are-not-generated-to-one-directory/453
### Error Message
1) Resolver MXNetCAPI :
sudo perl -MCPAN -e -shell
password:*******
cpan[1]> install AI::MXNetCAPI
Reading '/Users/marcont/.cpan/Metadata'
Database was generated on Thu, 12 Jan 2023 19:17:01 GMT
Running install for module 'AI::MXNetCAPI'
Checksum for /Users/marcont/.cpan/sources/authors/id/S/SK/SKOLYCHEV/AI-MXNetCAPI-1.5.tar.gz ok
Scanning cache /Users/marcont/.cpan/build for sizes
............................................................................DONE
'YAML' not installed, will not store persistent state
Configuring S/SK/SKOLYCHEV/AI-MXNetCAPI-1.5.tar.gz with Makefile.PL
Checking if your kit is complete...
Looks good
Warning (mostly harmless): No library found for -lmxnet
Generating a Unix-style Makefile
Writing Makefile for AI::MXNetCAPI
Writing MYMETA.yml and MYMETA.json
SKOLYCHEV/AI-MXNetCAPI-1.5.tar.gz
/opt/local/bin/perl5.34 Makefile.PL -- OK
Running make for S/SK/SKOLYCHEV/AI-MXNetCAPI-1.5.tar.gz
cp lib/AI/MXNetCAPI.pm blib/lib/AI/MXNetCAPI.pm
Running Mkbootstrap for MXNetCAPI ()
chmod 644 "MXNetCAPI.bs"
"/opt/local/bin/perl5.34" -MExtUtils::Command::MM -e 'cp_nonempty' -- MXNetCAPI.bs blib/arch/auto/AI/MXNetCAPI/MXNetCAPI.bs 644
/usr/bin/cc -c -I../../include/mxnet -fno-common -DPERL_DARWIN -pipe -Os -fno-strict-aliasing -fstack-protector-strong -I/opt/local/include -DPERL_USE_SAFE_PUTENV -O3 -DVERSION=\"1.5\" -DXS_VERSION=\"1.5\" "-I/opt/local/lib/perl5/5.34/darwin-thread-multi-2level/CORE" mxnet_wrap.cxx
**mxnet_wrap.cxx:1626:10: fatal error: 'c_api.h' file not found**
#include <c_api.h>
^~~~~~~~~
1 error generated.
make: *** [mxnet_wrap.o] Error 1
SKOLYCHEV/AI-MXNetCAPI-1.5.tar.gz
/usr/bin/make -- NOT OK
Failed during this command:
SKOLYCHEV/AI-MXNetCAPI-1.5.tar.gz : make NO
### Steps to reproduce
1. sudo perl -MCPAN -e -shell
2. install AI::MXNetCAPI
## What have you tried to solve it?
1. prerequisites for AI-MXNet
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org
[GitHub] [mxnet] github-actions[bot] commented on issue #21169: Installing MXNet Perl Bindings - mxnet_wrap.cxx 'c_api.h' file not found
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #21169:
URL: https://github.com/apache/mxnet/issues/21169#issuecomment-1381147414
Welcome to Apache MXNet (incubating)! We are on a mission to democratize AI, and we are glad that you are contributing to it by opening this issue.
Please make sure to include all the relevant context, and one of the @apache/mxnet-committers will be here shortly.
If you are interested in contributing to our project, let us know! Also, be sure to check out our guide on [contributing to MXNet](https://mxnet.apache.org/community/contribute) and our [development guides wiki](https://cwiki.apache.org/confluence/display/MXNET/Developments).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org
[GitHub] [mxnet] szha closed issue #21169: Installing MXNet Perl Bindings - mxnet_wrap.cxx 'c_api.h' file not found
Posted by "szha (via GitHub)" <gi...@apache.org>.
szha closed issue #21169: Installing MXNet Perl Bindings - mxnet_wrap.cxx 'c_api.h' file not found
URL: https://github.com/apache/mxnet/issues/21169
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org