Difference between revisions of "ProtegeDevDocsGeneral"

From Protege Wiki
Jump to: navigation, search
(Building Java 6 on the PowerPC)
(Building Java 6 on the PowerPC)
Line 52: Line 52:
 
./configure: line 11028: `PKG_CHECK_MODULES(XPROTO, xproto,XPROTO_FOUND=yes,XPROTO_FOUND=no)'
 
./configure: line 11028: `PKG_CHECK_MODULES(XPROTO, xproto,XPROTO_FOUND=yes,XPROTO_FOUND=no)'
 
</pre>
 
</pre>
 +
 +
From this [http://lists.freebsd.org/pipermail/freebsd-questions/2008-April/172377.html] I found that pkg.m4 needs to be in autoconf's library path.  I'm using fink and found that pkg.m4 was already in /sw/share/aclocal.  I stuck a command line parameter (-B) into autogen.sh, but next time I'd just symlink /usr/local/share/aclocal.

Revision as of 21:13, November 6, 2009

General Protege Developer Documentation




Using and Configuring Protege Ant Build Scripts

See Protege Ant Scripts.

Connect to the Protege Subversion repository from Eclipse

If you want to view and/or checkout Protege source code from the Eclipse IDE, the first step is to install the Subclipse plug-in. Subclipse provides support for Subversion from within Eclipse. Installation instructions are available on the Subclipse website.

Once you have successfully installed Subclipse, launch Eclipse and go to the SVN Repository Exploring perspective. Click the "Add SVN Repository" button to bring up the "Add SVN Repository" dialog. In the "Url" text box, type the following URL:

http://smi-protege.stanford.edu/repos/protege/

... and click Finish. Eclipse should look like the following screenshot:

Svn-repos-perspective.jpg

Building Java 6 on the PowerPC

I am working on solving the problem of Apple's missing Java 6. If I can succeed, the Protege team will consider the policy of not waiting for Apple once a java release reaches its end of life. The disadvantage of such a policy is that apple users will probably be unhappy about needing to install and run on X11.

This will probably get more detailed when I do it the next time. I am trying the build from icedtea which I got with the following mercurial command.

    hg clone http://icedtea.classpath.org/hg/icedtea6

I needed to get/install

Thus far my configure line looks like this:

./configure --enable-zero=yes  \
            --with-project=bsd --with-gcj-home=/usr/local/lib/gcj-4.2.2 \
            --with-ecj-jar=${jars}/eclipse-ecj.jar \
            --with-xalan2-jar=${jars}/xalan.jar  \
            --with-xalan2-serializer-jar=${jars}/serializer.jar \
            --with-xerces2-jar=${jars}/xercesImpl.jar \
            --with-rhino=${jars}/js.jar

My current error is

./configure: line : syntax error near unexpected token `XPROTO,'
./configure: line 11028: `PKG_CHECK_MODULES(XPROTO, xproto,XPROTO_FOUND=yes,XPROTO_FOUND=no)'

From this [1] I found that pkg.m4 needs to be in autoconf's library path. I'm using fink and found that pkg.m4 was already in /sw/share/aclocal. I stuck a command line parameter (-B) into autogen.sh, but next time I'd just symlink /usr/local/share/aclocal.