[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GNU ClassPath : Need some help with autotools

From: Farshad Muhammad
Subject: GNU ClassPath : Need some help with autotools
Date: Wed, 17 Apr 2013 11:23:29 +0000

After building classpath-0.99 with some minor success I learned a little about 
autotools and have been trying to build the git version you sent me but have 
run into some issues which I cant seem to debug.

I'm currently on ubuntu 10.04 LTS (I use this older version because anything 
above 11.10 runs pretty slowly even on my fully upgraded machine and is usually 
very buggy with a Windows 8 dual boot)

I'm using: Automake 1.13, Autoconf 2.65, libtool 2.2.6b.

After cloning the git version of classpath,  i'm currently using these set of 
commands to produce the configure and files:
        $ libtoolize ; aclocal ; autoheader ; automake --add-missing ; autoconf

The commands go through but I keep getting these warnings:
          warning: macro 'AM_ICONV' not found in library warning: AC_LIB_PREPARE_PREFIX is m4_require'd but 
not m4_defun'd
         m4/iconv.m4:11: AM_ICONV_LINKFLAGS_BODY is expanded from...
         m4/iconv.m4:22: AM_ICONV_LINK is expanded from...
         m4/iconv.m4:77: AM_ICONV is expanded from... the top level warning: AC_LIB_RPATH is m4_require'd but not 

and right after when I try to use ./configure it fails giving me this error:
                ./configure: line 18024: syntax error near unexpected token 
                ./configure: line 18024: `      AC_LIB_LINKFLAGS_BODY(iconv)'

I've tried hunting on google for this issue but it hasnt really yielded 
particularly helpful results, any ideas on what I'm doing wrong?

Also I will start working on the first draft of my proposal soon, could I 
possibly send it to you guys for feedback? If so do I just attach and send it 
to this mailing list address or to another specific e-mail address?

Thanks for all your help!

From: address@hidden address@hidden on behalf of Andïï address@hidden
Sent: Monday, April 15, 2013 3:17 PM
To: summer-of-code
Subject: Re: GSOC2013 ClassPath, Port The GTK+ AWT to Gtk+3

On 15 April 2013 20:15, Farshad Muhammad
<address@hidden> wrote:
> Hi,
> As per suggested i've been trying to build and install the GNU classpath on 
> my ubuntu image, though i'm facing some issues. The clean build and install 
> of classpath 0.99 works perfectly only if I use --disable-gtk-peer in the 
> configure for the make. With the gtk-peer enabled i'm getting a lot of 
> deprecated errors which is stopping the make from proceeding, i've debugged a 
> couple of the errors (such as changing Pangoft2FontMap to PangoFontMap) but 
> more seem to pop up everytime, is this normal? or do I need to do something 
> extra for the build to work.

Ah yeah, there are some issues with 0.99 on newer issues due to its
age.  We really need to get a new release out.  It's just finding the
time.  Try building with --disable-Werror as a first start.  It's
probably worth familiarising yourself with the git version anyway, as
you'll need to use this to make changes anyway.

native/jni/gtk-peer/ controls the build logic for the Gtk+ peer.

> I also had some questions for the conversion guide. The guide gives 4 
> makefile CFLAG macros to check for certain things in preparation for gtk +3, 
> such as finding deprecated functions or checking if the includes were valid. 
> But i'm not quiete understanding where in the makefile do these macros go? 
> From what I know they need to be appended properly to the makefile code for 
> it to work, i've placed them in various locations in the makefile but havent 
> had much luck with them doing what they need to do.
> Any help or pointers would be great!
> Thanks
> Farshad
> ________________________________________
> From: address@hidden address@hidden on behalf of Andïï address@hidden
> Sent: Friday, April 12, 2013 3:59 PM
> To: summer-of-code
> Cc: classpath
> Subject: Re: GSOC2013 ClassPath, Port The GTK+ AWT to Gtk+3
> On 9 April 2013 23:36, Farshad Muhammad
> <address@hidden> wrote:
>> Hi,
>> I am currently a fourth year computer science student at Carleton University
>> (Ottawa, Ontario, Canada).
>> I am applying for GSOC 2013 as a student and am searching for projects to
>> try and build proposals for. This is my first time applying thus I dont
>> really have much of an idea on where to start. I am specifically interested
>> in porting the Gtk+ AWT support to Gtk+3. I have working knowledge of C and
>> have used it for many different academic purposes (assignments, projects,
>> etc etc). I would like to know what other tools should i try to familiarize
>> myself with before trying to apply for this project, any starting pointers
>> would be wonderful, and if there are any bug fixes / patches related to this
>> project idea I could try my hand at to familiarize myself with the code
>> base.
>> Any help would be greatly appreciated.
>> Thanks!
>> Farshad
> My suggestion would be to checkout GNU Classpath and make sure you can
> build it on your machine, as a first task.  The git repository is:
> Checkout: $ git clone git://
> Web Interface:
> Savannah Project:
> There's a step-by-step guide on the Gtk+ conversion at:
> Please feel free to mail me if you have further questions.
> Thanks,
> --
> Andii :-)

Hope that helps,
Andii :-)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]