Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: Јаневски on April 06, 2016, 07:12:24 AM

Title: nginx for rPi2
Post by: Јаневски 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
Title: Re: nginx for rPi2
Post by: patrikg 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
Title: Re: nginx for rPi2
Post by: Paul_123 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.
Title: Re: nginx for rPi2
Post by: patrikg 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.
Title: Re: nginx for rPi2
Post by: Јаневски 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!