Hi Nicolas, Sorry not to have responded to this earlier. I don't see any of the problems you have reported. Without changes to the build components in svn recently, the following steps worked with no problem:
mkdir testcpp cd testcpp svn co http://svn.apache.org/repos/asf/incubator/uima/uimacpp/trunk mv trunk/ uimacpp-2.2.0-svn cd uimacpp-2.2.0-svn/src make -f Makefile.prebuild export APR_HOME=/home/uimacpp/apr-1.2.8/usr/local/apr export ICU_HOME=/home/uimacpp/icu export XERCES_HOME=/home/uimacpp/xml4c-src5_5_0/install export JAVA_HOME=/uimacpp-common/ibm-java2-i386-50 export JAVA_INCLUDE=$JAVA_HOME/include make -f Makefile.unix install cd test ./fvt.sh cd ../../docs/ ./builddocs.sh cd .. ./buildsdk.sh ~/testcpp Our build makes assumptions about how APR, ICU and Xerces were built that are probably different from what you have. I will add some details on building these components to the readme in the next few days. Not that I don't see any problems with buildsdk.sh. Why you are having problems with that is a puzzle to me. Eddie On Tue, Jan 22, 2008 at 11:08 AM, Nicolas Hernandez <[EMAIL PROTECTED]> wrote: > Hi, > > I recently heard about the UIMA UIMA framework and I m currently > testing it to estimate whether it fits to heterogeneous needs of my > research team. So far, I have managed to install eclipse plugins, made > my first annotators, dealt with SOAP deployment... > My last tests have concerned the ability of UIMA to integrate > Annotators written with Perl API thanks the "C++ Enablement Layer". I > failed with the IBM' 1.4 and then I found this post about the > Apache'one. > > I got some problems to install the latter. Since I finally managed to > deal with, I let you know some hints to get the uimacpp works from the > checkout version (as far as I understood from the READMEs). > > I installed everything in my personnal $APPLI dir. > "jdk1.6.0" is installed too. > And I run on Linux version 2.6.22-14-generic ([EMAIL PROTECTED]) (gcc > version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)). > > 1. checkout ; we call the trunk, $APPLI/apache-uimacpp-v2.2.0-svn > > 2. follow the README.4src guidelines "Setting up the build environment". > > 3. install APR, ICU, XERCES and declare variables in .bashrc > #------ JAVA > export JAVA_HOME=$APPLI/jdk > export JRE_HOME=$JAVA_HOME/jre > export JAVA_INCLUDE=$JAVA_HOME/include > export CPATH=$JAVA_HOME/include:$CPATH > > #------ XERCES - http://xml.apache.org/xerces-c/ > export XERCES_HOME=$APPLI/xerces-c > export PATH=$PATH:$XERCES_HOME/bin > export LD_LIBRARY_PATH=$XERCES_HOME/lib:$LD_LIBRARY_PATH > > #------ ICU - http://www.icu-project.org/ > export ICU_HOME=$APPLI/icu4c-3_8_1-bin > export PATH=$PATH:$ICU_HOME/bin:$ICU_HOME/sbin > export LD_LIBRARY_PATH=$ICU_HOME/lib:$LD_LIBRARY_PATH > export CPATH=$ICU_HOME/include:$CPATH > > #------ APR - http://apr.apache.org/ > export APR_HOME=$APPLI/apr > export PATH=$PATH:$APR_HOME/bin > export > LD_LIBRARY_PATH=$APR_HOME/include:$APR_HOME/include/apr-1:$APR_HOME/lib:$LD_LIBRARY_PATH > export CPATH=$APR_HOME/include:$APR_HOME/include/apr-1:$APR_HOME/lib:$CPATH > > 4. make some apt-get install libtool automake autoconf doxygen graphviz > > 5. cd apache-uimacpp-svn/src > make -f Makefile.prebuild > > 6. ./configure --prefix=apache-uimacpp-v2.2.0-bin > --with-jdk=$APPLI/jdk/include/linux --with-apr=$APR_HOME > --with-icu=$ICU_HOME --with-xerces=$XERCES_HOME > Here is a bug, since "apache-uimacpp-v2.2.0-bin" will be created into > apache-uimacpp-svn. We will call this dir UIMA_INSTALLDIR > > 7. make -f Makefile.unix install > > 8. > cd ../../docs > ./builddocs.sh > > 9. > cd .. > export > UIMA_INSTALLDIR=$APPLI/apache-uimacpp-v2.2.0-svn/apache-uimacpp-v2.2.0-bin > > 10. Since buildsdk.sh have some bugs (UIMA_INSTALL -> UIMA_INSTALLDIR, > and UIMA_INSTALLDIR/include/uima does not exist) do > mkdir $UIMA_INSTALLDIR/include/uima > cp $UIMA_INSTALLDIR/include/* $UIMA_INSTALLDIR/include/uima > > 11. > rm -rf $APPLI/tmp > ./buildsdk.sh $APPLI/tmp > cd $APPLI/tmp > tar cvzf uimacpp-2.2.0-incubating-bin.tgz uimacpp > > 12. Add in .bashrc > #------ UIMACPP > export UIMACPP_HOME=$UIMA_HOME/uimacpp > export PATH=$UIMACPP_HOME/bin:$PATH > export LD_LIBRARY_PATH=$UIMACPP_HOME/lib:$LD_LIBRARY_PATH > > you can copy uimacpp-2.2.0-incubating-bin.tgz into your UIMA_HOME, and > read its README. > > The rest works with me easily... > > Wish you having fun... > > /Nicolas > > > On Jan 15, 2008 1:52 PM, LeHouillier, Frank D. > > > <[EMAIL PROTECTED]> wrote: > > The C++ framework from apache hasn't been released yet but it is > > available via subversion. If you have subversion installed, the command > > is > > > > svn co http://svn.apache.org/repos/asf/incubator/uima/uimacpp/trunk > > > > There are readme's included about how to build the source included for > > the gcc on linux and for Visual 8 on windows. > > > > I think that this version is largely the same as the IBM UIMA Cpp > > version 1.4 but changes all the namespaces and hooks up to the current > > Java UIMA well. The core UIMA team has mostly focused on the Java > > framework in terms of developing the API and getting the project out of > > incubation etc. I expect that at some point some work will be done to > > bring the Cpp API more in line with the Java API and we might even get > > stuff like the JCas for c++, but this probably depends more on community > > support than anything else. > > > > > > -----Original Message----- > > From: Kinnemann, Henrik [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, January 15, 2008 7:38 AM > > To: [email protected] > > Subject: Where can I download an C++ UIMA framework? > > > > Hi all, > > > > where can I download an "C++ UIMA framework"? I only saw the "Java UIMA > > framework" for downloading from Apache's web-site. > > > > Best regards, > > Henrik > > > > > > -- > [EMAIL PROTECTED] > -- > # Laboratoire LINA-TALN CNRS UMR 6241 > tel. +33 (0)2 51 12 58 55 > # Institut Universitaire de Technologie de Nantes - Département Informatique > tel. +33 (0)2 40 30 60 67 >
