Page 4 of 5

Re: How to Install MegaTunix on Ubuntu Linux (all versions)

Posted: Sun Jan 23, 2011 4:27 pm
by gtpilot
** (gaugedesigner:5818): WARNING **: Couldn't load builder file: Unhandled tag: 'requires' - when executing gaugedesigner

** (dasdesigner:9985): WARNING **: Couldn't load builder file: Unhandled tag: 'requires' - when executing dashdesigner

Muchas gracias!

Kirk

Re: How to Install MegaTunix on Ubuntu Linux (all versions)

Posted: Sun Jan 23, 2011 7:28 pm
by djandruczyk
gtpilot wrote:** (gaugedesigner:5818): WARNING **: Couldn't load builder file: Unhandled tag: 'requires' - when executing gaugedesigner

** (dasdesigner:9985): WARNING **: Couldn't load builder file: Unhandled tag: 'requires' - when executing dashdesigner

Muchas gracias!

Kirk
Crap, 8.04 old, the GTKbuilder support in that version is troublesome as it was pretty new for that release. This is due to GK+ being too old on that release. There is a way around it but it requires me to do it in code, give me a day or two to try and fix it. As an alternative, a version of ubuntu with GTK+2.16 or NEWER will not have this issue, which would be ubuntu 9.04 or newer. I will fix it to make it work on the older version however, it'll just take me a day or two.

Re: How to Install MegaTunix on Ubuntu Linux (all versions)

Posted: Sun Jan 23, 2011 8:02 pm
by gtpilot
Eh...David...don't do it - I will get an upgrade to 10.xx UBUNTU (it works on my other machine 10.xxLTS) and get it running - please, just focus on current stuff, I can make it work with a little bit if time on my side, you have enough stuff to support already!

Kirk

Re: How to Install MegaTunix on Ubuntu Linux (all versions)

Posted: Sun Jan 23, 2011 8:51 pm
by djandruczyk
gtpilot wrote:Eh...David...don't do it - I will get an upgrade to 10.xx UBUNTU (it works on my other machine 10.xxLTS) and get it running - please, just focus on current stuff, I can make it work with a little bit if time on my side, you have enough stuff to support already!

Kirk
Too late, I already fixed it.. :)

Its in git, modular_0.4 branch, currently only the gaugedesigner, will fix dashdesigner tomorrow morning.

Re: How to Install MegaTunix on Ubuntu Linux (all versions)

Posted: Mon Jan 24, 2011 9:07 am
by djandruczyk
Kirk, I have them both fixed and committed into git. If possible, please test on 8.04, make sure to use the modular_0.4 branch.

Thanks

Re: How to Install MegaTunix on Ubuntu Linux (all versions)

Posted: Tue Jun 07, 2011 1:18 am
by nicktruman
Would it be poissible for an update to suit version 11.04 please? I tried running this process and it kept failing.

Re: How to Install MegaTunix on Ubuntu Linux (all versions)

Posted: Tue Jun 07, 2011 7:14 am
by djandruczyk
nicktruman wrote:Would it be poissible for an update to suit version 11.04 please? I tried running this process and it kept failing.

Use the "master" branch and it should build cleanly for 11.04.

Re: How to Install MegaTunix on Ubuntu Linux (all versions)

Posted: Tue Jun 21, 2011 11:32 pm
by m3ltd0wn
don't know what i'm doing wrong ... but under Debian 5 (stable release) i get these errors when i'm trying to "make"

Code: Select all

comms.o: In function `enumerate_dev':
comms.c:(.text+0x343): undefined reference to `gtk_dialog_get_content_area'
dashboard.o: In function `toggle_main_visible':
dashboard.c:(.text+0x1de7): undefined reference to `gtk_widget_set_visible'
dashboard.c:(.text+0x1e94): undefined reference to `gtk_widget_set_visible'
collect2: ld returned 1 exit status
make[3]: *** [megatunix] Error 1
configure doesn't throw any errors. and this is the git version i'm trying to compile.
:RTFM:

Re: How to Install MegaTunix on Ubuntu Linux (all versions)

Posted: Wed Jun 22, 2011 7:03 am
by piledriver
m3ltd0wn wrote:don't know what i'm doing wrong ... but under Debian 5 (stable release) i get these errors when i'm trying to "make"

Code: Select all

comms.o: In function `enumerate_dev':
comms.c:(.text+0x343): undefined reference to `gtk_dialog_get_content_area'
dashboard.o: In function `toggle_main_visible':
dashboard.c:(.text+0x1de7): undefined reference to `gtk_widget_set_visible'
dashboard.c:(.text+0x1e94): undefined reference to `gtk_widget_set_visible'
collect2: ld returned 1 exit status
make[3]: *** [megatunix] Error 1
configure doesn't throw any errors. and this is the git version i'm trying to compile.
:RTFM:
you are probably missing one of the libgtk* herd of dev packages, or it could be a bug as gtk is getting a bit crufty.

Googling for "undefined reference to `gtk_widget_set_visible' gets 11,300 sumthing hits.

See http://bugs.gentoo.org/show_bug.cgi?id=317839 for some ideas...

Re: How to Install MegaTunix on Ubuntu Linux (all versions)

Posted: Wed Jun 22, 2011 10:27 pm
by m3ltd0wn
yea, seems that gtk version is a little old in debian, i will change the repos to unstable release and update the packages :)

10x for reply

Re: How to Install MegaTunix on Ubuntu Linux (all versions)

Posted: Thu Jun 23, 2011 4:57 am
by djandruczyk
m3ltd0wn wrote:yea, seems that gtk version is a little old in debian, i will change the repos to unstable release and update the packages :)

10x for reply
those calls are in gtk+ 2.2.18 and newer, so if you don't have that it may be part of the issue. (current version if 2.2.24)

Re: How to Install MegaTunix on Ubuntu Linux (all versions)

Posted: Sun Jun 26, 2011 10:00 am
by djandruczyk
I've replaced these calls with a lower denominator that works on older GTK+ releases.

Re: How to Install MegaTunix on Ubuntu Linux (all versions)

Posted: Wed Jul 06, 2011 9:27 am
by piledriver
djandruczyk wrote:I've replaced these calls with a lower denominator that works on older GTK+ releases.
(sigh)

just did another pull to get current, now it suddenly can't find gtk.h
(did a make distclean etc, tried symlinks for both setups but it barfed)

I have a tgz of the tree last time it worked (faster than reverting and works offline)

On Mandriva (and many (most?) other dists) installing multiple versions are handled by installing in /usr/lib/gtk1.2/ /usr/include/gtk1.2 etc...
(1.2 and 2.0.0 dev/lib pkgs installed, it built peachy a few weeks ago , the actual gtk version is 2.2.0)

I'll figure out what the needed ../configure --with option is tonight or tomorrow, gotta work some OT, crashing now.

Thanks!

Re: How to Install MegaTunix on Ubuntu Linux (all versions)

Posted: Wed Jul 06, 2011 3:22 pm
by djandruczyk
GTK 2.2.0 ? that's ANCIENT, what distro is this exactly? i.e. current GTK+ releases in the latest distro's is 2.24). I think 2.2.0 was released around 2005.

You'll have the BEST luck using a modern distro, like ubuntu.

Re: How to Install MegaTunix on Ubuntu Linux (all versions)

Posted: Wed Jul 06, 2011 6:27 pm
by piledriver
Actually 2.20.1 released upsream last October, it's what shipped with the distro I'm running.
The current cooker has 2.24 but it's otherwise as buggy as Ubuntu at this point.

I have Mageia-1 loaded (also GTK+-2.24) but it's more current that 11.4, which causes other issues.

The Debian-stable version is likely 2-3 years old, but with many security//bugfixes backported.

Re: How to Install MegaTunix on Ubuntu Linux (all versions)

Posted: Wed Jul 06, 2011 11:49 pm
by piledriver
Instaled mageia 1, used latest everything, ground my way though configure and still get the same error.

It isn't finding gtk, even though it did at the rc1.
(running make distclean $$ ./configure && make && make install simply "got it right" with the rc1... Sumting Wong.)

Re: How to Install MegaTunix on Ubuntu Linux (all versions)

Posted: Thu Jul 07, 2011 4:04 am
by djandruczyk
piledriver wrote:Instaled mageia 1, used latest everything, ground my way though configure and still get the same error.

It isn't finding gtk, even though it did at the rc1.
(running make distclean $$ ./configure && make && make install simply "got it right" with the rc1... Sumting Wong.)

You need to make sure you have the DEVELOPMENT packages of GTK+ 2.x (and all it's pre-req's, a decent pkg mgmt tool should do this for you), libgtkglext and libglade. Usuaully development pkgs are namesd "-devel" or "-dev"

I'm not familiar with mandriva or mageia, but find and use your package management tools and search for an install those packages that seem to fit that description.

Re: How to Install MegaTunix on Ubuntu Linux (all versions)

Posted: Thu Jul 07, 2011 5:13 am
by piledriver
Thanks for the excellent advice, but...
This is...not my first time at the rodeo... :lol:
It's borken.
The previous pulls build fine on this OS install.
(although I haven't yet tracked down the change that broke it ...yet, mostly not being a git whiz and lack of time)
You have a PM...

Re: How to Install MegaTunix on Ubuntu Linux (all versions)

Posted: Thu Jul 07, 2011 3:57 pm
by piledriver
RESOLVED :yeah!:

No issue with megatunix per se...

A few hours of sleep bring much clarity :lol:

make maintainer-clean doesn't nuke configure, I suppose just rerunning ./autogen.sh would have eliminated the issue.

I was rerunning configure, expecting it to do the right thing.
It apparently can't.

Nuked existing git tree, started over, pulling :
git clone git://github.com/djandruczyk/MegaTunix.git master

In master, ran ./autogen.sh && make , then make install (as root), built/installed/runs without issue.

Re: How to Install MegaTunix on Ubuntu Linux (all versions)

Posted: Wed Jul 27, 2011 3:16 am
by piledriver
Do you have an idea of the min versions of all the dev libs needed for build/gcc etc?

Just snagged an N810-WIMAX for cheap, I can run some fairly recent Debian flavors on it in a chroot, but ...

It will probably end up as a digital dash (or just dual CHT ;-) in dash only mode) as the display is very readable.

I'm wondering if a simple ncurses interface for megatunix might prove useful for small screen devices.
(unix-ish flavors anyway, although IIRC there is a ncurses implementation for windows too)