[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4694: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4695: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4696: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
8devices Community - View topic - Carambola 2 and PHP
www.8devices.com
View unanswered posts | View active topics It is currently 27 Apr 2024, 09:24



Reply to topic  [ 6 posts ] 
 Carambola 2 and PHP 
Author Message

Joined: 25 Jun 2012, 14:22
Posts: 10
Hi guys!

I'm trying to figure out what the reason is that PHP is not in the package repository for carambola2.
Is it because the ram is too small at 64MB to run PHP, or has just nobody built the package for openwrt/mips yet?

Don't get me wrong, I'm not too lazy to build the package myself, it's just that I haven't got a Carambola2
at home yet to try it myself.

Nik


11 Jun 2013, 21:55
Profile

Joined: 29 Apr 2013, 10:06
Posts: 20
My carambola2 should receive in a few days; as I'm using php-cli to process and upload data, I definitely need php - if it really isn't in the repository, I'll build a package for it. If I don't reply with experiences in about one week, poke me.


12 Jun 2013, 01:06
Profile

Joined: 05 Apr 2013, 20:25
Posts: 43


12 Jun 2013, 17:43
Profile

Joined: 25 Jun 2012, 14:22
Posts: 10
Thanks Adam!

Since I'm a complete Linux noob, it doesn't help me much unfortunately. (I don't have an aversion against learning though,
I've been googling for literally hours today and can't really get started with my Carambola2)


14 Jun 2013, 00:23
Profile

Joined: 05 Apr 2013, 20:25
Posts: 43
What exactly do you have problem with? I am also just linux user :-)

There's a tutorial on firmware building at the Carambola wiki, it works perfectly for Carambola2 too..


16 Jun 2013, 06:35
Profile

Joined: 25 Jun 2012, 14:22
Posts: 10
Well, it seems that on my machine the suggested setup on the carambola wiki didn't work.
As explained there, I tried virtual box and Xubunto which unfortunately failed twice,
so then I tried it on mac os x(getting all the packages from port , instead of with apt-get), which then also failed to compile.

As a last resort I tried Virtual Box + Ubuntu (not xubuntu) and I now finally succeeded in building openwrt! :D
I still have troubles integrating mysql, but I hope I can figure that one out today as well :-)

BTW: for anybody who runs into trouble developing on a mac, here's what i did to finally make it work::

Mac os X 10.8.3 + Virtual box + Ubuntu 32 bit version

Then i got required packages as explained on http://wiki.openwrt.org/doc/howto/buildroot.exigence (depends on OS version used in virtualbox)
PLUS the packages named on the carambola wiki under http://8devices.com/wiki_carambola/doku ... e_to_start

git clone https://github.com/8devices/carambola2 carambola2
cd carambola2

./scripts/feeds update -a
./scripts/feeds install -a

(install -a was apparently important - before I always only tried to install the pkgs that I really needed, which never worked)

make menuconfig

(-->select luci and the other required packages)

make

(wait 5 hours)

--> done


16 Jun 2013, 14:44
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 6 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron

Protected by Anti-Spam ACP Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.