You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by Stefano Mazzocchi <st...@apache.org> on 2006/11/17 06:33:06 UTC

[classlib][linux/x86_32] classlib doesn't buid if X11 is not present

    [copy] Copying 1 file to /home/stefano/src/classlib/deploy/jdk/jre/bin
     [exec] cc -O1 -march=pentium3 -DLINUX -D_REENTRANT
-DIPv6_FUNCTION_SUPPORT -DHYX86
-I/home/stefano/src/classlib/deploy/include
-I/home/stefano/src/classlib/deploy/jdk/include -I. -I../shared/ -fpic
-Icommon -I/usr/X11R6/include -I/usr/include/freetype2 -Iinclude    -c
-o LinuxNativeFont.o LinuxNativeFont.c
     [exec] LinuxNativeFont.c:22:25: error: X11/Xft/Xft.h: No such file
or directory
     [exec] LinuxNativeFont.c:23:31: error: freetype/tttables.h: No such
file or directory
     [exec] LinuxNativeFont.c:24:31: error: freetype/t1tables.h: No such
file or directory
     [exec] LinuxNativeFont.c:39:39: error: freetype/internal/tttypes.h:
No such file or directory
     [exec] LinuxNativeFont.c:43:31: error: freetype/ftsnames.h: No such
file or directory
     [exec] In file included from LinuxNativeFont.c:56:
     [exec] LinuxNativeFont.h:61: error: expected
specifier-qualifier-list before ‘FT_Int’
     [exec] LinuxNativeFont.c: In function
     ....

I'm trying to compile classlib on a x86_32 debian server I have access
to but it doesn't have X installed, can i compile without it? if not,
what is the minimum set of packages I need?

-- 
Stefano.


Re: [classlib][linux/x86_32] classlib doesn't buid if X11 is not present

Posted by "Geir Magnusson Jr." <ge...@pobox.com>.

Stefano Mazzocchi wrote:
> Geir Magnusson Jr. wrote:
>> Here's the instructions I had ready for the website, but got clobbered
>> with one of the many doco patches.  I'll put on website today in terms
>> of requirement, and then point to a wiki for details for this platform.
>>
>> 1) Install subversion, gcc, g++ and make:
>>
>> geir@jack:~$ sudo apt-get install subversion
>> geir@jack:~$ sudo apt-get install gcc
>> geir@jack:~$ sudo apt-get install g++
>> geir@jack:~$ sudo apt-get install make
>>
>> 3) Install java : (1.5.0_9 from sun)
>>
>> 4) Install ant (1.6.x)
>>
>> 4) Get junit and drop the junit-X.jar into ant/lib
>>
>> 4) Install AWT/Swing deps
>>
>>    apt-get install liblcms1-dev
>>    apt-get install libpng12-dev
>>    apt-get install libjpeg62-dev
>>    apt-get install libx11-dev
>>    apt-get install libxft-dev
>>    apt-get install binutils-dev
> 
> You might need to add sudo here too

I wasn't going to presume. :)


Re: [classlib][linux/x86_32] classlib doesn't buid if X11 is not present

Posted by "Geir Magnusson Jr." <ge...@pobox.com>.
remember, we have a page on the website that details this.  The stuff 
you see below is just for config... these were my notes, so the stuff at 
the end should be removed...


Stefano Mazzocchi wrote:
> Stefano Mazzocchi wrote:
>> Geir Magnusson Jr. wrote:
>>> Here's the instructions I had ready for the website, but got clobbered
>>> with one of the many doco patches.  I'll put on website today in terms
>>> of requirement, and then point to a wiki for details for this platform.
>>>
>>> 1) Install subversion, gcc, g++ and make:
>>>
>>> geir@jack:~$ sudo apt-get install subversion
>>> geir@jack:~$ sudo apt-get install gcc
>>> geir@jack:~$ sudo apt-get install g++
>>> geir@jack:~$ sudo apt-get install make
>>>
>>> 3) Install java : (1.5.0_9 from sun)
>>>
>>> 4) Install ant (1.6.x)
>>>
>>> 4) Get junit and drop the junit-X.jar into ant/lib
>>>
>>> 4) Install AWT/Swing deps
>>>
>>>    apt-get install liblcms1-dev
>>>    apt-get install libpng12-dev
>>>    apt-get install libjpeg62-dev
>>>    apt-get install libx11-dev
>>>    apt-get install libxft-dev
>>>    apt-get install binutils-dev
>> You might need to add sudo here too
>>
>>> 5) Get harmony tree :
>>>
>>> geir@jack:~/dev/apache/harmony/enhanced/trunk$ svn co
>>> https://svn.apache.org/repos/asf/incubator/harmony/enhanced/trunk
>>>
>>> 6) populate source subtrees :
>>>
>>> $ cd trunk
>>> $ ant populate_source
>>>
>>> 7) build classlib
>>>
>>>   $ cd working_classlib
>>>   $ ant fetch-depends
>>>   $ ant
>> This is awesome!
>>
>> let's get this up on the web site/wiki ASAP
> 
> ah, don't forget to add instructions for the VM as well
> 

Re: [classlib][linux/x86_32] classlib doesn't buid if X11 is not present

