Archived community.zenoss.org | full text search
Skip navigation
1 2 Previous Next 68588 Views 20 Replies Latest reply: Oct 13, 2010 9:53 AM by Mark Rowlands RSS
Matt Ray Rank: Zen Master 2,484 posts since
Apr 5, 2008
Currently Being Moderated

Oct 5, 2009 3:21 PM

FreeBSD source build (not quite) fixed

Currently SVN trunk should be building cleanly, at least under FreeBSD 7.2.  Please confirm if you get a chance.


$ svn co http://dev.zenoss.org/svn/trunk/inst zenossinst

 

$ cd zenossinst

$ ./install.sh

  • shentonfreude Newbie 2 posts since
    Sep 27, 2009
    Currently Being Moderated
    1. Sep 29, 2009 11:22 PM (in response to Matt Ray)
    Re: FreeBSD source build fixed
  • darsys Newbie 1 posts since
    Sep 29, 2009
    Currently Being Moderated
    2. Oct 5, 2009 2:06 PM (in response to Matt Ray)
    Re: FreeBSD source build fixed

    I just did a fresh install of Freebsd 7.2.  I followed this document (docs/DOC-3514) up through step 7 and then followed your svn and install lines posted here.  I get the following error identical to issue 1 in item 9 in the install document.

     

    gcc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DEXEEXT=\"\" -I. -I.. -I../intl -I../intl -I.. -I.. -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -DLIBXML_STATIC -I../intl -I./libcroco -D_THREAD_SAFE -O3 -fPIC -I/usr/local/zenoss/include -c term-styled-ostream.c  -fPIC -DPIC -o .libs/term-styled-ostream.o
    In file included from ./libxml/parser.h:797,
                     from ./libxml/globals.h:19,
                     from ./libxml/threads.h:36,
                     from ./libxml/xmlmemory.h:217,
                     from ./libxml/tree.h:1205,
                     from ./libcroco/cr-sel-eng.h:34,
                     from term-styled-ostream.oo.c:26:
    ./libxml/encoding.h:29:19: error: iconv.h: No such file or directory
    In file included from ./libxml/parser.h:797,
                     from ./libxml/globals.h:19,
                     from ./libxml/threads.h:36,
                     from ./libxml/xmlmemory.h:217,
                     from ./libxml/tree.h:1205,
                     from ./libcroco/cr-sel-eng.h:34,
                     from term-styled-ostream.oo.c:26:
    ./libxml/encoding.h:137: error: expected specifier-qualifier-list before 'iconv_t'
    *** Error code 1

    Stop in /usr/home/zenoss/zenossinst/build/gettext-0.17/gettext-tools/gnulib-lib.
    *** Error code 1

    Stop in /usr/home/zenoss/zenossinst/build/gettext-0.17/gettext-tools/gnulib-lib.
    *** Error code 1

    Stop in /usr/home/zenoss/zenossinst/build/gettext-0.17/gettext-tools.
    *** Error code 1

    Stop in /usr/home/zenoss/zenossinst/build/gettext-0.17/gettext-tools.
    *** Error code 1

    Stop in /usr/home/zenoss/zenossinst/build/gettext-0.17.
    gmake: *** [/home/zenoss/zenossinst/build/rrddeps-build] Error 1
    unable to build zenoss and prerequisites, see zenbuild.log

     

    I did attempt to fetch the libiconv posted in the previous fix but did not want to edit the rrddeps.sh so that we can fix this if possible.

  • cruelsymbol Newbie 1 posts since
    Mar 16, 2010
    Currently Being Moderated
    4. Mar 16, 2010 4:42 AM (in response to Matt Ray)
    Re: FreeBSD source build (not quite) fixed

    here's the error it shows

     

    In file included from ./libxml/parser.h:797,
                     from ./libxml/globals.h:19,
                     from ./libxml/threads.h:36,
                     from ./libxml/xmlmemory.h:217,
                     from ./libxml/tree.h:1205,
                     from ./libcroco/cr-sel-eng.h:34,
                     from term-styled-ostream.oo.c:26:
    ./libxml/encoding.h:29:19: error: iconv.h: No such file or directory
    In file included from ./libxml/parser.h:797,
                     from ./libxml/globals.h:19,
                     from ./libxml/threads.h:36,
                     from ./libxml/xmlmemory.h:217,
                     from ./libxml/tree.h:1205,
                     from ./libcroco/cr-sel-eng.h:34,
                     from term-styled-ostream.oo.c:26:
    ./libxml/encoding.h:137: error: expected specifier-qualifier-list before 'iconv_t'
    *** Error code 1

     

    Stop in /usr/home/zenoss/zenossinst/build/gettext-0.17/gettext-tools/gnulib-lib.
    *** Error code 1

     

    Stop in /usr/home/zenoss/zenossinst/build/gettext-0.17/gettext-tools/gnulib-lib.
    *** Error code 1

     

    Stop in /usr/home/zenoss/zenossinst/build/gettext-0.17/gettext-tools.
    *** Error code 1

     

    Stop in /usr/home/zenoss/zenossinst/build/gettext-0.17/gettext-tools.
    *** Error code 1

     

    Stop in /usr/home/zenoss/zenossinst/build/gettext-0.17.
    gmake: *** [/home/zenoss/zenossinst/build/rrddeps-build] Error 1
    unable to build zenoss and prerequisites, see zenbuild.log

  • RandomUser Rank: White Belt 7 posts since
    Apr 1, 2010
    Currently Being Moderated
    5. Apr 6, 2010 3:57 AM (in response to cruelsymbol)
    Re: FreeBSD source build (not quite) fixed

    Oh great I also wish to build and install on FreeBSD. Do I take it that this is not currently (2.5.2) supported? Same error regarding missing include file as cruelsymbol reported.

  • RandomUser Rank: White Belt 7 posts since
    Apr 1, 2010
    Currently Being Moderated
    7. Apr 7, 2010 4:42 AM (in response to Matt Ray)
    Re: FreeBSD source build (not quite) fixed

    Okay, thanks for the info (although I don't understand why that document isn't somehow included in the release notes or installation guide).

     

    What was the last known good version for BSD, do you know? I only want to install for evaluation purposes at this point so having the "latest and greatest" isn't necessarily a problem.

  • merlin Newbie 4 posts since
    Jun 2, 2010
    Currently Being Moderated
    8. Jun 3, 2010 5:32 PM (in response to cruelsymbol)
    Re: FreeBSD source build (not quite) fixed

    The iconv.h and subsequent libiconv errors are fixed with this patch:

     

    http://dev.zenoss.com/trac/attachment/ticket/6828/freebsd-0.diff

     

    I am currently working very hard on making ZenOSS work on FreeBSD, but I am not exactly a build engineer so it is painful going.  If anyone has any insight into the current freetype issue displayed in ticket #6828 ( http://dev.zenoss.com/trac/ticket/6828 ) it would be much appreciated if it were passed on.

  • caseyh Rank: White Belt 15 posts since
    Jun 3, 2008
    Currently Being Moderated
    9. Jun 3, 2010 6:39 PM (in response to merlin)
    Re: FreeBSD source build (not quite) fixed

    @Merlin

     

    What version of FreeBSD are you trying to build on? If you haven't taken a look at my blog post about installing Zenoss 2.4.x on FreeBSD 7.x it may answer some of your questions. http://blog.caseyhillman.com/?p=88 there are a few syntax errors in the samples but a few of us have gotten Zenoss running on FreeBSD using the methods I outline. I have been meaning to clean it up and use it to create a FreeBSD port for Zenoss but I have been too busy lately, ill take another look at it this weekend though.

     

    -Casey

  • merlin Newbie 4 posts since
    Jun 2, 2010
    Currently Being Moderated
    10. Jun 3, 2010 7:49 PM (in response to caseyh)
    Re: FreeBSD source build (not quite) fixed
    Thanks, Casey.  I will checkout the blog post.  Are you still working on the freebsd port?  Which version of ZenOSS will you target for it?

     

    I am building on FreeBSD 8.0-p3 (current release).  I am currently working with the trunk version of ZenOSS.

     

    I also solved the problem with freetype - it wanted gmake (which your docs reflect, wish I saw them yesterday!).  Now I just have to make rrdtool itself build properly (refer to ticket for an update of current status).  According to your blog post there was a similar issue, but I don't believe the issue is the same underneath.  To whit, your fix is to symlink pkg-config into /usr/local/bin, implying that /usr/local/zenoss/bin is not in the PATH, but for my user, it is already.


    At any rate, I've symlinked it as a test and just waiting for the build to get to RRDTool before we see what is up with it.  Thanks again.

     

    -- Merlin

     

     

  • merlin Newbie 4 posts since
    Jun 2, 2010
    Currently Being Moderated
    11. Jun 3, 2010 8:04 PM (in response to merlin)
    Re: FreeBSD source build (not quite) fixed

    No joy with that, as suspected.  Going home now, so more tomorrow.

     

    -- Merlin

  • caseyh Rank: White Belt 15 posts since
    Jun 3, 2008
    Currently Being Moderated
    12. Jun 4, 2010 12:56 AM (in response to merlin)
    Re: FreeBSD source build (not quite) fixed

    I am still working on the Port. A few weeks ago I managed to build trunk on FreeBSD 8.0 but I was getting alot of python tracebacks in the Zenoss web UI. I am going to target 2.5.2 then as 3.x matures I will target that.

  • merlin Newbie 4 posts since
    Jun 2, 2010
    Currently Being Moderated
    14. Jun 4, 2010 11:50 AM (in response to caseyh)
    Re: FreeBSD source build (not quite) fixed

    Glad to hear it's coming along.

     

    If you need someone to help test the port when it is ready, I'm down.

     

    As far as the sourcebuild goes, I basically NEED to get it working because I'm pretty sure this is the best solution for us, so I will be sure to update in here as it goes along.

     

    Thanks for all the help Ray - you guys should be sitting pretty on freebsd soon.

1 2 Previous Next

More Like This

  • Retrieving data ...

Incoming Links

Legend

  • Correct Answers - 4 points
  • Helpful Answers - 2 points