[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Pan-users] Build fail during configure FreeBSD 9.3
From: |
Dave |
Subject: |
Re: [Pan-users] Build fail during configure FreeBSD 9.3 |
Date: |
Sat, 23 Apr 2016 23:49:09 +0100 |
User-agent: |
KMail/4.14.3 (FreeBSD/9.3-RELEASE-p39; KDE/4.14.3; amd64; ; ) |
On Saturday 23 April 2016 22:50:41 Dave wrote:
> On Saturday 23 April 2016 23:03:54 Rhialto wrote:
> > On Sat 23 Apr 2016 at 20:35:26 +0100, Dave wrote:
> > > So, the question really is did the
> > > person porting the Linux source into a FreeBSD port/pkg test on FreeBSD 9
> > > or just on 10? Zlib us in the FreeBSD 9.x base system so there;s nothing
> > > to install but the file zlib.pc doesn't exist and that seems to be
> > > something the installer *requires* to confirm that zlib is there.
> >
> > Did you try setting these environment variables before running
> > configure?
> >
> > ZLIB_CFLAGS C compiler flags for ZLIB, overriding pkg-config
> > ZLIB_LIBS linker flags for ZLIB, overriding pkg-config
> >
> > (from configure --help)
>
> Ni, I didn't. Do you know what value to set it/them to?
> Do I need to set these in advance of running portinstall or make install clean
> or do I set them as part of the command line, eg make -Dknob=foo install clean
>
> It's possible you are assuming more knowledge than I actually have :-)
>
> I suspect you are suggesting I do a manual compile/install outside of the
> FreeBSD ports/pkg system which is something I've never done before.
>
> I seem to vaguely remember looking for info in the past when installing stuff
> on FreeBSD and coming across lots of Linux based help taking about running
> ./configure before make but that's something the ports system normal does in
> FreeBSD so isn't something I'm familiar with. It's more years than I care to
> remember since I last wrote real software with compilers and linkers and
> stuff.
> Primitive IDE's were only just starting to appear with things like Turbo C and
> the like to give you an idea of just how long ago I mean :-)
>
> Thanks.
>
OOooooohhhhh....An interesting workaround :-)
I just created /usr/libdata/pkgconfig which doesn't exists prior to FreeBSD 10.
Then I copied the zlib.pc file from a 10.3 box to there and Pan built and
installed perfectly.
A blindingly obvious thing to try in hindsight.