Giter Site home page Giter Site logo

Wrong make on FreeBSD about node-iconv HOT 9 CLOSED

bnoordhuis avatar bnoordhuis commented on September 18, 2024
Wrong make on FreeBSD

from node-iconv.

Comments (9)

bnoordhuis avatar bnoordhuis commented on September 18, 2024

Not sure what your question is, can you elaborate? The only thing you should need to do on freebsd is to run gmake instead of make.

from node-iconv.

Artazor avatar Artazor commented on September 18, 2024

I mean that on FreeBSD you can't install node-iconv using npm as easy as it could be.

Using npm install iconv after several succesful steps produces an error:

Waf: Entering directory `/usr/home/user/sample/node_modules/iconv/build'
"Makefile", line 3: Missing dependency operator
"Makefile", line 5: Need an operator
"Makefile", line 7: Missing dependency operator
"Makefile", line 8: warning: duplicate script for target "ifeq" ignored
"Makefile", line 9: Need an operator
"Makefile", line 27: Missing dependency operator
"Makefile", line 28: warning: duplicate script for target "ifeq" ignored
"Makefile", line 29: Need an operator
"Makefile", line 31: Need an operator
make: fatal errors encountered -- cannot continue

(it means that wrong make is being used)

It would be nice to install node-iconv through npm install on FreeBSD as well :]

from node-iconv.

bnoordhuis avatar bnoordhuis commented on September 18, 2024

Right, I see what you mean. Does commit 7577828 work for you?

from node-iconv.

Artazor avatar Artazor commented on September 18, 2024

Yes, now it chooses right make/gmake, but there is still an error, since CPPPATH_NODE is not a string, but a list (at least, in my case)

g++ -Ideps/libiconv/include -Ideps/libiconv/lib -I['/usr/local/include/node', '/usr/local/include'] -D_FORTIFY_SOURCE=2 -DEV_MULTIPLICITY=0 -fPIC -Wall -Wextra -ansi -O2 -c -o iconv.o iconv.cc
g++: /usr/local/include]: No such file or directory

from node-iconv.

bnoordhuis avatar bnoordhuis commented on September 18, 2024

WAF at its finest... can you try 87ebcdc?

from node-iconv.

Artazor avatar Artazor commented on September 18, 2024

Yep! Now it works!

from node-iconv.

bnoordhuis avatar bnoordhuis commented on September 18, 2024

Fixed in v1.1.3.

from node-iconv.

curana avatar curana commented on September 18, 2024

Seems this problem came back in current 1.2.1

from node-iconv.

bnoordhuis avatar bnoordhuis commented on September 18, 2024

It's a bug in node-gyp. See nodejs/node-gyp#66 for details.

from node-iconv.

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.