Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » U++ community news and announcements » Upp 2008.1rc1 released
Re: Upp 2008.1rc1 released [message #16626 is a reply to message #16388] Thu, 03 July 2008 09:11 Go to previous messageGo to previous message
riri is currently offline  riri
Messages: 18
Registered: February 2006
Location: France
Promising Member
Hi,

I tested your Makefiles on an Ubuntu 8.4 (hardy) i386 system (in fact a 32bits system on an amd64 cpu, no matter Razz) with gcc-4.2 (despite the announced internal bug). I first had some problems I explain below to have things compiled, but at the end, I've a link error.

So, the problems Smile :
Due to the content of the Makefiles, you assume a GNU Make no ? (because of MACRO ?= value constructs). In this case, it would be good to detect some things with a $(shell ) macro expansion, such as the HOSTTYPE, and above all compiler and linker flags for various libraries (most them them use pkgconfig, which is handy). If you want, I can make some modifications in this way and give you a patch.

The compile errors were for almost of them due to missing compiler flags.
  • HOSTTYPE is defined in the root makefile, which starts $(MAKE) with -f uppsrc/ide/Makefile. A better solution (if GNU make is assumed) is to use $(MAKE) -C uppsrc/ide, because makeflags are transferred to the called make. To have a HOSTTYPE defined, I exported an environment variable, overriding the root Makefile's one.
  • in uppsrc/ide/Makefile, LOCALBASE defaults to /usr/local. On most system, the distribution library packages are used, and the path is /usr, but this's not important, because of next point Smile
  • On my Ubuntu, the glibconfig.h is not in /usr/include/glib-2.0 but under /usr/lib/glib-2.0/include (don't ask me why, I installed the ubuntu's deb via apt). The same for gdkconfig.h in /usr/lib/gtk-2.0/include. This problem can be solved using pkgconfig to retrieve libraries flags automagically.
  • After having made the needed modifications in the CINC macro of the Makefile, all compilations went ok Smile, but the final link reported an error. Maybe due to a missing link flag, or incompatibility, I don't know: "/usr/lib/libcairo.so: undefined reference to `pixman_format_supported_destination'". An idea ?


Despite theses problems, It's cool to have Makefiles to build an initial ide, good work Wink
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Upp 2008.1rc2 released
Next Topic: SVN UPDATE & .deb BUILD : Revision 324 - 2008-08-02
Goto Forum:
  


Current Time: Sun Jul 06 03:43:38 CEST 2025

Total time taken to generate the page: 0.03209 seconds