Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
{DealExtreme NAS} Compiling applications for Snake OS
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  8 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Ryotsuke Hibiki  
View profile  
 More options May 25 2010, 4:41 am
From: Ryotsuke Hibiki <ryots...@gmail.com>
Date: Tue, 25 May 2010 01:41:25 -0700 (PDT)
Local: Tues, May 25 2010 4:41 am
Subject: {DealExtreme NAS} Compiling applications for Snake OS
How do I compile something that could be ran on Snake OS from external
HDD, for example?

0. Do you have any links where that question is discussed?
1. What environment should I need if I want to compile sources in
Windows? There is no 'make' command in Snake OS 1.1.0 SSH environment
currently and I don't have Linux.
2. For example, how do I perform Samba compilation (http://
en.wikibooks.org/wiki/Samba/Compiling_Samba_from_Source)

--
You received this message because you are subscribed to the Google
Groups "DealExtreme NAS" group.
To post to this group, send email to dealextreme-nas-@googlegroups.com
To unsubscribe from this group, send email to
dealextreme-nas-+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/dealextreme-nas-?hl=en


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ricardo Gomes da Silva  
View profile   Translate to Translated (View Original)
 More options May 25 2010, 6:50 am
From: Ricardo Gomes da Silva <cado...@gmail.com>
Date: Tue, 25 May 2010 07:50:27 -0300
Local: Tues, May 25 2010 6:50 am
Subject: Re: {DealExtreme NAS} Compiling applications for Snake OS

Ryotsuke,

as far as I know:

