Ph. Marek wrote:
Hi Neil!

I'm having problems compiling 1.1.6 on FreeBSD6.2. This is my first fsvs
install, so I need a little help.
No problem.

Here's the configure output (btw, running make as instructed in the
README didn't work):

neo% env LDFLAGS="-L/usr/local/lib" ./configure
as_func_failure succeeded.
as_func_failure succeeded.
No shell found that supports shell functions.
Please tell [EMAIL PROTECTED] about your system,
including any error possibly output before this
message
Hmmm ... I'm just a user of autoconf, too. It doesn't find a shell?

configure: ***  Now configuring FSVS fsvs-1.1.6:900  ***
...
checking linux/kdev_t.h presence... no
checking for linux/kdev_t.h... no
configure: error:
*** MAJOR(), MINOR() and MAKEDEV() definitions not found.
*** I'll fake a definition, but that could make problems for ignore
patterns
*** and commits/updates of device nodes.
*** Please contact [EMAIL PROTECTED] for help, or, if you know your
*** systems' way, to report the correct header name.
In order to correctly backup/restore devices FSVS has to know how to split
the device number into the major/minor part.
If you never need to move your committed devices to another operating
system, you can ignore that, I think.
(But please try restoring devices, eg. via "fsvs export", to make sure
that this works!)

Or do you know the FreeBSD header file with definitions for MAJOR(),
MINOR() and MAKEDEV()?


For some reason it can't find my APR libraries (and possible more). I
needed the LDFLAGS so it could find PCRE. All of my APR libraries are in
/usr/local/lib:
...
neo% pkg_info | grep apr
apr-db42-1.2.7_1    The Apache Group's Portability Library

Unfortunately I don't know a whole lot about autoconf so I'm stuck on
this one. I've also attached my config.log if that helps.
I just copied/pasted that together myself, and don't really know what I'm
doing, too ;-)

Please try changing the CFLAGS and LDFLAGS in the generated "Makefile";
you should be able to make it find the libraries.

Did you install other software, which uses autoconf, but works? I ask so
that I can take a look at their "configure.in"s.


HTH!


Regards,

Phil


I'm confused why autoconf can't find a shell either. I run zsh, but also tried sh and csh with the same results. I know that configure works fine for software "packaged" in the FreeBSD ports system. For example, see http://www.freshports.org/devel/subversion/ which depends on http://www.freshports.org/devel/apr-svn/ (the svn version of apr). It looks like subversion does a fair amount of work trying to detect APR, http://svn.collab.net/viewvc/svn/trunk/build/ac-macros/find_apr.m4?revision=11299&view=markup, but I don't know how hard it is to get it into fsvs (or if it's even applicable).

I can't compile because every time I run GNU make it reconfigures fsvs which is generating an error.

I don't care about supporting devices, but after some googling I think that MAKEDEV is depreciated in FreeBSD (Assuming that I understand MAKEDEV). They use devfs instead which sounds like it has a completely different implementation.

(http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/basics-devices.html).

Cheers,
Neil

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to