Login | Register
My pages Projects Community openCollabNet

Discussions > users > Re: Mac Installation

fsvs
Discussion topic

2020-03-13: This site is going to be decommissioned and shut down very soon. Please copy and archive any data you wish to keep ASAP

Hide all messages in topic

All messages in topic

Re: Mac Installation

Author pmarek
Full name P.Marek
Date 2010-08-27 10:54:32 PDT
Message Hello Mike!

On Friday 27 August 2010 mike wrote:
> Ok. Thanks! Must be close now...
...
> Now I'm getting the following during make:
> Not seen: S_ISDOOR
> CC url.c
> In file included from url.c:18:
> cache.h:140: warning: 'gnu_inline' attribute directive ignored
> url.c: In function 'url__load_list':
> url.c:807: error: storage size of 'st' isn't known
> url.c:832: warning: implicit declaration of function 'fstat64'
> url.c:807: warning: unused variable 'st'
> url.c: In function 'url__open_session':
> url.c:1103: warning: 'svn_ra_open' is deprecated (declared at
> /opt/local/include/s​ubversion-1/svn_ra.h​:632) make[1]: *** [url.o] Error 1
> make: *** [default-target] Error 2
>
> I've seen this around the boards:"error: storage size of 'st' isn't known"
> but can't find the fix...
Is the attached patch enough to get it working?


Regards,

Phil


--
Versioning your /etc, /home or even your whole installation?
             Try fsvs (fsvs.tigris.org)!
Attachments

Re: Mac Installation

Author pmarek
Full name P.Marek
Date 2010-08-27 09:05:08 PDT
Message Hello Mike!

> Hi All. Thanks for FSVS it's great!!
Thank you!

> I use it to backup several linux servers. However,
> I'm working on a local project here on my mac and
> would like to get fsvs installed.
> It's a mac powerbook g4 running 10.4.11.
>
> All is good until i go to "make". I've scoured
> internet and discussion groups to no
> avail. I'm going to run through what i did step by step:

> 6.) I ran sudo ./configure --enable-dev-fake and
> configured w/o error. (see attached
> "configure.out.txt")
Hmm, the first strange thing I see is this:
  ./configure: line 5574: [: too many arguments
What's this line?


> 7.) Now, when i try to "make", I get all kinds of errors.
> Simple stuff like files not
> being found. See attached file "make.output.txt"
Well, the .d files are just dependency files for make:
  Makefile:174: .ac_list.d: No such file or directory
These are harmless.


  global.h:17:18: error: gdbm.h: No such file or directory
  global.h:20:21: error: apr_md5.h: No such file or directory
  global.h:21:25: error: apr_file_io.h: No such file or directory
  global.h:22:33: error: subversion-1/svn_ra.h: No such file or directory
  global.h:23:37: error: subversion-1/svn_string.h: No such file or directory
These are a problem.

> So here I'm stuck. I've also tried:
> sudo ./configure --prefix=/opt/local
> sudo ./configure --with-svnlib=/opt/l​ocal/include
>
> and a bunch of others, but still get simliar output. I must be missing something stupid
> like an environment variable right?
Well, you used
  export LDFLAGS=-L/opt/local
for the libraries ...

Where got the header files installed? You seem to need either a
CFLAGS=-I/opt/local/include, or something like that.

--with-svnlib only helps for the library files - and these can be found by your
-L/opt/local parameter.


> Any help is GREATLY appreciated!! Thanks guys! If
> you help me out I'll gladly write up the
> "HOW TO - Mac Install".
That would be very nice of you. I'd like to add something to my installation instruction.


Regards,

Phil

--
Versioning your /etc, /home or even your whole installation?
             Try fsvs (fsvs.tigris.org)!

Mac Installation

Author bx166er
Full name mike
Date 2010-08-27 08:28:05 PDT
Message Hi All. Thanks for FSVS it's great!! I use it to backup several linux servers. However, I'm working on a local project here on my mac and would like to get fsvs installed. It's a mac powerbook g4 running 10.4.11.

All is good until i go to "make". I've scoured internet and discussion groups to no avail. I'm going to run through what i did step by step:

1.) Downloaded fsvs-1.2.2.tar.gz from freshmeats

2.) Untar in /opt/src

3.) Used macports to install depy's (svn, apr, pcre, gdbm)

4.) I was getting errors w/ pcre and apr, so I had to setup the following symlinks and path vars:
sudo ln -s /opt/local/lib/libpcre.a /usr/local/lib
sudo ln -s /opt/local/include/pcre.h /usr/local/include
export LDFLAGS=-L/opt/local

5.) I ran sudo ./configure but got the warning about MAJOR(), MINOR(), and MAKEDEV() definitions not found.

6.) I ran sudo ./configure --enable-dev-fake and configured w/o error. (see attached "configure.out.txt")

7.) Now, when i try to "make", I get all kinds of errors. Simple stuff like files not being found. See attached file "make.output.txt"

So here I'm stuck. I've also tried:
sudo ./configure --prefix=/opt/local
sudo ./configure --with-svnlib=/opt/l​ocal/include

and a bunch of others, but still get simliar output. I must be missing something stupid like an environment variable right? Any help is GREATLY appreciated!! Thanks guys! If you help me out I'll gladly write up the "HOW TO - Mac Install".
Attachments
Messages per page: