WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: nginx for rPi2  (Read 2553 times)

Offline Јаневски

  • Jr. Member
  • **
  • Posts: 61
nginx for rPi2
« on: April 06, 2016, 07:12:24 AM »
Hello,

Could You please compile and add nginx.tcz to the repo?

I've found this thread, but i guess it's regarding an older version from 2014:
http://forum.tinycorelinux.net/index.php/topic,17183.msg103220.html#msg103220

I've tried compiling it with no luck, added all the build packages i thought necessary but ./configure says cc not found, yet cc can be executed, anyhow i fail at compiling, evidently...

Best Regards,
Jovan
« Last Edit: April 06, 2016, 07:14:07 AM by Јаневски »

Offline patrikg

  • Sr. Member
  • ****
  • Posts: 494
Re: nginx for rPi2
« Reply #1 on: April 06, 2016, 08:44:28 AM »
Here the old version, why not try that.

Code: (bash) [Select]
wget http://tinycorelinux.net/5.x/armv6/tcz/nginx.tcz
tce-load -i nginx.tcz

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 842
Re: nginx for rPi2
« Reply #2 on: April 06, 2016, 09:32:39 AM »
I've tried compiling it with no luck, added all the build packages i thought necessary but ./configure says cc not found, yet cc can be executed, anyhow i fail at compiling, evidently...

Typically that means that the configure script requires bash.   Make sure you have bash.tcz loaded.

Offline patrikg

  • Sr. Member
  • ****
  • Posts: 494
Re: nginx for rPi2
« Reply #3 on: April 06, 2016, 09:53:20 AM »
This is what i install when i compile in TCL.

tce-load -wi compile-essentials.tcz binutils.tcz git.tcz nano.tcz coreutils.tcz bc.tcz

Sometimes you need coreutils and binutils, i also need bc when i compile uboot.

Offline Јаневски

  • Jr. Member
  • **
  • Posts: 61
Re: nginx for rPi2
« Reply #4 on: April 07, 2016, 01:21:22 AM »
Here the old version, why not try that.

Code: (bash) [Select]
wget http://tinycorelinux.net/5.x/armv6/tcz/nginx.tcz
tce-load -i nginx.tcz
Raspberry Pi 2 has armv7 and i fear that might not work, but i haven't tested it yet.

I've tried compiling it with no luck, added all the build packages i thought necessary but ./configure says cc not found, yet cc can be executed, anyhow i fail at compiling, evidently...

Typically that means that the configure script requires bash.   Make sure you have bash.tcz loaded.
I have bash.tcz installed and loaded.

This is what i install when i compile in TCL.

tce-load -wi compile-essentials.tcz binutils.tcz git.tcz nano.tcz coreutils.tcz bc.tcz

Sometimes you need coreutils and binutils, i also need bc when i compile uboot.
This did it, nginx compiled successfully and works. :)

Thank You for the support!