You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by b-vol <bv...@btconnect.com> on 2009/12/21 20:30:12 UTC

help with building fom0.95  with X-less linux box

Greetings,

I am new to this list.  I am trying to   compile fop-0.95  on a linux box  
with the following features:
CPU:  AMD64 sempron 2GBytes of RAM, linux -distribution:   clfs,  
kernel-2.6.32, GCC4.4.2, jdk-6u17-linux-x64.bin, apache-ant-1.7.1/junit-4.3.1 
(compiled as given  here:-  
http://www.linuxfromscratch.org/blfs/view/svn/general/apache-ant.html

For fop-0.95  I followed the recipe given here   
http://www.linuxfromscratch.org/blfs/view/svn/pst/fop.html


first I tried running ant as ordinary user and it complained of 'unexplainable 
errors'.  I then ran as root and obtained the following output;

#############################
junit-userconfig:
     [echo] Running user config tests
    [junit] Testsuite: org.apache.fop.config.UserConfigTestSuite
    [junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 1.246 sec
    [junit] 
    [junit] ------------- Standard Error -----------------
    [junit] Dec 21, 2009 6:39:41 PM org.apache.fop.apps.FopFactory resolveURI
    [junit] SEVERE: Attempt to resolve 
URI 'badprotocol:test/resources/fonts/glb12.ttf.xml' failed: 
    [junit] javax.xml.transform.TransformerException: Error with URL; 
base 'file:/home/lattice/build09u6/sources-lan161109/fop-0.95/./' 
href 'badprotocol:test/resources/fonts/glb12.ttf.xml'


##########eventually it ended as##################

junit-intermediate-format:

junit:

BUILD FAILED
/home/lattice/build09u6/sources-lan161109/fop-0.95/build.xml:918: NOTE:
**************************************************************************
* One or more of the Junit tests had Failures or Errors or were skipped! *
*         Please check the output above for relevant messages.           *
*    Or use the "junit-reports" target to generate HTML test reports.    *
**************************************************************************

Total time: 1 minute 25 seconds

###########################

I do not have X-windows installed  as   the tentative application is in  a 
network a server.



Advice/suggestions welcomed.

sincerely
bvol

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: help with building fom0.95 with X-less linux box

Posted by Pascal Sancho <pa...@takoma.fr>.
Hi,

When you invoke "ant" without any parameter, you launch the complete 
junit test sequence before the build.
What you need is the target "package" (see [1])
You'll probably have to clean your build folder before, using the target 
"clean".

For a complete target list, type in "ant -projecthelp"

[1] http://xmlgraphics.apache.org/fop/0.95/compiling.html#build-script

HTH,
Pascal

b-vol a écrit :
> Greetings,
>
> I am new to this list.  I am trying to   compile fop-0.95  on a linux box
> with the following features:
> CPU:  AMD64 sempron 2GBytes of RAM, linux -distribution:   clfs,
> kernel-2.6.32, GCC4.4.2, jdk-6u17-linux-x64.bin, apache-ant-1.7.1/junit-4.3.1
> (compiled as given  here:-
> http://www.linuxfromscratch.org/blfs/view/svn/general/apache-ant.html
>
> For fop-0.95  I followed the recipe given here
> http://www.linuxfromscratch.org/blfs/view/svn/pst/fop.html
>
>
> first I tried running ant as ordinary user and it complained of 'unexplainable
> errors'.  I then ran as root and obtained the following output;
>
> #############################
> junit-userconfig:
>      [echo] Running user config tests
>     [junit] Testsuite: org.apache.fop.config.UserConfigTestSuite
>     [junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 1.246 sec
>     [junit]
>     [junit] ------------- Standard Error -----------------
>     [junit] Dec 21, 2009 6:39:41 PM org.apache.fop.apps.FopFactory resolveURI
>     [junit] SEVERE: Attempt to resolve
> URI 'badprotocol:test/resources/fonts/glb12.ttf.xml' failed:
>     [junit] javax.xml.transform.TransformerException: Error with URL;
> base 'file:/home/lattice/build09u6/sources-lan161109/fop-0.95/./'
> href 'badprotocol:test/resources/fonts/glb12.ttf.xml'
>
>
> ##########eventually it ended as##################
>
> junit-intermediate-format:
>
> junit:
>
> BUILD FAILED
> /home/lattice/build09u6/sources-lan161109/fop-0.95/build.xml:918: NOTE:
> **************************************************************************
> * One or more of the Junit tests had Failures or Errors or were skipped! *
> *         Please check the output above for relevant messages.           *
> *    Or use the "junit-reports" target to generate HTML test reports.    *
> **************************************************************************
>
> Total time: 1 minute 25 seconds
>
> ###########################
>
> I do not have X-windows installed  as   the tentative application is in  a
> network a server.
>
>
>
> Advice/suggestions welcomed.
>
> sincerely
> bvol

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org