Comments (9)
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.
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.
Right, I see what you mean. Does commit 7577828 work for you?
from node-iconv.
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.
WAF at its finest... can you try 87ebcdc?
from node-iconv.
Yep! Now it works!
from node-iconv.
Fixed in v1.1.3.
from node-iconv.
Seems this problem came back in current 1.2.1
from node-iconv.
It's a bug in node-gyp. See nodejs/node-gyp#66 for details.
from node-iconv.
Related Issues (20)
- npm install sqlite3 HOT 1
- cannot open shared object file HOT 2
- What about CHANGELOG.md HOT 5
- utf-8 to iso-8859-1 error no conversion HOT 2
- Fails to install on windows machine HOT 3
- Unable to install
- Unable to install HOT 3
- iconv cannot be used in worker threads HOT 5
- how to change "νκΈ" to euc-kr ? HOT 1
- Can't resolve ~~ error while developing an Electron app HOT 1
- Memory leak when used with byline? HOT 2
- Upgrade node-gyp to remove python2 dependency HOT 1
- Can't convert string from ISO-8859-1 to windows-1251 HOT 3
- Encodings not supported HOT 2
- Any barriers to IBM500, 037 ? HOT 1
- not doing proper encoding HOT 5
- npm ERR! HOT 1
- WSL npm install iconv failing HOT 3
- will it work with nodejs 20? HOT 1
- NV21 failure? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-iconv.