Trying to Install
  • Hi everyone. I have a box I'm wanting to try LiveSupport out on for one of my Internet Radio Stations. I followed the docs so far and got to the "make setup && make compile" stage, it ran for about 30 minutes, then displayed:



    ------------



    Making install in tests

    doxygen: not found

    cp: illegal option -- a

    usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target

    cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN directory

    doxytag -t ./doc/doxygen/xmlrpc++.tag ./usr/share/doc/xmlrpc++/XmlRpcServerMethod_8h-source.html ./usr/share/doc/xmlrpc++/classXmlRpc_1_1XmlRpcServerMethod.html ./usr/share/doc/xmlrpc++/classXmlRpc_1_1XmlRpcServerMethod-members.html

    doxytag:No such file or directory

    *** Error code 1



    Stop in /usr/home/mixx941/livesupport-0.9.



    [screen is terminating]

    make -C ./modules/core all

    make: don't know how to make all. Stop

    *** Error code 2



    Stop in /usr/home/mixx941/livesupport-0.9.



    --------------------------



    Just wondering if anyone has any ideas to point me in the right direction. FreeBSD 5.3-RELEASE, AMD Athlon XP 2000+, PostgreSQL 8, Apache1.3.



    -Mark

  • 20 Comments sorted by
  • livesupport-dev@eserver2.mdlf.org wrote:
    > doxygen: not found

    you do need doxygen,
    http://livesupport.campware.org/public_html/doc/developmentTools.html

    >
    > cp: illegal option -- a
    >
    > usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target

    ...

    > Just wondering if anyone has any ideas to point me in the right direction.
    > FreeBSD 5.3-RELEASE, AMD Athlon XP 2000+, PostgreSQL 8, Apache1.3.

    oh oh, it seems the cp command on FreeBSD does not support the -a option.

    I replaced cp -a in all scripts with cp -pPR, which is in essence it's
    equivalent. please do a CVS udpate, and try again.. (and please install
    doxygen before doing so).


    Akos

    ------------------------------------------
    Posted to Phorum via PhorumMail
  • Thanks for the fast response. I got doxygen and the latest CVS and tried again. This is the result:



    -----------------------



    doxytag -t ./doc/doxygen/xmlrpc++.tag ./usr/share/doc/xmlrpc++/XmlRpcServerMethod_8h-source.html ./usr/share/doc/xmlrpc++/classXmlRpc_1_1XmlRpcServerMethod.html ./usr/share/doc/xmlrpc++/classXmlRpc_1_1XmlRpcServerMethod-members.html

    Warning: File ./usr/share/doc/xmlrpc++/XmlRpcServerMethod_8h-source.html does not exist

    Warning: File ./usr/share/doc/xmlrpc++/classXmlRpc_1_1XmlRpcServerMethod.html does not exist

    Warning: File ./usr/share/doc/xmlrpc++/classXmlRpc_1_1XmlRpcServerMethod-members.html does not exist

    ./modules/core/bin/autogen.sh



    You must have autoconf installed to compile Core.

    Download the appropriate package for your distribution,

    or get the source tarball at ftp://ftp.gnu.org/pub/gnu/



    You must have autoconf installed to compile Core.

    Download the appropriate package for your distribution,

    or get the source tarball at ftp://ftp.gnu.org/pub/gnu/

    *** Error code 1



    Stop in /usr/home/mixx941/livesupport/livesupport.



    [screen is terminating]

    make -C ./modules/core all

    make: don't know how to make all. Stop

    *** Error code 2



    Stop in /usr/home/mixx941/livesupport/livesupport.



    ----------------------------



    I tried to install autoconf via ports, but it says:



    ===> autoconf-2.59_2 is already installed



    -Mark

  • livesupport-dev@eserver2.mdlf.org wrote:
    > I tried to install autoconf via ports, but it says:
    >
    >
    >
    > ===> autoconf-2.59_2 is already installed

    but, if you issue the comand autoconf or autoheader, what do you get?
    (more specifically: autoconf --version and autoheader --version)


    Akos

    ------------------------------------------
    Posted to Phorum via PhorumMail
  • freebsd# autoconf --version

    autoconf: command not found



    freebsd# find / -name "autoconf"

    freebsd# /usr/local/libexec/autoconf259/autoconf



    freebsd# /usr/local/libexec/autoconf259/autoconf --version

    autoconf (GNU Autoconf) 2.59



    freebsd# /usr/local/libexec/autoconf259/autoheader --version

    autoheader (GNU Autoconf) 2.59



    -Mark

  • livesupport-dev@eserver2.mdlf.org wrote:
    > This message was sent from: LiveSupport Development.
    >
    > ----------------------------------------------------------------
    >
    > freebsd# autoconf --version
    >
    > autoconf: command not found
    >
    >
    >
    > freebsd# find / -name "autoconf"
    >
    > freebsd# /usr/local/libexec/autoconf259/autoconf
    >
    >
    >
    > freebsd# /usr/local/libexec/autoconf259/autoconf --version
    >
    > autoconf (GNU Autoconf) 2.59
    >
    >
    >
    > freebsd# /usr/local/libexec/autoconf259/autoheader --version
    >
    > autoheader (GNU Autoconf) 2.59

    well, then add these tools to your $PATH, as the build system expects
    them to be there...


    Akos

    ------------------------------------------
    Posted to Phorum via PhorumMail
  • Hi. Sorry, I wasn't thinking straight.



    Did that and ran again. I had libxml 2.6.13 installed before, and I got this:



    -------------

    checking for time.h... yes

    /usr/home/mixx941/livesupport/livesupport/modules/core/tmp/configure: line 3258: syntax error near unexpected token `LIBXMLPP,libxml++-2.6'

    /usr/home/mixx941/livesupport/livesupport/modules/core/tmp/configure: line 3258: `PKG_CHECK_MODULES(LIBXMLPP,libxml++-2.6 >= 2.6.0)'

    *** Error code 2



    Stop in /usr/home/mixx941/livesupport/livesupport.



    [screen is terminating]

    make -C ./modules/core all

    make: don't know how to make all. Stop

    *** Error code 2



    Stop in /usr/home/mixx941/livesupport/livesupport.



    ----------------



    Now I installed 2.6.19 and am about to run it again, unless you have a different suggestion?



    Thanks again for all the help Smile



    -Mark

  • Tried it with the updated libxml, same error.



    Thanks



    -Mark

  • livesupport-dev@eserver2.mdlf.org wrote:
    > This message was sent from: LiveSupport Development.
    >
    > ----------------------------------------------------------------
    >
    > Hi. Sorry, I wasn't thinking straight.
    >
    >
    >
    > Did that and ran again. I had libxml 2.6.13 installed before, and I got
    > this:

    first, this is a bad idea. we're using libxml++-2.8.1, and we've
    included it in our tools section. when you run make setup (or make
    tools_setup) from the main livesupport directory, this version is
    compiled and installed under livesupport/usr. that's what livesupport uses.

    I'm sure you've read the getting started documentation:

    http://livesupport.campware.org/public_html/doc/gettingStarted.html

    describing how to set up the development environment.

    > -------------
    >
    > checking for time.h... yes
    >
    > /usr/home/mixx941/livesupport/livesupport/modules/core/tmp/configure: line
    > 3258: syntax error near unexpected token `LIBXMLPP,libxml++-2.6'
    >
    > /usr/home/mixx941/livesupport/livesupport/modules/core/tmp/configure: line
    > 3258: `PKG_CHECK_MODULES(LIBXMLPP,libxml++-2.6 >= 2.6.0)'

    this is strange indeed. this means that for some reason the
    PKG_CHECK_MODULES macro does not get expanded from configure.ac to the
    configure script.

    can you tell me your aclocal (automake) version? (output of aclocal
    --version and automake --version)?

    also, can you send me the output of modules/core/bin/autogen.sh ?


    Akos

    ------------------------------------------
    Posted to Phorum via PhorumMail
  • Hi. Yes I read the documentation, in particular the Install doc, which I still have open. It says that the tools are expected on the system, so I guess that's why I installed it.















    Here is the output of the things you requested:



    --------------------



    -bash-3.00$ aclocal --version

    aclocal (GNU automake) 1.8.5





    -bash-3.00$ automake --version

    automake (GNU automake) 1.8.5



    -bash-3.00$ ./autogen.sh

    I am going to run ./configure with no arguments - if you wish

    to pass any to it, please specify them on the ./autogen.sh command line.

    Generating configuration files for Core, please wait....

    aclocal --output=/usr/home/mixx941/livesupport/livesupport/modules/core/tmp/aclocal.m4

    acinclude.m4:39: warning: underquoted definition of PKG_CHECK_MODULES

    run info '(automake)Extending aclocal'

    or see http://sources.redhat.com/automake/automake.html#Extending%20aclocal

    /usr/X11R6/share/aclocal/xmms.m4:17: warning: underquoted definition of XMMS_TEST_VERSION

    /usr/X11R6/share/aclocal/xmms.m4:62: warning: underquoted definition of AM_PATH_XMMS

    /usr/X11R6/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK

    autoheader /usr/home/mixx941/livesupport/livesupport/modules/core/etc/configure.ac

    aclocal.m4:14: /usr/local/bin/gm4: Cannot open acinclude.m4: No such file or directory

    autom4te259: /usr/local/bin/gm4 failed with exit status: 1

    autoheader: /usr/local/bin/autom4te259 failed with exit status: 1

    autoconf -I /usr/home/mixx941/livesupport/livesupport/modules/core/tmp -o /usr/home/mixx941/livesupport/livesupport/modules/core/tmp/configure /usr/home/mixx941/livesupport/livesupport/modules/core/etc/configure.ac

    aclocal.m4:14: /usr/local/bin/gm4: Cannot open acinclude.m4: No such file or directory

    autom4te259: /usr/local/bin/gm4 failed with exit status: 1

    checking for g++... g++

    checking for C++ compiler default output file name... a.out

    checking whether the C++ compiler works... yes

    checking whether we are cross compiling... no

    checking for suffix of executables...

    checking for suffix of object files... o

    checking whether we are using the GNU C++ compiler... yes

    checking whether g++ accepts -g... yes

    checking for gcc... gcc

    checking whether we are using the GNU C compiler... yes

    checking whether gcc accepts -g... yes

    checking for gcc option to accept ANSI C... none needed

    checking how to run the C preprocessor... gcc -E

    checking for egrep... grep -E

    checking for ANSI C header files... yes

    checking for sys/types.h... yes

    checking for sys/stat.h... yes

    checking for stdlib.h... yes

    checking for string.h... yes

    checking for memory.h... yes

    checking for strings.h... yes

    checking for inttypes.h... yes

    checking for stdint.h... yes

    checking for unistd.h... yes

    checking getopt.h usability... yes

    checking getopt.h presence... yes

    checking for getopt.h... yes

    checking sys/time.h usability... yes

    checking sys/time.h presence... yes

    checking for sys/time.h... yes

    checking time.h usability... yes

    checking time.h presence... yes

    checking for time.h... yes

    /usr/home/mixx941/livesupport/livesupport/modules/core/tmp/configure: line 3258: syntax error near unexpected token `LIBXMLPP,libxml++-2.6'

    /usr/home/mixx941/livesupport/livesupport/modules/core/tmp/configure: line 3258: `PKG_CHECK_MODULES(LIBXMLPP,libxml++-2.6 >= 2.6.0)'









    --------------------











    Thanks







    -Mark

  • livesupport-dev@eserver2.mdlf.org wrote:
    > This message was sent from: LiveSupport Development.
    >
    > ----------------------------------------------------------------
    >
    > Hi. Yes I read the documentation, in particular the Install doc, which I
    > still have open. It says that the tools are expected on the system, so I
    > guess that's why I installed it.

    excellent. you probably see that neither the development tools document:

    http://livesupport.campware.org/public_html/doc/developmentTools.html

    nor the getting started document:

    http://livesupport.campware.org/public_html/doc/gettingStarted.html

    mentions libxml++

    > Here is the output of the things you requested:
    >
    >
    >
    > --------------------
    >
    >
    >
    > -bash-3.00$ aclocal --version
    >
    > aclocal (GNU automake) 1.8.5
    >
    >
    >
    >
    >
    > -bash-3.00$ automake --version
    >
    > automake (GNU automake) 1.8.5
    >
    >
    >
    > -bash-3.00$ ./autogen.sh
    >
    > I am going to run ./configure with no arguments - if you wish
    >
    > to pass any to it, please specify them on the ./autogen.sh command line.
    >
    > Generating configuration files for Core, please wait....
    >
    > aclocal
    > --output=/usr/home/mixx941/livesupport/livesupport/modules/core/tmp/aclocal.m4
    >
    > acinclude.m4:39: warning: underquoted definition of PKG_CHECK_MODULES

    oh, I see. can you invoke automake 1.7 instead? usually you are able to
    achieve this with setting some environment variable (on my system for
    example it's simply WANT_AUTOMAKE=1.7)


    Akos

    ------------------------------------------
    Posted to Phorum via PhorumMail
  • Right, I didn't install libxml++, I installed libxml2-2.6.19 from the FreeBSD ports as mentioned in install.html in the tarball under "Libraries". I assume libxml2-2.6.19 is different from libxml++-2.10.0, seeing as the descriptions say:



    libxml++-2.10.0

    XML API for C++



    libxml2-2.6.19

    XML parser library for GNOME



    On the automake 1.7, I'm not sure how. I asked around in some FreeBSD irc rooms, and nobody there knew either.



    Thanks.



    -Mark

  • livesupport-dev@eserver2.mdlf.org wrote:
    > This message was sent from: LS Development.
    >
    > ----------------------------------------------------------------
    >
    > Right, I didn't install libxml++, I installed libxml2-2.6.19 from the
    > FreeBSD ports as mentioned in install.html in the tarball under
    > "Libraries". I assume libxml2-2.6.19 is different from libxml++-2.10.0,
    > seeing as the descriptions say:

    yes, you're totally right, LiveSupport assumes libxml2 installed, but
    not libxml++.

    > On the automake 1.7, I'm not sure how. I asked around in some FreeBSD irc
    > rooms, and nobody there knew either.

    let me know if you have automake 1.7 available. unfortunately things
    changed after 1.7, if you just google for the error message:

    "warning: underquoted definition of ..."

    you'll get a zillion hits Sad


    Akos

    ------------------------------------------
    Posted to Phorum via PhorumMail
  • The only thing I got from talking to people about automake was that 7 is no longer even in the FreeBSD ports, and I've confirmed that it is not.

    I will admit I am not the best at development, but I'd like to keep trying to get your product installed. Smile . The demo looks good, and may be exactly what I need for one of my Internet Radio Stations.

    Thanks again for all your help so far!

    -Mark
  • livesupport-dev@eserver2.mdlf.org wrote:
    > This message was sent from: LS Development.
    >
    > ----------------------------------------------------------------
    >
    > The only thing I got from talking to people about automake was that 7 is no
    > longer even in the FreeBSD ports, and I've confirmed that it is not.

    this is quite strange indeed, as on Linux, if I install automake 1.9, I
    get actually all versions from 1.4 to 1.9. I can invoke them explictly
    by automake-1.X, or implicitly by setting an environment variable, as I
    mentioned before...

    > I will admit I am not the best at development, but I'd like to keep trying
    > to get your product installed. Smile . The demo looks good, and may be
    > exactly what I need for one of my Internet Radio Stations.

    good to hear that you find our project possibly useful!


    Akos

    ------------------------------------------
    Posted to Phorum via PhorumMail
  • I've posted around and asked some more people, nobody knows yet.

    Is there anything you can think of to get around this?

    Thanks.

    -Mark
  • Still trying to find a solution.

    -Mark
  • livesupport-dev@eserver2.mdlf.org wrote:
    > Still trying to find a solution.

    can you post a bug report on the LiveSupport bug tracker, here:

    http://www.campware.org/look/bugs_frameset.html

    issues thrown to the mailing list tend to get scattered and forgotten...

    ------------------------------------------
    Posted to Phorum via PhorumMail
  • Okay, posted a bug report.

    Thanks

    -Mark
  • Hi. I've been working with Fransman and Maroy on my bug report, and I was told to ask you about this part.

    They told me to run bin/install.sh from tools/lcov/lcov-1.3 and check for errors.

    Here is the result:

    installing lcov-1.3 from /usr/home/mixx941/livesupport/livesupport/tools/lcov/lcov-1.3 to /usr/home/mixx941/livesupport/livesupport/usr
    Hmm... Looks like a unified diff to me...
    The text leading up to this was:
    --------------------------
    |diff -Naur lcov-1.3/bin/geninfo lcov-1.3-regexp-fix/bin/geninfo
    |--- lcov-1.3/bin/geninfo 2004-04-29 00:57:11.000000000 +0700
    |+++ lcov-1.3-regexp-fix/bin/geninfo 2004-08-02 12:51:48.996719688 +0700
    --------------------------
    Patching file bin/geninfo using Plan A...
    Hunk 0000001 succeeded at 707.
    done
    bin/install.sh bin/lcov /usr/home/mixx941/livesupport/livesupport/usr/bin/lcov
    bin/install.sh:No such file or directory
    *** Error code 1

    Stop in /usr/home/mixx941/livesupport/livesupport/tools/lcov/lcov-1.3/tmp/lcov-1.3.


    Thanks

    -Mark
  • you can post a bugreport on the issue, but lcov is not essential to
    build LiveSupport (it's just a tool reporting code coverage metrics...)


    livesupport-dev@eserver2.mdlf.org wrote:
    > This message was sent from: LS Development.
    >
    > ----------------------------------------------------------------
    >
    > Hi. I've been working with Fransman and Maroy on my bug report, and I was
    > told to ask you about this part.
    >
    > They told me to run bin/install.sh from tools/lcov/lcov-1.3 and check for
    > errors.
    >
    > Here is the result:
    >
    > installing lcov-1.3 from
    > /usr/home/mixx941/livesupport/livesupport/tools/lcov/lcov-1.3 to
    > /usr/home/mixx941/livesupport/livesupport/usr
    > Hmm... Looks like a unified diff to me...
    > The text leading up to this was:
    > --------------------------
    > |diff -Naur lcov-1.3/bin/geninfo lcov-1.3-regexp-fix/bin/geninfo
    > |--- lcov-1.3/bin/geninfo 2004-04-29 00:57:11.000000000 +0700
    > |+++ lcov-1.3-regexp-fix/bin/geninfo 2004-08-02 12:51:48.996719688 +0700
    > --------------------------
    > Patching file bin/geninfo using Plan A...
    > Hunk 0000001 succeeded at 707.
    > done
    > bin/install.sh bin/lcov
    > /usr/home/mixx941/livesupport/livesupport/usr/bin/lcov
    > bin/install.sh:No such file or directory
    > *** Error code 1
    >
    > Stop in
    > /usr/home/mixx941/livesupport/livesupport/tools/lcov/lcov-1.3/tmp/lcov-1.3.
    >
    >
    > Thanks
    >
    > -Mark
    >
    > ----------------------------------------------------------------
    > Sent using Phorum software version 3.4.3a
    >

    ------------------------------------------
    Posted to Phorum via PhorumMail