Login | Register
My pages Projects Community openCollabNet

Discussions > dev > FSVS: ./configure failed since 1.1.7 (CentOS 5)

fsvs
Discussion topic

Hide all messages in topic

All messages in topic

Re: FSVS: ./configure failed since 1.1.7 (CentOS 5)

Author pmarek
Full name P.Marek
Date 2007-08-27 10:08:02 PDT
Message On Monday 27 August 2007 Benjamin M. wrote:
...
> When subversion is built with --with-ssl, fsvs ./configure returns lot
> of errors in config.log if -lssl isn't included, that is why it returns
> "Sorry, can't find subversion". I obviously do not have an answer to
> your question but by looking for support for one of the ssl
> functions listed there, you should be able to detect support for ssl...
> I guess..:
Maybe ... I'll take a look.

> > The SEGV could be fixed in current trunk.
> Yep. Works flawless (rev1088) ... But I have an other SEGV on sync-repos
> I will send you the debug log in private.
Got it, thank you.

> Otherwise here a weird behavior with diff:
...
> I would expect to get diffs on modified files... not the complete list
> of /etc and some hidden files at the root level...
That's strange.
Do you have a "fsvs st -d"? But that might be big ...
Did you ignore everything but /etc?
Or is /etc your working copy?

...
> # fsvs diff
> Only in local filesystem: ./.asterisk_history
> Only in local filesystem: ./.autofsck
> Only in local filesystem: ./.autorelabel
Strange.


Regards,

Phil


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

Re: FSVS: ./configure failed since 1.1.7 (CentOS 5)

Author benjaminm
Full name Benjamin M.
Date 2007-08-26 17:28:31 PDT
Message Philipp Marek wrote, On 26/08/07 14:31:
>>>> subversion-1.4.4 (with-ssl)
>>>>
>> Adding LIBS="-lssl" before ./configure fixes the error... perhaps it
>> should be added in the configure file...
>>
> Hmmmm ... how could I detect that it's needed?
>
When subversion is built with --with-ssl, fsvs ./configure returns lot
of errors in config.log if -lssl isn't included, that is why it returns
"Sorry, can't find subversion". I obviously do not have an answer to
your question but by looking for support for one of the ssl
functions listed there, you should be able to detect support for ssl...
I guess..:

http://svn.collab.ne​t/svn-doxygen/svn__a​uth_8h.html

>> I will try to torture fsvs tonigh... so your TODO list would not stay
>> empty too long! ;-))
>>
> As if it ever was ...
>
> The SEGV could be fixed in current trunk.
>
Yep. Works flawless (rev1088) ... But I have an other SEGV on sync-repos
I will send you the debug log in private.
> Regarding the failing test 003: Which rsync version do you use?
>
>
rsync version 2.6.8 protocol version 29...

Otherwise here a weird behavior with diff:

# cd /
# fsvs st
.m.. dir ./etc
n... dir .
.m.? 8192 ./var/lib/asterisk/astdb
.m.. dir ./var/log
.m.. dir ./var/log/asterisk/cdr-csv
.mC. 268741 ./var/log/asterisk/c​dr-csv/Master.csv
# fsvs diff
Only in local filesystem: ./etc/.pwd.lock
Only in local filesystem: ./etc/DIR_COLORS
Only in local filesystem: ./etc/DIR_COLORS.xterm
Only in local filesystem: ./etc/a2ps-site.cfg
Only in local filesystem: ./etc/a2ps.cfg
Only in local filesystem: ./etc/adjtime
<...>
Only in local filesystem: ./etc/yp.conf
Only in local filesystem: ./etc/yum.conf
Only in local filesystem: ./.asterisk_history
Only in local filesystem: ./.autofsck
Only in local filesystem: ./.autorelabel

I would expect to get diffs on modified files... not the complete list
of /etc and some hidden files at the root level...

Now after the commit:

# fsvs ci -m "Importation pre-update"
Committing to file:///root/fsvs/as​terisk-01/repository​
.m.. dir ./etc
.mC. 8192 ./var/lib/asterisk/astdb
.m.. dir ./var/log
.m.. dir ./var/log/asterisk/cdr-csv
.mC. 268741 ./var/log/asterisk/c​dr-csv/Master.csv
committed revision 3 on 2007-08-26T23:56:46.428333Z as root
# fsvs st
n... dir .
# fsvs diff
Only in local filesystem: ./.asterisk_history
Only in local filesystem: ./.autofsck
Only in local filesystem: ./.autorelabel


Ben.
Attachments

Re: FSVS: ./configure failed since 1.1.7 (CentOS 5)

Author pmarek
Full name P.Marek
Date 2007-08-26 11:31:32 PDT
Message On Sunday 26 August 2007 Benjamin M. wrote:
> Philipp Marek wrote, On 26/08/07 04:33:
> > You didn't give a path, and apr-config could not be found.
>
> I just realized that I have apr-1-config but not apr-config... creating
> a symbolic link:
>
> ln -s apr-1-config apr-config
>
> seems to fix the error...
I'll try to use that, if it exists, too.

> >> subversion-1.4.4 (with-ssl)
>
> Adding LIBS="-lssl" before ./configure fixes the error... perhaps it
> should be added in the configure file...
Hmmmm ... how could I detect that it's needed?

> I will try to torture fsvs tonigh... so your TODO list would not stay
> empty too long! ;-))
As if it ever was ...

The SEGV could be fixed in current trunk.

Regarding the failing test 003: Which rsync version do you use?


Regards,

Phil

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

Re: FSVS: ./configure failed since 1.1.7 (CentOS 5)

Author benjaminm
Full name Benjamin M.
Date 2007-08-26 10:59:44 PDT
Message For efficiency reasons, the system has converted the large body of this message into an attachment.
Attachments

Re: FSVS: ./configure failed since 1.1.7 (CentOS 5)

Author pmarek
Full name P.Marek
Date 2007-08-26 01:33:00 PDT
Message On Saturday 25 August 2007 Benjamin M. wrote:
> No problem with 1.1.6 but since 1.1.7 I get the following error on
> ./configure. Any idea?
>
> # ./configure --prefix=/usr/local/fsvs-1.1.8
> configure: *** Now configuring FSVS ***
> checking for gcc... gcc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking how to run the C preprocessor... gcc -E
> ./configure: line 2904: apr-config: command not found
> <----------------- ??????
configure.in has
    AC_ARG_WITH(aprinc,
        AC_HELP_STRING([--wi​th-aprinc=PATH],
          [Specify an include directory for the APR headers.]),
        [
          INCDIRS="$INCDIRS $withval"
        ], [
          if APR=`apr-config --includedir`
          then
            INCDIRS="$INCDIRS $APR"
          fi
        ])
which should take a --with-aprinc=<path> parameter, or, if
none set, should run the program "apr-config" and try to
get the path from there.

You didn't give a path, and apr-config could not be found.
> Where apr-config is supposed to come from?
>
> # locate apr-config
> /usr/src/apr-1.2.9/a​pr-config.in
> /usr/src/apr-1.2.9/a​pr-config.out
>
> CentOS 5.0
>
> apr-1.2.9
> apr-iconv-1.2.0
> apr-util-1.2.8
I have
    $ dpkg-query -S apr-config
    libapr1-dev: /usr/share/man/man1/​apr-config.1.gz
    libapr1-dev: /usr/bin/apr-config
so you might be missing a development package.


> configure: "CFLAGS=-g -O2 -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64
> -idirafter /usr/local/include -idirafter /usr/include -idirafter
> /openpkg/include"
> configure: "LDFLAGS= -L/usr/local/lib -L/openpkg/lib"
> checking for pcre_compile in -lpcre... yes
> checking for apr_md5_init in -laprutil-1... yes
> checking for svn_ra_initialize in -lsvn_ra-1... no <-----------------
> ?????? configure: error: Sorry, can't find subversion.
> See `config.log' for more details.
> autoconf-2.61
> subversion-1.4.4 (with-ssl)
Same here, I think:
    $ dpkg-query -S apr-config
    libapr1-dev: /usr/share/man/man1/​apr-config.1.gz
    libapr1-dev: /usr/bin/apr-config

On the frontpage http://fsvs.tigris.org/ is written:
    For CentOS5 (and probably RHEL5) I got this line from a user:
    yum install subversion subversion-devel ctags apr apr-devel gcc gdbm gdbm-devel pcre pcre-devel
 

Sorry, but did you read the documentation ;-?

Hope it's only that.


Regards,

Phil


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

FSVS: ./configure failed since 1.1.7 (CentOS 5)

Author benjaminm
Full name Benjamin M.
Date 2007-08-25 12:58:03 PDT
Message Hi Phil,

No problem with 1.1.6 but since 1.1.7 I get the following error on
./configure. Any idea?

# ./configure --prefix=/usr/local/fsvs-1.1.8
configure: *** Now configuring FSVS ***
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
./configure: line 2904: apr-config: command not found
<----------------- ??????
configure: "CFLAGS=-g -O2 -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64
-idirafter /usr/local/include -idirafter /usr/include -idirafter
/openpkg/include"
configure: "LDFLAGS= -L/usr/local/lib -L/openpkg/lib"
checking for pcre_compile in -lpcre... yes
checking for apr_md5_init in -laprutil-1... yes
checking for svn_ra_initialize in -lsvn_ra-1... no <----------------- ??????
configure: error: Sorry, can't find subversion.
See `config.log' for more details.


Where apr-config is supposed to come from?

# locate apr-config
/usr/src/apr-1.2.9/a​pr-config.in
/usr/src/apr-1.2.9/a​pr-config.out

CentOS 5.0

apr-1.2.9
apr-iconv-1.2.0
apr-util-1.2.8
autoconf-2.61
subversion-1.4.4 (with-ssl)


Ben.
Messages per page: