-
Notifications
You must be signed in to change notification settings - Fork 12
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
PHPlike will not install on Synology 213j #10
Comments
Could you type "uname -a" on Synology to show the kernel version of linux? |
Hello,
This is so great to answer ! Here it is
[image: Images intégrées 1]
I tried to install Make through opkg but I have a build issue. That version
of make does not seem compatible with the code.
Thanks in advance
Fred
2017-10-24 17:56 GMT+02:00 Jackie Chen <[email protected]>:
… Could you type "uname -a" on Synology to show the kernel version of linux?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#10 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AfaqjDFUosUM0fVNF9rxgqaik5hroFuRks5svgilgaJpZM4P_4sk>
.
|
Sorry, I could not find out the version of linux image from the string "[image: Images intégrées 1]". Could you type the following two commands to show more Synology OS information.
Also you could show me the error message when you install the Phplike. |
Hi M. Chen,
Sure, anything you require !
[image: Images intégrées 1]
It seems that there is an issue with the grep function on the Synology.
As for the libcurl-devel, it is not available on Synology though curl is
and is installed of course.
So not sure how to move from here.
Best
Fred
2017-10-25 16:00 GMT+02:00 Jackie Chen <[email protected]>:
… Sorry, I could not find out the version of linux image from the string
"[image: Images intégrées 1]".
Could you type the following two command to show more Synology OS
information.
cat /proc/version
dmesg | grep Linux
Also you could show me the error message when you install the Phplike.
Make sure the libcurl-devel is already installed on your system if you
want to compile by yourselves
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#10 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AfaqjPpQJcb43T9WomBgCZqFbhd47xAgks5svz70gaJpZM4P_4sk>
.
|
Hello again,
And the error message below
FM57@DiskStation:/var/services/web/node.js$ sudo npm install phplike
|
***@***.*** install /volume1/web/node.js/node_modules/phplike
node install.js
Auto Recompile C/C++ library.
gyp WARN EACCES user "root" does not have permission to access the dev dir
"/root/.node-gyp/4.8.4"
gyp WARN EACCES attempting to reinstall using temporary dev dir
"/tmp/.node-gyp"
/volume1/web/node.js/node_modules/make/bin/make.js:7
const { existsSync: exists } = fs;
^
SyntaxError: Unexpected token {
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:373:25)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Function.Module.runMain (module.js:441:10)
at startup (node.js:140:18)
at node.js:1043:3
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit
(/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit
(internal/child_process.js:211:12)
gyp ERR! System Linux 3.2.40
gyp ERR! command "/volume1/@appstore/Node.js_v4/usr/local/bin/node"
"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js"
"rebuild"
gyp ERR! cwd /volume1/web/node.js/node_modules/phplike
gyp ERR! node -v v4.8.4
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
[email protected] node_modules/phplike
├── [email protected]
├── [email protected]
├── [email protected] ([email protected], [email protected],
[email protected], [email protected], [email protected], [email protected], [email protected],
[email protected], [email protected], [email protected], [email protected], [email protected])
└── [email protected] ([email protected], [email protected], [email protected],
[email protected], [email protected], [email protected], [email protected], [email protected],
[email protected], [email protected], [email protected], [email protected])
FM57@DiskStation:/var/services/web/node.js$
2017-10-25 19:56 GMT+02:00 Frederic Martin <[email protected]>:
… Hi M. Chen,
Sure, anything you require !
[image: Images intégrées 1]
It seems that there is an issue with the grep function on the Synology.
As for the libcurl-devel, it is not available on Synology though curl is
and is installed of course.
So not sure how to move from here.
Best
Fred
2017-10-25 16:00 GMT+02:00 Jackie Chen ***@***.***>:
> Sorry, I could not find out the version of linux image from the string
> "[image: Images intégrées 1]".
>
> Could you type the following two command to show more Synology OS
> information.
>
> cat /proc/version
> dmesg | grep Linux
>
> Also you could show me the error message when you install the Phplike.
> Make sure the libcurl-devel is already installed on your system if you
> want to compile by yourselves
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#10 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AfaqjPpQJcb43T9WomBgCZqFbhd47xAgks5svz70gaJpZM4P_4sk>
> .
>
|
And by removing folder make (fom opkg) inside node_modules
FM57@DiskStation:/var/services/web/node.js$ sudo npm install phplike
-
***@***.*** install /volume1/web/node.js/node_modules/phplike
node install.js
Auto Recompile C/C++ library.
make: Entering directory '/volume1/web/node.js/node_modules/phplike/build'
make: Leaving directory '/volume1/web/node.js/node_modules/phplike/build'
gyp WARN EACCES user "root" does not have permission to access the dev dir
"/root/.node-gyp/4.8.4"
gyp WARN EACCES attempting to reinstall using temporary dev dir
"/tmp/.node-gyp"
Makefile:1: /env.mak: No such file or directory
make: *** No rule to make target '/env.mak'. Stop.
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit
(/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit
(internal/child_process.js:211:12)
gyp ERR! System Linux 3.2.40
gyp ERR! command "/volume1/@appstore/Node.js_v4/usr/local/bin/node"
"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js"
"rebuild"
gyp ERR! cwd /volume1/web/node.js/node_modules/phplike
gyp ERR! node -v v4.8.4
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
[email protected] node_modules/phplike
├── [email protected]
├── [email protected]
├── [email protected] ([email protected], [email protected],
[email protected], [email protected], [email protected], [email protected], [email protected],
[email protected], [email protected], [email protected], [email protected], [email protected])
└── [email protected] ([email protected], [email protected], [email protected],
[email protected], [email protected], [email protected], [email protected], [email protected],
[email protected], [email protected], [email protected], [email protected])
FM57@DiskStation:/var/services/web/node.js$
2017-10-26 9:29 GMT+02:00 Frederic Martin <[email protected]>:
… Hello again,
And the error message below
***@***.***:/var/services/web/node.js$ sudo npm install phplike
|
> ***@***.*** install /volume1/web/node.js/node_modules/phplike
> node install.js
Auto Recompile C/C++ library.
gyp WARN EACCES user "root" does not have permission to access the dev dir
"/root/.node-gyp/4.8.4"
gyp WARN EACCES attempting to reinstall using temporary dev dir
"/tmp/.node-gyp"
/volume1/web/node.js/node_modules/make/bin/make.js:7
const { existsSync: exists } = fs;
^
SyntaxError: Unexpected token {
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:373:25)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Function.Module.runMain (module.js:441:10)
at startup (node.js:140:18)
at node.js:1043:3
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/
npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit
(internal/child_process.js:211:12)
gyp ERR! System Linux 3.2.40
gyp ERR! command ***@***.***/Node.js_v4/usr/local/bin/node"
"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js"
"rebuild"
gyp ERR! cwd /volume1/web/node.js/node_modules/phplike
gyp ERR! node -v v4.8.4
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
***@***.*** node_modules/phplike
├── ***@***.***
├── ***@***.***
├── ***@***.*** ***@***.***, ***@***.***,
***@***.***, ***@***.***, ***@***.***, ***@***.***, ***@***.***,
***@***.***, ***@***.***, ***@***.***, ***@***.***, ***@***.***)
└── ***@***.*** ***@***.***, ***@***.***, ***@***.***,
***@***.***, ***@***.***, ***@***.***, ***@***.***, ***@***.***,
***@***.***, ***@***.***, ***@***.***, ***@***.***)
***@***.***:/var/services/web/node.js$
2017-10-25 19:56 GMT+02:00 Frederic Martin ***@***.***>:
> Hi M. Chen,
>
> Sure, anything you require !
>
> [image: Images intégrées 1]
>
> It seems that there is an issue with the grep function on the Synology.
>
> As for the libcurl-devel, it is not available on Synology though curl
> is and is installed of course.
>
> So not sure how to move from here.
>
> Best
>
> Fred
>
> 2017-10-25 16:00 GMT+02:00 Jackie Chen ***@***.***>:
>
>> Sorry, I could not find out the version of linux image from the string
>> "[image: Images intégrées 1]".
>>
>> Could you type the following two command to show more Synology OS
>> information.
>>
>> cat /proc/version
>> dmesg | grep Linux
>>
>> Also you could show me the error message when you install the Phplike.
>> Make sure the libcurl-devel is already installed on your system if you
>> want to compile by yourselves
>>
>> —
>> You are receiving this because you authored the thread.
>> Reply to this email directly, view it on GitHub
>> <#10 (comment)>,
>> or mute the thread
>> <https://github.com/notifications/unsubscribe-auth/AfaqjPpQJcb43T9WomBgCZqFbhd47xAgks5svz70gaJpZM4P_4sk>
>> .
>>
>
>
|
You have not permission to modify the dir "/root/". Try to change the node module dir by this command:
|
Hi M. Chen,
It did not work but my path was a bit different so I adapted the command to
npm config set prefix /var/services/web/node.js/
I then tried to reinstall phplike and got a different error message:
FM57@DiskStation:/var/services/web/node.js$ npm install phplike
/
***@***.*** install /volume1/web/node.js/node_modules/phplike
node install.js
Auto Recompile C/C++ library.
make: Entering directory '/volume1/web/node.js/node_modules/phplike/build'
make: Leaving directory '/volume1/web/node.js/node_modules/phplike/build'
Makefile:1: /env.mak: No such file or directory
make: *** No rule to make target '/env.mak'. Stop.
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit
(/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit
(internal/child_process.js:211:12)
gyp ERR! System Linux 3.2.40
gyp ERR! command "/volume1/@appstore/Node.js_v4/usr/local/bin/node"
"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js"
"rebuild"
gyp ERR! cwd /volume1/web/node.js/node_modules/phplike
gyp ERR! node -v v4.8.4
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
[email protected] node_modules/phplike
├── [email protected]
├── [email protected]
├── [email protected] ([email protected], [email protected],
[email protected], [email protected], [email protected], [email protected], [email protected],
[email protected], [email protected], [email protected], [email protected], [email protected])
└── [email protected] ([email protected], [email protected], [email protected],
[email protected], [email protected], [email protected], [email protected], [email protected],
[email protected], [email protected], [email protected], [email protected])
I see that it tried to install into
/volume1/web/node.js/node_modules/phplike while my path is
/var/services/web/node.js/.
Is it something I can change from my end or in the phplike install script ?
Thanks much. We are making progress !
Fred
2017-10-28 10:58 GMT+02:00 Jackie Chen <[email protected]>:
… You have not permission to modify dir "/root/".
Try to change the node module dir by this command:
npm config set prefix /volume1/web/node.js/
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#10 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AfaqjOUOFYAz_a51RH1Cl2RpUgnx8AdFks5swuy8gaJpZM4P_4sk>
.
|
I forgot to mention that I had the same message with your recommendation
FM57@DiskStation:/var/services/web/node.js$ npm config set prefix
/volume1/web/node.js/
FM57@DiskStation:/var/services/web/node.js$ npm install phplike
-
***@***.*** install /volume1/web/node.js/node_modules/phplike
node install.js
Auto Recompile C/C++ library.
make: Entering directory '/volume1/web/node.js/node_modules/phplike/build'
make: Leaving directory '/volume1/web/node.js/node_modules/phplike/build'
Makefile:1: /env.mak: No such file or directory
make: *** No rule to make target '/env.mak'. Stop.
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit
(/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit
(internal/child_process.js:211:12)
gyp ERR! System Linux 3.2.40
gyp ERR! command "/volume1/@appstore/Node.js_v4/usr/local/bin/node"
"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js"
"rebuild"
gyp ERR! cwd /volume1/web/node.js/node_modules/phplike
gyp ERR! node -v v4.8.4
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
[email protected] node_modules/phplike
├── [email protected]
├── [email protected]
├── [email protected] ([email protected], [email protected],
[email protected], [email protected], [email protected], [email protected], [email protected],
[email protected], [email protected], [email protected], [email protected], [email protected])
└── [email protected] ([email protected], [email protected], [email protected],
[email protected], [email protected], [email protected], [email protected], [email protected],
[email protected], [email protected], [email protected], [email protected])
2017-10-28 11:22 GMT+02:00 Frederic Martin <[email protected]>:
… Hi M. Chen,
It did not work but my path was a bit different so I adapted the command
to
npm config set prefix /var/services/web/node.js/
I then tried to reinstall phplike and got a different error message:
***@***.***:/var/services/web/node.js$ npm install phplike
/
> ***@***.*** install /volume1/web/node.js/node_modules/phplike
> node install.js
Auto Recompile C/C++ library.
make: Entering directory '/volume1/web/node.js/node_modules/phplike/build'
make: Leaving directory '/volume1/web/node.js/node_modules/phplike/build'
Makefile:1: /env.mak: No such file or directory
make: *** No rule to make target '/env.mak'. Stop.
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/
npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit
(internal/child_process.js:211:12)
gyp ERR! System Linux 3.2.40
gyp ERR! command ***@***.***/Node.js_v4/usr/local/bin/node"
"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js"
"rebuild"
gyp ERR! cwd /volume1/web/node.js/node_modules/phplike
gyp ERR! node -v v4.8.4
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
***@***.*** node_modules/phplike
├── ***@***.***
├── ***@***.***
├── ***@***.*** ***@***.***, ***@***.***,
***@***.***, ***@***.***, ***@***.***, ***@***.***, ***@***.***,
***@***.***, ***@***.***, ***@***.***, ***@***.***, ***@***.***)
└── ***@***.*** ***@***.***, ***@***.***, ***@***.***,
***@***.***, ***@***.***, ***@***.***, ***@***.***, ***@***.***,
***@***.***, ***@***.***, ***@***.***, ***@***.***)
I see that it tried to install into /volume1/web/node.js/node_modules/phplike
while my path is /var/services/web/node.js/.
Is it something I can change from my end or in the phplike install script ?
Thanks much. We are making progress !
Fred
2017-10-28 10:58 GMT+02:00 Jackie Chen ***@***.***>:
> You have not permission to modify dir "/root/".
>
> Try to change the node module dir by this command:
>
> npm config set prefix /volume1/web/node.js/
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#10 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AfaqjOUOFYAz_a51RH1Cl2RpUgnx8AdFks5swuy8gaJpZM4P_4sk>
> .
>
|
And :)
I tried to go directly to /volume1/web/node.js. It is actually the same
path as the other. (symbolic link) ?
FM57@DiskStation:/volume1/web/node.js$
I ran again npm install phplike but still same error about the
make: *** No rule to make target '/env.mak'. Stop.
Best Regards
Fred
2017-10-28 11:26 GMT+02:00 Frederic Martin <[email protected]>:
… I forgot to mention that I had the same message with your recommendation
***@***.***:/var/services/web/node.js$ npm config set prefix
/volume1/web/node.js/
***@***.***:/var/services/web/node.js$ npm install phplike
-
> ***@***.*** install /volume1/web/node.js/node_modules/phplike
> node install.js
Auto Recompile C/C++ library.
make: Entering directory '/volume1/web/node.js/node_modules/phplike/build'
make: Leaving directory '/volume1/web/node.js/node_modules/phplike/build'
Makefile:1: /env.mak: No such file or directory
make: *** No rule to make target '/env.mak'. Stop.
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/
npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit
(internal/child_process.js:211:12)
gyp ERR! System Linux 3.2.40
gyp ERR! command ***@***.***/Node.js_v4/usr/local/bin/node"
"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js"
"rebuild"
gyp ERR! cwd /volume1/web/node.js/node_modules/phplike
gyp ERR! node -v v4.8.4
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
***@***.*** node_modules/phplike
├── ***@***.***
├── ***@***.***
├── ***@***.*** ***@***.***, ***@***.***,
***@***.***, ***@***.***, ***@***.***, ***@***.***, ***@***.***,
***@***.***, ***@***.***, ***@***.***, ***@***.***, ***@***.***)
└── ***@***.*** ***@***.***, ***@***.***, ***@***.***,
***@***.***, ***@***.***, ***@***.***, ***@***.***, ***@***.***,
***@***.***, ***@***.***, ***@***.***, ***@***.***)
2017-10-28 11:22 GMT+02:00 Frederic Martin ***@***.***>:
> Hi M. Chen,
>
> It did not work but my path was a bit different so I adapted the command
> to
>
> npm config set prefix /var/services/web/node.js/
>
> I then tried to reinstall phplike and got a different error message:
>
> ***@***.***:/var/services/web/node.js$ npm install phplike
> /
> > ***@***.*** install /volume1/web/node.js/node_modules/phplike
> > node install.js
>
> Auto Recompile C/C++ library.
> make: Entering directory '/volume1/web/node.js/node_mod
> ules/phplike/build'
> make: Leaving directory '/volume1/web/node.js/node_modules/phplike/build'
>
> Makefile:1: /env.mak: No such file or directory
> make: *** No rule to make target '/env.mak'. Stop.
> gyp ERR! build error
> gyp ERR! stack Error: `make` failed with exit code: 2
> gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/n
> pm/node_modules/node-gyp/lib/build.js:276:23)
> gyp ERR! stack at emitTwo (events.js:87:13)
> gyp ERR! stack at ChildProcess.emit (events.js:172:7)
> gyp ERR! stack at Process.ChildProcess._handle.onexit
> (internal/child_process.js:211:12)
> gyp ERR! System Linux 3.2.40
> gyp ERR! command ***@***.***/Node.js_v4/usr/local/bin/node"
> "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js"
> "rebuild"
> gyp ERR! cwd /volume1/web/node.js/node_modules/phplike
> gyp ERR! node -v v4.8.4
> gyp ERR! node-gyp -v v3.4.0
> gyp ERR! not ok
>
> ***@***.*** node_modules/phplike
> ├── ***@***.***
> ├── ***@***.***
> ├── ***@***.*** ***@***.***, ***@***.***,
> ***@***.***, ***@***.***, ***@***.***, ***@***.***, ***@***.***,
> ***@***.***, ***@***.***, ***@***.***, ***@***.***, ***@***.***)
> └── ***@***.*** ***@***.***, ***@***.***, ***@***.***,
> ***@***.***, ***@***.***, ***@***.***, ***@***.***, ***@***.***,
> ***@***.***, ***@***.***, ***@***.***, ***@***.***)
>
>
> I see that it tried to install into /volume1/web/node.js/node_modules/phplike
> while my path is /var/services/web/node.js/.
>
> Is it something I can change from my end or in the phplike install script
> ?
>
> Thanks much. We are making progress !
>
> Fred
>
> 2017-10-28 10:58 GMT+02:00 Jackie Chen ***@***.***>:
>
>> You have not permission to modify dir "/root/".
>>
>> Try to change the node module dir by this command:
>>
>> npm config set prefix /volume1/web/node.js/
>>
>> —
>> You are receiving this because you authored the thread.
>> Reply to this email directly, view it on GitHub
>> <#10 (comment)>,
>> or mute the thread
>> <https://github.com/notifications/unsubscribe-auth/AfaqjOUOFYAz_a51RH1Cl2RpUgnx8AdFks5swuy8gaJpZM4P_4sk>
>> .
>>
>
>
|
No compiler, make command fails. node-gyp is installed but still does not execute make command.
I tried to manually install 'make' through opkg but it fails too.
So I would need a way to install pre compiled version of PHPlike or another way to compile cleanly on Synology with armada 370 processor.
Thanks
Fred
The text was updated successfully, but these errors were encountered: