-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ubuntu 10.04 Make fail #57
Comments
On Sun, 2011-12-04 at 00:55 -0800, khalida wrote:
I doubt you need to run sudo make, unless the instructions told you that
Those are symbols from GDK, which should come with the GTK2 development In my case, they're in /usr/include/gtk-2.0/gdk/gdkkeysyms.h ThomasI can't leave you alone Flumotion - the only way to stream! |
Thomas, Many thanks for the quick reply. It appears I have GTK2 development files installed already: $ ls /usr/include/gtk-2.0/gdk And apt indicates I'm up to date as well: $ sudo apt-get install libgtk2.0-dev |
On Sun, 2011-12-04 at 02:29 -0800, khalida wrote:
Can you paste full output of autogen.sh as well ? And did running make Thomas Have my head in the oven URGent, best radio on the net - 24/7 ! |
Full output of ./autogen.sh pasted below. Running make as user rather than sudo did not appear to make any difference. Gives the same GDK_KEY... errors as pasted above. $ ./autogen.sh |
I believe these symbols are gtk+ version dependent, and had a new namespace added to them recently. |
Michael, Thanks for the response. I have looking in the software centre but cannot For now I am able to run an old version of repsnapper built for windows on
On 5 December 2011 10:02, Michael Meeks <
|
Not sure if I'm using the same repository, but I'm also having trouble compiling this :( (ubuntu 10.04 with all dependencies met). Here's the autogen.sh output: $ ./autogen.sh Thanks guys! |
Hi Lucas, The first line of that seems to indicate that you might not have the $ libtoolize on its own in a terminal do you get a 'no such file/command' response? If so then: $ sudo apt-get install libtool Might solve that 1st problem at least. On 6 December 2011 23:32, epoxi <
|
We should prolly hack autogen.sh to check that we have libtoolize on the system and warn in a more friendly way on failure. |
Khalida, Indeed, I was missing the libtool pkg (bump :P). Now it's Installed, but the autogen.sh now says: $ ./autogen.sh Any clue? Many thanks for your help guys! Every minute I feel closer to the RepRap Printing :D :D BR |
Ho hum - it apparently failed - but with no error ;-) that is unusual. If you re-run autogen.sh does it work ? if you remove libtoolize from autogen.sh does it succeed ? most odd. |
Well... starting all over again, I've erased the repsnapper directory and re downloaded the src with git. $ git clone https://github.com/timschmidt/repsnapper.git $ cd repsnapper/ $ ./autogen.sh As you can see, the autogen output is completely different with a fresh download. Now I'm completely lost :'( Thanks for all the help!!! |
Ok, I created an empty directory called "m4" and rerun the autogen.sh It stucks with an error in line 115 :S $ ./autogen.sh this is progress for me :D |
Looking at that line in autogen.sh, I saw it calls the system program intloolize. So.... $ intltoolize --helpThe program 'intltoolize' is currently not installed. You can install it by typing: sudo aptitude install intltool did the work... for the moment :P Then it showed the following error: configure: error: cannot find headers for freeglut Installing libfreeglut3 and libfreeglut3-dev resolved the dependency problem :D :D :D Regardless all of this, the make process didn't finish :( Thanks guys!! EDIT: Looking again at the first post I saw that the errors are the same that Khalida has (GDK_KEY_* errors) |
The m4/autogen.sh issue should be fixed in lastest master, please update and try that again. I don't expect it to have solved your original problem - which is that we're using GDK symbols that don't exist in your version of GDK. We either need to make it work, or figure out the minimum version of GDK we need and make configure fail if it isn't installed. |
I had that m4 thing too, I THINK it was an old autoconf installation lying around |
Introduced in GDK 2.21.8 by: commit 913cdf3be750a1e74c09b20edf55a57f9a919fcc
For compatibility, we should use GDK_Tab, etc instead of GDK_KEY_Tab, and to include gdkkeysyms-compat.h on older gtk. |
Actually, on the 2.21 branch it was commit 750c81f43dda6c783372b983e630ecd30b776d7e, but anyways. I put a patch in master. If it works, let us know so we can close the issue. |
Hello Thaytan, Thanks for the update!! Unfortunately, Ubunutu 10.04 comes with GTK+ is 2.20.1 (>=2.21.8 required). Here's my log: $ git pull !! Some output omited. ... Requested 'gtk+-2.0 >= 2.21.8' but version of GTK+ is 2.20.1 Consider adjusting the PKG_CONFIG_PATH environment variable if you Alternatively, you may set the environment variables GTK_NEW_KEYSYMS_CFLAGS Error running configure at ./autogen.sh line 135. $ I'll try to update the GTK libs whitout messing my ubuntu install. Thanks for all the support you're giving :D BR.- |
Oops, sorry - I was attempting to support gtk < 2.21.8 with my patch, but messed it up. configure wasn't supposed to abort when it finds an older GTK. It's fixed now - can you try it again? (no need to upgrade GTK) |
No problem ;) Now autogen.sh ends with this error (just the last lines): ... Cheers.- |
Grrr. Seems like your version of autoconf handles the 'old gtk' clause differently to mine... new code updated. If this doesn't work, I'm starting a branch ;) |
Great!!! It compiled flawlessly now!!! Thanks so much Thaytan et all!!! :D:D:D:D Regards.- |
Thanks for confirming! |
thaytan, Massive thank-you for the fix for making this compatible with ubuntu 10.04. Kind regards,
|
Hi,
I have (or at least think I have) install all the dependencies; and the
./autogen.sh
appeared to run without reporting any problems and produced the Makefile.
However, when running make, which I did using
sudo make
I get the following errors, and no repsnapper executable is produced:
$ sudo make
make all-recursive
make[1]: Entering directory
/home/khalid/Projects/repRap/repsnap2/repsnapper' Making all in po make[2]: Entering directory
/home/khalid/Projects/repRap/repsnap2/repsnapper/po'file=
echo en_GB | sed 's,.*/,,'
.gmo&& rm -f $file && /usr/bin/msgfmt -o $file en_GB.po
file=
echo de_DE | sed 's,.*/,,'
.gmo&& rm -f $file && /usr/bin/msgfmt -o $file de_DE.po
make[2]: Leaving directory
/home/khalid/Projects/repRap/repsnap2/repsnapper/po' make[2]: Entering directory
/home/khalid/Projects/repRap/repsnap2/repsnapper'CC libraries/libreprap/libreprap_la-comms.lo
CC libraries/libreprap/libreprap_la-fived.lo
CC libraries/libreprap/libreprap_la-serial.lo
CC libraries/libreprap/libreprap_la-tonokip.lo
CC libraries/libreprap/libreprap_la-util.lo
CCLD libreprap.la
CXX libraries/polylib/libpolylib_la-GeometryBase.lo
CXX libraries/polylib/libpolylib_la-Polygon2f.lo
CXXLD libpolylib.la
CXX src/repsnapper-model.o
CXX src/repsnapper-model2.o
CXX src/repsnapper-view.o
src/view.cpp: In member function ‘bool View::key_pressed_event(GdkEventKey_)’:
src/view.cpp:582: error: ‘GDK_KEY_Tab’ was not declared in this scope
src/view.cpp:599: error: ‘GDK_KEY_Escape’ was not declared in this scope
src/view.cpp:605: error: ‘GDK_KEY_Delete’ was not declared in this scope
src/view.cpp:606: error: ‘GDK_KEY_KP_Delete’ was not declared in this scope
src/view.cpp:609: error: ‘GDK_KEY_Up’ was not declared in this scope
src/view.cpp:609: error: ‘GDK_KEY_KP_Up’ was not declared in this scope
src/view.cpp:611: error: ‘GDK_KEY_Down’ was not declared in this scope
src/view.cpp:611: error: ‘GDK_KEY_KP_Down’ was not declared in this scope
src/view.cpp:613: error: ‘GDK_KEY_Left’ was not declared in this scope
src/view.cpp:613: error: ‘GDK_KEY_KP_Left’ was not declared in this scope
src/view.cpp:615: error: ‘GDK_KEY_Right’ was not declared in this scope
src/view.cpp:615: error: ‘GDK_KEY_KP_Right’ was not declared in this scope
make[2]: *_* [src/repsnapper-view.o] Error 1
make[2]: Leaving directory
/home/khalid/Projects/repRap/repsnap2/repsnapper' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory
/home/khalid/Projects/repRap/repsnap2/repsnapper'make: *** [all] Error 2
I originally tried this on my 64-bit desktop, but have also tried it on my 32-bit laptop (both running Ubuntu 10.04) and got exactly the same error so I think I must be missing something in the compile or installation process.
I have tried googling and searching in this and other forums for the key terms in the error but not had any luck. Anyone had these error messages before or understand them?
Many thanks,
The text was updated successfully, but these errors were encountered: