[OPEN-ILS-DEV] install.sh build -- lot's of apparent errors...

Garry Collum gcollum at gmail.com
Sat Mar 24 17:01:26 EDT 2007


Hi John,

Yep. To the first question.  I ran the script and then opened another
terminal to locate the libraries/programs.

I am using the install.sh build.

In the opensrf_all it errors out while building in the gateway directory.
The first error displayed is /usr/include/apr-1/apr-i386.h:270: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'apr_off_t'
Followed by multiple errors pertaining to apr-1.

In the openils_core.  The build completes but it fails to link with
libdbdpgsql.  The error is /usr/bin/ld: cannot find -ldbdpgsql
Adding the library to the link path didn't seem to work.

In openils_web, I once again error out with the /usr/include/apr-1/apr-
i386.h:270: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'apr_off_t' error.

I am using apr-devel-1.2.7-10 and apr-1.2.7-10.

Apache.org has apr-1.2.8.  I have compiled it, but it also looks like
mod_perl relies on apr.  I don't want to stray too far from my distribution
rpms.

Garry


On 3/24/07, John Craig <john at alphagconsulting.com> wrote:
>
>  Hi Garry,
>
> Thanks for the insights.
>
> Did you use the install.sh script to run the build?
>
> I've got some questions I've stuck in among your comments.
>
> John
>
> Garry Collum wrote:
>
> Hi John,
>
> I'm trying to build on Fedora as well and I'm getting errors, but I'm
> getting closer.
>
> Here are my variable definitions.
> APXS2="/usr/sbin/apxs"
> APACHE2_HEADERS="/usr/include/httpd"
> APR_HEADERS="/usr/include/apr-1"
> LIBXML2_HEADERS="/usr/include/libxml2"
>
> And did you set those by hand via the config.sh script? I used the script
> and when something it asked about wasn't there, I went and got it (despite
> having gone through the prerequisites already (but I have a lot of sympathy
> for the folks who contributed the docs; clearly this is extremely fiddly to
> get set up).
>
>
> Here's a couple of things that are not obvious.
>
> The first set of errors I got were for memcached. I didn't compile and
> install the libmemcache.  You have to go to http://www.danga.com/memcachedto get memcached, but while you are there you also need the libmemcache for
> the build (http://www.danga.com/memcached/apis.bml ).  It's under the C
> API section.   I also got the perl module while I was there.  It's the most
> current one.
>
> One of my problems is that using the install.sh script, I haven't been
> able to capture the errors... So I know what the LAST ones were, but not the
> first ones. I'll check on these packages.
>
>
> Also Fedora puts the dbdpgsql library in /usr/lib/dbd, but it doesn't add
> this directory to the link path.  If this is your situation. Go to the
> /etc/ld.so.conf.d and create a file called dbd.conf.  (actually you can
> call it anything you want as long as it ends in .conf)  The file just needs
> one line.  The path:  /usr/lib/dbd
> Then just type
>   ldconfig
>  at the command line to update the path.
>
> You can use
>   ldconfig -v | more
> if you want some feedback.
>
> OK.
>
>
> The errors that I'm getting now have to do with the apr library when the
> gateway directory is being built.  I'm going to try to find the most current
> src, if that doesn't work, I noticed an older src on the apache web site.
>
> Hmm. What version did you try that didn't seem to work? Was it, perchance
> the same one I've got installed: apr-1.2.7-10 ?
>
>
> Garry
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.georgialibraries.org/pipermail/open-ils-dev/attachments/20070324/2213f1e2/attachment-0001.html


More information about the Open-ils-dev mailing list