maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   problems when building src on N900 (https://talk.maemo.org/showthread.php?t=46981)

chuan huang 2010-03-10 08:00

problems when building src on N900
 
Hi, all! I want to build ACE library(http://download.dre.vanderbilt.edu/p...E-5.7.7.tar.gz) on my n900. When I run command './configure', an error occur:

checking for grep that handles long lines and -e... configure: error: no acceptable grep could be found in /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/xpg4/bin

It seems 'grep' isn't found, however, grep is located at /bin/ as a symbolic link to 'busybox'. Anyone knows how to solve this problem? Thanks!

codeMonkey 2010-03-10 09:52

Re: problems when building src on N900
 
Install a full version of grep from the grep-gnu package - it's in extras testing.

I'm assuming since you're doing compilation on the device itself you're familiar with the re-flashing process, should anything go wrong.

chuan huang 2010-03-10 10:24

Re: problems when building src on N900
 
Quote:

Originally Posted by codeMonkey (Post 562279)
Install a full version of grep from the grep-gnu package - it's in extras testing.

I'm assuming since you're doing compilation on the device itself you're familiar with the re-flashing process, should anything go wrong.

do I need to reflash n900? why? can you be more specific? thanks!

codeMonkey 2010-03-10 11:09

Re: problems when building src on N900
 
No, you need to install grep from the grep-gnu package, like I said earlier.

cjard 2010-03-11 15:53

Re: problems when building src on N900
 
Quote:

Originally Posted by chuan huang (Post 562310)
do I need to reflash n900? why? can you be more specific? thanks!

s/he means that doing dev on your device can screw up your device. are you competent enough to re-flash your device if you screw it up?

chuan huang 2010-03-12 01:58

Re: problems when building src on N900
 
Quote:

Originally Posted by cjard (Post 563897)
s/he means that doing dev on your device can screw up your device. are you competent enough to re-flash your device if you screw it up?

Thanks! I got it. It is absolutely a big problem. In order to build this package, I have installed grep-gnu, gcc, g++, make..., which has taken up too many space of my rootfs.

chuan huang 2010-03-12 08:57

Re: problems when building src on N900
 
Now I have another problem, when I install this package by running command 'make install' as root privilege, errors occurred:

test -z "/usr/local/lib" || ../../aux_config/install-sh -c -d "/usr/local/lib"
/bin/sh: ../../aux_config/install-sh: Permission denied
make[3]: *** [install-libLTLIBRARIES] error 126

Please Help!

m_pahlevanzadeh 2010-05-08 22:17

Re: problems when building src on N900
 
Hi,
i already saw same error.
for resolve it, please remove /var/cache/apt/archives directory and create an soft link /var/cache/apt/ and name it archives that it link to /home/user/archives
then you have enough space


All times are GMT. The time now is 00:12.

vBulletin® Version 3.8.8