Posted by Stefano Mazzocchi <st...@apache.org>.
Stefano Mazzocchi wrote:
> Geir Magnusson Jr. wrote:
>> Here's the instructions I had ready for the website, but got clobbered
>> with one of the many doco patches.  I'll put on website today in terms
>> of requirement, and then point to a wiki for details for this platform.
>>
>> 1) Install subversion, gcc, g++ and make:
>>
>> geir@jack:~$ sudo apt-get install subversion
>> geir@jack:~$ sudo apt-get install gcc
>> geir@jack:~$ sudo apt-get install g++
>> geir@jack:~$ sudo apt-get install make
>>
>> 3) Install java : (1.5.0_9 from sun)
>>
>> 4) Install ant (1.6.x)
>>
>> 4) Get junit and drop the junit-X.jar into ant/lib
>>
>> 4) Install AWT/Swing deps
>>
>>    apt-get install liblcms1-dev
>>    apt-get install libpng12-dev
>>    apt-get install libjpeg62-dev
>>    apt-get install libx11-dev
>>    apt-get install libxft-dev
>>    apt-get install binutils-dev
> 
> You might need to add sudo here too
> 
>> 5) Get harmony tree :
>>
>> geir@jack:~/dev/apache/harmony/enhanced/trunk$ svn co
>> https://svn.apache.org/repos/asf/incubator/harmony/enhanced/trunk
>>
>> 6) populate source subtrees :
>>
>> $ cd trunk
>> $ ant populate_source
>>
>> 7) build classlib
>>
>>   $ cd working_classlib
>>   $ ant fetch-depends
>>   $ ant
> 
> This is awesome!
> 
> let's get this up on the web site/wiki ASAP

ah, don't forget to add instructions for the VM as well

-- 
Stefano.


Re: [classlib][linux/x86_32] classlib doesn't buid if X11 is not present

Posted by Stefano Mazzocchi <st...@apache.org>.
Geir Magnusson Jr. wrote:
> Here's the instructions I had ready for the website, but got clobbered
> with one of the many doco patches.  I'll put on website today in terms
> of requirement, and then point to a wiki for details for this platform.
> 
> 1) Install subversion, gcc, g++ and make:
> 
> geir@jack:~$ sudo apt-get install subversion
> geir@jack:~$ sudo apt-get install gcc
> geir@jack:~$ sudo apt-get install g++
> geir@jack:~$ sudo apt-get install make
> 
> 3) Install java : (1.5.0_9 from sun)
> 
> 4) Install ant (1.6.x)
> 
> 4) Get junit and drop the junit-X.jar into ant/lib
> 
> 4) Install AWT/Swing deps
> 
>    apt-get install liblcms1-dev
>    apt-get install libpng12-dev
>    apt-get install libjpeg62-dev
>    apt-get install libx11-dev
>    apt-get install libxft-dev
>    apt-get install binutils-dev

You might need to add sudo here too

> 5) Get harmony tree :
> 
> geir@jack:~/dev/apache/harmony/enhanced/trunk$ svn co
> https://svn.apache.org/repos/asf/incubator/harmony/enhanced/trunk
> 
> 6) populate source subtrees :
> 
> $ cd trunk
> $ ant populate_source
> 
> 7) build classlib
> 
>   $ cd working_classlib
>   $ ant fetch-depends
>   $ ant

This is awesome!

let's get this up on the web site/wiki ASAP

-- 
Stefano.


Re: [classlib][linux/x86_32] classlib doesn't buid if X11 is not present

Posted by "Geir Magnusson Jr." <ge...@pobox.com>.
Here's the instructions I had ready for the website, but got clobbered 
with one of the many doco patches.  I'll put on website today in terms 
of requirement, and then point to a wiki for details for this platform.

1) Install subversion, gcc, g++ and make:

geir@jack:~$ sudo apt-get install subversion
geir@jack:~$ sudo apt-get install gcc
geir@jack:~$ sudo apt-get install g++
geir@jack:~$ sudo apt-get install make

3) Install java : (1.5.0_9 from sun)

4) Install ant (1.6.x)

4) Get junit and drop the junit-X.jar into ant/lib

4) Install AWT/Swing deps

    apt-get install liblcms1-dev
    apt-get install libpng12-dev
    apt-get install libjpeg62-dev
    apt-get install libx11-dev
    apt-get install libxft-dev
    apt-get install binutils-dev

5) Get harmony tree :

geir@jack:~/dev/apache/harmony/enhanced/trunk$ svn co 
https://svn.apache.org/repos/asf/incubator/harmony/enhanced/trunk

6) populate source subtrees :

$ cd trunk
$ ant populate_source

7) build classlib

   $ cd working_classlib
   $ ant fetch-depends
   $ ant



Stefano Mazzocchi wrote:
>     [copy] Copying 1 file to /home/stefano/src/classlib/deploy/jdk/jre/bin
>      [exec] cc -O1 -march=pentium3 -DLINUX -D_REENTRANT
> -DIPv6_FUNCTION_SUPPORT -DHYX86
> -I/home/stefano/src/classlib/deploy/include
> -I/home/stefano/src/classlib/deploy/jdk/include -I. -I../shared/ -fpic
> -Icommon -I/usr/X11R6/include -I/usr/include/freetype2 -Iinclude    -c
> -o LinuxNativeFont.o LinuxNativeFont.c
>      [exec] LinuxNativeFont.c:22:25: error: X11/Xft/Xft.h: No such file
> or directory
>      [exec] LinuxNativeFont.c:23:31: error: freetype/tttables.h: No such
> file or directory
>      [exec] LinuxNativeFont.c:24:31: error: freetype/t1tables.h: No such
> file or directory
>      [exec] LinuxNativeFont.c:39:39: error: freetype/internal/tttypes.h:
> No such file or directory
>      [exec] LinuxNativeFont.c:43:31: error: freetype/ftsnames.h: No such
> file or directory
>      [exec] In file included from LinuxNativeFont.c:56:
>      [exec] LinuxNativeFont.h:61: error: expected
> specifier-qualifier-list before ‘FT_Int’
>      [exec] LinuxNativeFont.c: In function
>      ....
> 
> I'm trying to compile classlib on a x86_32 debian server I have access
> to but it doesn't have X installed, can i compile without it? if not,
> what is the minimum set of packages I need?
>