Reply
Thread Tools
Posts: 10 | Thanked: 1 time | Joined on Mar 2012
#21
Originally Posted by rcolistete View Post
It is here, in Harmattan SDK mpfr.

How to find it : enable Harmattan SDK, then "apt-cache show libmpfr1ldbl", the result has the line :
Filename: pool/harmattan/free/m/mpfr/libmpfr1ldbl_2.4.1-0maemo4+0m6_armel.deb
So, go to the Harmattan SDK repository site.
ok i found it (i modified my first response) but i can't execute make : not found



apt-get install binutils
dpkg -i --force-all libc6-dev_2.10-0maemo18.1\+0m6_armel.deb
dpkg -i libc-dev-bin_2.10-0maemo18.1\+0m6_armel.deb
dpkg -i linux-kernel-headers_2.6.32-20112910\+0m6_armel.deb
dpkg -i libmpfr1ldbl_2.4.1-0maemo4+0m6_armel.deb
dpkg -i fixincludes_4.4.1-0maemo14\+0m6_armel.deb
dpkg -i cpp-4.4_4.4.1-0maemo14\+0m6_armel.deb
dpkg -i gcc-4.4-base_4.4.1-0maemo14\+0m6_armel.deb
dpkg -i gcc-4.4-locales_4.4.1-0maemo14\+0m6_all.deb
dpkg -i libgomp1_4.4.1-0maemo14\+0m6_armel.deb
dpkg -i gcc-4.4_4.4.1-0maemo14+0m6_armel.deb
dpkg -i libstdc\+\+6_4.4.1-0maemo14\+0m6_armel.deb
dpkg -i g++-4.4_4.4.1-0maemo14\+0m6_armel.deb
dpkg -i --force-all libstdc++6-4.4-dev_4.4.1-0maemo14\+0m6_armel.deb

Last edited by noog; 03-28-2012 at 07:19 PM.
 
Posts: 858 | Thanked: 1,951 times | Joined on May 2011 @ Brazil
#22
Originally Posted by noog View Post
i did that but i can't execute make ?
sh: make: not found
Ok, I have added libgmp3c2 & libmpfr1ldbl & make & binutils to post #18 instructions. make now works on my N9.
__________________
Python, C/C++, Qt and CAS developer. For Maemo/MeeGo :
Integral, Derivative, Limit - calculating mathematical integrals, derivatives and limits. SymPy - Computer Algebra System.
MatPlotLib - 2D & 3D plots in Python. IPython - Python interactive shell. PyGlet - OpenGL, etc in Python.
-- My blog about mobile & scientific computing ---
2 Nokia N9 16GB Black @ 1.35 GHz with Easy Debian, 1 with Sailfish, Stowaway foldable BT keyboard.
Nokia N900 @ 1.1 GHz, EasyDebian, NITDroid 2.2. N810 with cloned Maemo on SD, EasyDebian.

Last edited by rcolistete; 03-30-2012 at 02:35 PM.
 

The Following User Says Thank You to rcolistete For This Useful Post:
Posts: 10 | Thanked: 1 time | Joined on Mar 2012
#23
Originally Posted by hawaii View Post
It *might* be worth it to use a chroot to ensure dependencies don't get bungled up.
i try a compilation but i have this response
and the solution was : ln -s /usr/bin/gcc-4.4 /usr/bin/gcc

Code:
~/compile/lame-3.99 $ ./configure
checking build system type... armv7l-unknown-linux-gnu
checking host system type... armv7l-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/home/user/compile/lame-3.99':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details

Last edited by noog; 03-29-2012 at 06:45 AM.
 
Posts: 10 | Thanked: 1 time | Joined on Mar 2012
#24
Do you know, how can i make deb after the compilation ?
 
Posts: 858 | Thanked: 1,951 times | Joined on May 2011 @ Brazil
#25
Originally Posted by noog View Post
Do you know, how can i make deb after the compilation ?
I will try to make a Harmattan SDK image to mount & chroot @ N9 (using open mode kernel or Inception). So, in theory, everything (compile, create .deb, etc) would be possible.
__________________
Python, C/C++, Qt and CAS developer. For Maemo/MeeGo :
Integral, Derivative, Limit - calculating mathematical integrals, derivatives and limits. SymPy - Computer Algebra System.
MatPlotLib - 2D & 3D plots in Python. IPython - Python interactive shell. PyGlet - OpenGL, etc in Python.
-- My blog about mobile & scientific computing ---
2 Nokia N9 16GB Black @ 1.35 GHz with Easy Debian, 1 with Sailfish, Stowaway foldable BT keyboard.
Nokia N900 @ 1.1 GHz, EasyDebian, NITDroid 2.2. N810 with cloned Maemo on SD, EasyDebian.
 
Posts: 858 | Thanked: 1,951 times | Joined on May 2011 @ Brazil
#26
Originally Posted by noog View Post
i try a compilation but i have this response
and the solution was : ln -s /usr/bin/gcc-4.4 /usr/bin/gcc
I've added cpp, gcc and g++ (deb's with links to the real compilers) to post #18.
__________________
Python, C/C++, Qt and CAS developer. For Maemo/MeeGo :
Integral, Derivative, Limit - calculating mathematical integrals, derivatives and limits. SymPy - Computer Algebra System.
MatPlotLib - 2D & 3D plots in Python. IPython - Python interactive shell. PyGlet - OpenGL, etc in Python.
-- My blog about mobile & scientific computing ---
2 Nokia N9 16GB Black @ 1.35 GHz with Easy Debian, 1 with Sailfish, Stowaway foldable BT keyboard.
Nokia N900 @ 1.1 GHz, EasyDebian, NITDroid 2.2. N810 with cloned Maemo on SD, EasyDebian.
 
Posts: 1,129 | Thanked: 591 times | Joined on Dec 2010
#27
am having an issue in that the i've incepted properly, make works fine, but ./configure doesn't and provides an permission denied have i missed something?
 
Posts: 858 | Thanked: 1,951 times | Joined on May 2011 @ Brazil
#28
Originally Posted by m4r0v3r View Post
am having an issue in that the i've incepted properly, make works fine, but ./configure doesn't and provides an permission denied have i missed something?
Please show the output error, what are you trying to compile, etc.
__________________
Python, C/C++, Qt and CAS developer. For Maemo/MeeGo :
Integral, Derivative, Limit - calculating mathematical integrals, derivatives and limits. SymPy - Computer Algebra System.
MatPlotLib - 2D & 3D plots in Python. IPython - Python interactive shell. PyGlet - OpenGL, etc in Python.
-- My blog about mobile & scientific computing ---
2 Nokia N9 16GB Black @ 1.35 GHz with Easy Debian, 1 with Sailfish, Stowaway foldable BT keyboard.
Nokia N900 @ 1.1 GHz, EasyDebian, NITDroid 2.2. N810 with cloned Maemo on SD, EasyDebian.
 
Posts: 1,129 | Thanked: 591 times | Joined on Dec 2010
#29
seems i didn't own the file so it was causing an error
 
Posts: 1 | Thanked: 0 times | Joined on Apr 2012
#30
I got gcc to work -- at least for small programs.

The /tmp on the device is too small though for anything of size. The normal way to address this to set the environment variable TMPDIR to point to a larger directory. But this doesn't work. Has anybody else seen this problem?

thanks

Alan
 
Reply

Thread Tools

 
Forum Jump


All times are GMT -4. The time now is 02:10 AM.