Network/systems infrastructure based on Lacie Hardware

Re: Network/systems infrastructure based on Lacie Hardware

Postby Adams93 » Fri Feb 07, 2014 12:58 pm

Thank you, I succeeded install "Madrid" (Lacie Network Space v2). Netfilter works perfectly! :D

I must now find a way to install ("aptitude" or "apt-get", package manager is optional), Mysql server and gcc (GNU Compiler Collection). Do you know how is it that i must do?

i have found the binaries of gcc for arm5 (i think) : http://tinderbox.dev.gentoo.org/default ... sys-devel/

i have downloaded it to /share/1000/public/ (because there is not enough free space on main partition), and i unzip it to the primary partition. I then created the famous file hello.c (hello world in c) to try to compile. It does not work! :( I get the following error:
Code: Select all
root@fvdwsl-base:/share/1000/public # echo "#include<stdio.h>
>
> main()
> {
>     printf(\"Hello World\");
>
> }" > hello.c
root@fvdwsl-base:/share/1000/public # ls
gcc-4.6.3.tbz2  hello.c
root@fvdwsl-base:/share/1000/public # cat hello.c
#include<stdio.h>

main()
{
    printf("Hello World");

}
root@fvdwsl-base:/share/1000/public # gcc-4.6.3 hello.c
/usr/libexec/gcc/armv5tel-softfloat-linux-gnueabi/4.6.3/cc1: error while loading shared libraries: libmpc.so.3: cannot open shared object file: No such file or directory

How to use the command "nano", "vim", etc? Because now i get the following error if i try to use it "Error opening terminal: xterm-256color."

For "Paris" (Internet Space 2), i'll try to install it tonight. The procedure to install is the same as for the LaCie Network Space 2?
Adams93
 
Posts: 6
Joined: Thu Apr 18, 2013 7:38 am

Re: Network/systems infrastructure based on Lacie Hardware

Postby fvdw » Fri Feb 07, 2014 5:32 pm

Adams93 wrote:I must now find a way to install ("aptitude" or "apt-get", package manager is optional), Mysql server and gcc (GNU Compiler Collection). Do you know how is it that i must do?

apt-get is for use with Debian, will not work on standard linux, aptituse is a front end application to apt.
Yes I know how to do that MySql can be installed as add-on (see download topic in the forum). Installing and using gcc is a different story.
i have found the binaries of gcc for arm5 (i think) : http://tinderbox.dev.gentoo.org/default ... sys-devel/

i have downloaded it to /share/1000/public/ (because there is not enough free space on main partition), and i unzip it to the primary partition. I then created the famous file hello.c (hello world in c) to try to compile. It does not work! :( I get the following error:

much more is needed to get gcc working and compile reliable binaries. It is not straight forward to explain, if you want to compile yourself you need good knowledge of Linux.
How to use the command "nano", "vim", etc? Because now i get the following error if i try to use it "Error opening terminal: xterm-256color."

nano is include and will work if you use xterm in Putty instead of xterm-256
putty-xterm.JPG

For "Paris" (Internet Space 2), i'll try to install it tonight. The procedure to install is the same as for the LaCie Network Space 2?

Yes it is the same.
You do not have the required permissions to view the files attached to this post.
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Previous

Return to Development

Who is online

Users browsing this forum: No registered users and 9 guests