0. No, but I cross-compiled Lighttpd, so you may wanna take a look on that
page (
http://groups.google.com/group/dealextreme-nas-/web/lighttpd-installa...).

1. You'll need a Linux enviroment with compilers and stuff like that and
also you'll need Snake OS SDK installed. Then you'll need to "adjust" your
software to compile on it (in my case I just need to add a --host on
./configure).

2. I don't know if it's possible to compiled Samba, but I guess it is. Post
your results!

Also, about question 1, yes, there's no make inside Snake OS... for two
reasons, I guess: first, there's no space on flash. The second reason is
because it's damn slow :P You probably want to cross-compile (compile on one
system porting the binaries to another) it, since it's faster and it's
easier to fix something missing. I guess you can also compile inside the
Snake OS (but I didn't try) using a chrooted enviroment (
http://code.google.com/p/snake-os/wiki/Debian_Chroot), installing the
correct packages on it - but it'll be very slow, since even apt-get is slow
inside a chroot enviroment.

Good luck!

Ricardo

--
You received this message because you are subscribed to the Google
Groups "DealExtreme NAS" group.
To post to this group, send email to dealextreme-nas-@googlegroups.com
To unsubscribe from this group, send email to
dealextreme-nas-+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/dealextreme-nas-?hl=en

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Fernando Galindo  
View profile  
 More options May 25 2010, 4:43 am
From: Fernando Galindo <fernandoga...@gmail.com>
Date: Tue, 25 May 2010 10:43:39 +0200
Local: Tues, May 25 2010 4:43 am
Subject: Re: {DealExtreme NAS} Compiling applications for Snake OS
Hi,

You have some information about cross-compilation here:

"Q: Compile. Hey guys it is great, How can I make my own one?"

http://code.google.com/p/snake-os/wiki/FAQ

--
1166914855
-------

--
You received this message because you are subscribed to the Google
Groups "DealExtreme NAS" group.
To post to this group, send email to dealextreme-nas-@googlegroups.com
To unsubscribe from this group, send email to
dealextreme-nas-+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/dealextreme-nas-?hl=en


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
adam jvok  
View profile  
 More options May 25 2010, 9:17 am
From: adam jvok <ajv...@gmail.com>
Date: Tue, 25 May 2010 21:17:32 +0800
Local: Tues, May 25 2010 9:17 am
Subject: Re: {DealExtreme NAS} Compiling applications for Snake OS

Here's my compile of:

Apache:
http://groups.google.com/group/dealextreme-nas-/browse_thread/thread/...

MySql:
http://groups.google.com/group/dealextreme-nas-/browse_thread/thread/...

On Tue, May 25, 2010 at 4:43 PM, Fernando Galindo
<fernandoga...@gmail.com>wrote:

--
You received this message because you are subscribed to the Google
Groups "DealExtreme NAS" group.
To post to this group, send email to dealextreme-nas-@googlegroups.com
To unsubscribe from this group, send email to
dealextreme-nas-+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/dealextreme-nas-?hl=en

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Fernando Galindo  
View profile  
 More options May 25 2010, 9:26 am
From: Fernando Galindo <fernandoga...@gmail.com>
Date: Tue, 25 May 2010 15:26:06 +0200
Local: Tues, May 25 2010 9:26 am
Subject: Re: {DealExtreme NAS} Compiling applications for Snake OS
Hi Adam,

I follow your recipe about mysql cross-compilation.. It works like a
charm when i connect from localhost, but if i try to connect from
other PC it is very slow.. do you know if this is a configuration
problem? maybe some parameter from my.cnf.. ¿?

I want to try apache too, did you test php support?

thx.

--
1166914855
-------

--
You received this message because you are subscribed to the Google
Groups "DealExtreme NAS" group.
To post to this group, send email to dealextreme-nas-@googlegroups.com
To unsubscribe from this group, send email to
dealextreme-nas-+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/dealextreme-nas-?hl=en


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
adam jvok  
View profile  
 More options May 25 2010, 9:45 am
From: adam jvok <ajv...@gmail.com>
Date: Tue, 25 May 2010 21:45:14 +0800
Local: Tues, May 25 2010 9:45 am
Subject: Re: {DealExtreme NAS} Compiling applications for Snake OS

I'm pleased my post helped someone.

I did these compilations just for the fun of it and no longer have them on
my system.
But I did try access mysql from both snake & a remove PC. Both worked fine.

1. What command are you using to connect? Tell me all the parameters.
2. Show me your my.cnf.
3. It could be some network issue between you client and snake
- what platform is the client running?
- what is on your network between the client and snake? (a router, I guess)
4. I it slow for you to access other services on snake?

No, I did not try php.

To be honest, after playing with this I came to the conclusion that it was
all a lot of effort for little gain.
Since then, there have been lots of posts on chrooting debian & downloading
packages - that seems like an easier option than cross compiling stuff.
Also, be wary of overloading the poor little snake box.
I didn't note it at the time, but I bet with Apache and MySQL running there
was not a lot of ram/swap left to play with.

On Tue, May 25, 2010 at 9:26 PM, Fernando Galindo
<fernandoga...@gmail.com>wrote:

--
You received this message because you are subscribed to the Google
Groups "DealExtreme NAS" group.
To post to this group, send email to dealextreme-nas-@googlegroups.com
To unsubscribe from this group, send email to
dealextreme-nas-+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/dealextreme-nas-?hl=en

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ryotsuke Hibiki  
View profile  
 More options May 25 2010, 10:01 am
From: Ryotsuke Hibiki <ryots...@gmail.com>
Date: Tue, 25 May 2010 07:01:50 -0700 (PDT)
Local: Tues, May 25 2010 10:01 am
Subject: Re: {DealExtreme NAS} Compiling applications for Snake OS

I've used VirtualBoxed Ubuntu 9.04 machine,

1. downloaded snake-os-sdk_0.9.tar.bz2  & samba-3.5.3.tar.gz
2. unpacked to /var/www/snakes/snake-os-sdk & /var/www/snakes/samba
3. executed
export PATH=$PATH:/var/www/snakes/snake-os-sdk/arm-uclibc-3.4.6/bin
# export LD_LIBRARY_PATH=/var/www/snakes/snake-os-sdk/arm-uclibc-3.4.6/
lib
# export LDFLAGS=-L/var/www/snakes/snake-os-sdk/arm-uclibc-3.4.6/lib
# export CPPFLAGS=-I/var/www/snakes/snake-os-sdk/arm-uclibc-3.4.6/
include
# export CC=/var/www/snakes/snake-os-sdk/arm-uclibc-3.4.6/arm-linux-
gcc

Actually i was guessing the paths, as they are not documented and I'm
too nube in linux

4. cd /var/www/snakes/samba/source3
5. ./configure --host arm-linux --prefix=/var/www/snakes/smb

I've got a warning "If you wnated to set the --build type, don't use --
host. if cross compiler is detected then cross compile will be used.'
And an error "error while loading shared libraries: /var/www/snakes/
snake-os-sdk/arm-uclibc-3.4.6/lib/libpthread.so.0: ELF file OS ABI
invalid"
And one more "configure: error: working directory cannot be
determined"

Could you please help of what I can try next?
On May 25, 1:50 pm, Ricardo Gomes da Silva <cado...@gmail.com> wrote:

> Ryotsuke,

> as far as I know:

> 0. No, but I cross-compiled Lighttpd, so you may wanna take a look on that
> page (http://groups.google.com/group/dealextreme-nas-/web/lighttpd-installa...).

> 1. You'll need a Linux enviroment with compilers and stuff like that and
> also you'll need Snake OS SDK installed. Then you'll need to "adjust" your
> software to compile on it (in my case I just need to add a --host on
> ./configure).

--
You received this message because you are subscribed to the Google
Groups "DealExtreme NAS" group.
To post to this group, send email to dealextreme-nas-@googlegroups.com
To unsubscribe from this group, send email to
dealextreme-nas-+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/dealextreme-nas-?hl=en

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Fernando Galindo  
View profile  
 More options May 25 2010, 10:10 am
From: Fernando Galindo <fernandoga...@gmail.com>
Date: Tue, 25 May 2010 16:10:00 +0200
Subject: Re: {DealExtreme NAS} Compiling applications for Snake OS
Hi Adam,

1. i try to connect from mysql command line client, libmysqlclient and
mysql php functions.. all with the same results..
2. when i back home i will take a look to my.cnf
3. linux box, adsl router
4. no

i'm not sure, but i think it could be a dns problem (skip-name-resolve)

thx

--
1166914855
-------

--
You received this message because you are subscribed to the Google
Groups "DealExtreme NAS" group.
To post to this group, send email to dealextreme-nas-@googlegroups.com
To unsubscribe from this group, send email to
dealextreme-nas-+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/dealextreme-nas-?hl=en


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »