Active Topics

 


Reply
Thread Tools
Posts: 838 | Thanked: 3,384 times | Joined on Mar 2009
#121
Originally Posted by marmistrz View Post
I'm trying to compile glib 2.28 from Harmattan, but the autotools are detected as too old, even though I installed automake1.10-autoconf264 and autoconf2.64.
What am I doing wrong?
Yes, I have tried and messed with these without deep understanding. I confess these are packages by me. I can't find my sources for them, but I think they have something wrong.

I think you can install automake from extras-devel and it contains /usr/bin/automake-1.10 (1.10.1).

I have used/I'm using autoconf-2.68 copied from my Ubuntu.

Ugly (but working?):
Code:
sudo cp /usr/bin/autoconf /scratchbox/users/`whoami`/targets/FREMANTLE_ARMEL/usr/bin/autoconf
Not sure what else it needs, maybe all these:
Code:
/usr/bin/autoscan
/usr/bin/autoheader
/usr/bin/autoreconf
/usr/bin/ifnames
/usr/bin/autom4te
/usr/bin/autoupdate
/usr/bin/autoconf
Some of them are also in different path, so you must delete them, or overwrite old symlinks. e.g
Code:
sudo cp /usr/bin/autom4te /scratchbox/devkits/autotools-legacy/bin/autom4te

Last edited by AapoRantalainen; 2012-06-26 at 19:47.
 

The Following User Says Thank You to AapoRantalainen For This Useful Post:
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#122
Originally Posted by AapoRantalainen View Post
Yes, I have tried and messed with these without deep understanding. I confess these are packages by me. I can't find my sources for them, but I think they have something wrong.

I think you can install automake from extras-devel and it contains /usr/bin/automake-1.10 (1.10.1).

I have used/I'm using autoconf-2.68 copied from my Ubuntu.

Ugly (but working?):
Code:
sudo cp /usr/bin/autoconf /scratchbox/users/`whoami`/targets/FREMANTLE_ARMEL/usr/bin/autoconf
Not sure what else it needs, maybe all these:
Code:
/usr/bin/autoscan
/usr/bin/autoheader
/usr/bin/autoreconf
/usr/bin/ifnames
/usr/bin/autom4te
/usr/bin/autoupdate
/usr/bin/autoconf
Some of them are also in different path, so you must delete them, or overwrite old symlinks. e.g
Code:
sudo cp /usr/bin/autom4te /scratchbox/devkits/autotools-legacy/bin/autom4te
Could you please package the newer autotools (autoconf >= 2.64 but overriding the scrathcbox autoconf, automake >= 1.10 but overriding the scratchbox automake)? You must be good at it as you made a lot of ports



Thanks
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here

Last edited by marmistrz; 2012-06-27 at 17:16.
 
Posts: 838 | Thanked: 3,384 times | Joined on Mar 2009
#123
Originally Posted by marmistrz View Post
Could you please package the newer autotools...
I have tried that and there were some problems, can't remember what, maybe they all related to the autobuilder. But maybe it is possible to do package locally and share it outside of extras. I can't do that until end part of of July.
 
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#124
Originally Posted by AapoRantalainen View Post
I have tried that and there were some problems, can't remember what, maybe they all related to the autobuilder. But maybe it is possible to do package locally and share it outside of extras. I can't do that until end part of of July.
OK. Do you still have the sources adapted for Maemo? I may try to compile them locally.
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here
 
Posts: 838 | Thanked: 3,384 times | Joined on Mar 2009
#125
Originally Posted by marmistrz View Post
OK. Do you still have the sources adapted for Maemo? I may try to compile them locally.
Seems I have lost my trials. Of course 'apt-get source' will give what is pushed to the extras-devel, but they might be totally useless.

Best bet is: http://packages.debian.org/wheezy/autoconf
m4 is slightly too low ( 1.4.13 > 1.4.8-2)

And for automake: http://packages.debian.org/wheezy/automake
Where dpkg is too low (1.15.4 > 1.14.25maemo3+0m5)

I can't say would it be better to use old m4 and dpkg or pack them also. (I guess using older versions is better, because new autoconf/automake can be *used* with current m4/dpkg).
 

The Following User Says Thank You to AapoRantalainen For This Useful Post:
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#126
I'm still trying to port applauncher for normal usage, not only for meecolay as this could diminish the problem of too low amount of RAM in N900 (with applauncher the libraries are shared). Could you take a look at this: http://talk.maemo.org/showpost.php?p...7&postcount=40
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here
 
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#127
I've compiled newer sqlite3, could you please test it on-device?
If it's ok, I'll push it to the repos.
I renamed debian/*.symbols as it caused problems.

http://marmistrz.net63.net/meecolay/sqlite3/
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here
 

The Following User Says Thank You to marmistrz For This Useful Post:
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#128
Has anyone tried porting newer libtool ( >= 2.2)?
I tried building the one from Harmattan but I've got very strange problems (as disappearing Makefile.in)
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here
 
Posts: 838 | Thanked: 3,384 times | Joined on Mar 2009
#129
Back to Topic.
I'm not sure is there any package on extras-devel using gcc-4.6 or g++4.6.

But here comes instructions how to use g++-4.6 with autobuilder.
1) debian/control
-Architecture: any
+Architecture: armel
(because compiler on builder is only arm-to-arm)

2) debian/control
+Build-Depends: g++-4.6, binutils2.22
(because g-4.6 needs binutils2.22)

3) debian/control
+Depends: libstdc++6 (>4.6.1)
(I hope this will not break existing applications. I have tested only with one device and didn't seen any failures)

4) Makefile (or configure, configure.ac ...)
-CXX = g++
+CXX = g++-4.6
+LDFLAGS += -B /usr/binutils2.22/bin
(This works better than tuning PATH during debian/rules with PATH=/usr/binutils2.22/bin:$PATH)

----
And I'm slipping topic again, but seems same approach could work even builder has gcc-4.7 (maybe even +thumb).
 

The Following 4 Users Say Thank You to AapoRantalainen For This Useful Post:
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#130
I rebuilt libc6. Still causes the same problems (broken locales and Calendar crashing) but now with source. And less changed than the previous. (only hard changed to softfp)

http://marmistrz.net63.net/public/libc-new/
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 04:32.