[Box Backup] OpenSSL 1.0.0-beta3 for Box Backup/Boxi

scartomail boxbackup@boxbackup.org
Mon, 24 Aug 2009 12:38:17 -0700 (PDT)


Hi Achim,

I did the complete setup again.
Unfortunately I ended up with the same result.

It's by the way not posible to make any typo's because I cut and paste all the commands into the cygwin window.
Setting up the packages in cygwin is straitforward and I leave all the recomended options on.

Here are the last few lines of the first make command.
It is a litle over 10 lines because I saw some warnings that might be interesting.
I made a copy of the whole session(most of it) if you want I can send it to you.

Here is the output:
ranlib .libs/libpcre.a
creating libpcre.la
(cd .libs && rm -f libpcre.la && ln -s ../libpcre.la libpcre.la)
 gcc -c -mno-cygwin -I. -I. -DPOSIX_MALLOC_THRESHOLD=10 ./pcreposix.c  -DPIC -o
.libs/pcreposix.o
 gcc -c -mno-cygwin -I. -I. -DPOSIX_MALLOC_THRESHOLD=10 ./pcreposix.c -o pcrepos
ix.o >/dev/null 2>&1
rm -f libpcreposix.la
/bin/sh ./libtool --mode=link gcc -export-symbols-regex '^[^_]|__?pcre_.*utf8|__
?pcre_printint'  -I. -I. -rpath /usr/local/lib libpcre.la -version-info \
                '0:0:0' -o libpcreposix.la pcreposix.lo

*** Warning: This system can not link to static lib archive libpcre.la.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin shared l
ibraries
ar cru .libs/libpcreposix.a  pcreposix.o
ranlib .libs/libpcreposix.a
creating libpcreposix.la
(cd .libs && rm -f libpcreposix.la && ln -s ../libpcreposix.la libpcreposix.la)
gcc -c -mno-cygwin -I. -I.    ./pcretest.c
/bin/sh ./libtool --mode=link gcc -mno-cygwin  -I. -I.   -o pcretest.exe  pcrete
st.o \
                libpcre.la libpcreposix.la
gcc -mno-cygwin -I. -I. -o pcretest.exe pcretest.o  ./.libs/libpcre.a ./.libs/li
bpcreposix.a /usr/src/pcre-6.3/.libs/libpcre.a
pcretest.o:pcretest.c:(.text+0x867): undefined reference to `__imp__pcre_fullinf
o'
pcretest.o:pcretest.c:(.text+0xbe2): undefined reference to `__imp__pcre_version
'
pcretest.o:pcretest.c:(.text+0xc13): undefined reference to `__imp__pcre_config'

pcretest.o:pcretest.c:(.text+0xc5a): undefined reference to `__imp__pcre_config'

pcretest.o:pcretest.c:(.text+0xca1): undefined reference to `__imp__pcre_config'

pcretest.o:pcretest.c:(.text+0xce8): undefined reference to `__imp__pcre_config'

pcretest.o:pcretest.c:(.text+0xd10): undefined reference to `__imp__pcre_config'

pcretest.o:pcretest.c:(.text+0xd38): more undefined references to `__imp__pcre_c
onfig' follow
pcretest.o:pcretest.c:(.text+0xf28): undefined reference to `__imp__pcre_malloc'

pcretest.o:pcretest.c:(.text+0xf33): undefined reference to `__imp__pcre_free'
pcretest.o:pcretest.c:(.text+0xf3e): undefined reference to `__imp__pcre_stack_m
alloc'
pcretest.o:pcretest.c:(.text+0xf49): undefined reference to `__imp__pcre_stack_f
ree'
pcretest.o:pcretest.c:(.text+0xf54): undefined reference to `__imp__pcre_version
'
pcretest.o:pcretest.c:(.text+0x178a): undefined reference to `__imp__pcre_maketa
bles'
pcretest.o:pcretest.c:(.text+0x1926): undefined reference to `__imp__pcre_compil
e'
pcretest.o:pcretest.c:(.text+0x19b9): undefined reference to `__imp__pcre_compil
e'
pcretest.o:pcretest.c:(.text+0x1b2b): undefined reference to `__imp__pcre_study'

pcretest.o:pcretest.c:(.text+0x1baa): undefined reference to `__imp__pcre_study'

pcretest.o:pcretest.c:(.text+0x1f5c): undefined reference to `__imp__pcre_info'
pcretest.o:pcretest.c:(.text+0x2a4b): undefined reference to `__imp__pcre_callou
t'
pcretest.o:pcretest.c:(.text+0x2ff0): undefined reference to `__imp__pcre_get_st
ringnumber'
pcretest.o:pcretest.c:(.text+0x306a): undefined reference to `__imp__pcre_callou
t'
pcretest.o:pcretest.c:(.text+0x32d9): undefined reference to `__imp__pcre_get_st
ringnumber'
pcretest.o:pcretest.c:(.text+0x37e4): undefined reference to `__imp__pcre_dfa_ex
ec'
pcretest.o:pcretest.c:(.text+0x385e): undefined reference to `__imp__pcre_exec'
pcretest.o:pcretest.c:(.text+0x3969): undefined reference to `__imp__pcre_exec'
pcretest.o:pcretest.c:(.text+0x3b25): undefined reference to `__imp__pcre_exec'
pcretest.o:pcretest.c:(.text+0x3bb7): undefined reference to `__imp__pcre_dfa_ex
ec'
pcretest.o:pcretest.c:(.text+0x3c50): undefined reference to `__imp__pcre_exec'
pcretest.o:pcretest.c:(.text+0x3eb8): undefined reference to `__imp__pcre_copy_s
ubstring'
pcretest.o:pcretest.c:(.text+0x3f9a): undefined reference to `__imp__pcre_get_su
bstring'
pcretest.o:pcretest.c:(.text+0x4017): undefined reference to `__imp__pcre_free_s
ubstring'
pcretest.o:pcretest.c:(.text+0x405f): undefined reference to `__imp__pcre_get_su
bstring_list'
pcretest.o:pcretest.c:(.text+0x412b): undefined reference to `__imp__pcre_free_s
ubstring_list'
collect2: ld returned 1 exit status
make: *** [pcretest.exe] Error 1


Rgds Edo




--- On Fri, 8/21/09, Achim <achim+box@qustodium.net> wrote:

> From: Achim <achim+box@qustodium.net>
> Subject: Re: [Box Backup] OpenSSL 1.0.0-beta3 for Box Backup/Boxi
> To: boxbackup@boxbackup.org
> Date: Friday, August 21, 2009, 5:33 PM
> Hello Edo:
> 
> On 19/08/2009 12:18, scartomail wrote:
> > I have tried to compile the boxbackup beta3 according
> to your howto:
> > http://cuba-project.org/HOWTO_Compile_Box_Backup_from_source
> 
> OK. Please make sure that you follow the instructions word
> for word: if
> you skip steps, things might not work correctly.
> 
> > I ended up with an error after the make command. It
> starts to compile
> > and after a minute or so I get this error: make: ***
> [pcretest.exe]
> > Error 1
> 
> OK. I would need more information than that: could you
> please copy and
> paste the last 10-20 lines before that come before this
> "Error 1"?
> 
> > In your howto you describe all the packages that need
> to be installed
> > with cygwin. At the end of the cygwin installation
> there is loose
> > text that says: PCRE I could not find it in the web
> department of
> > cygwin packages so I googled it. It seems to be some
> development
> > package that emulates...bla bla. So I searched the
> development
> > packages of cygwin and found the following 2 packages:
> devel/prce
> > devel/prce-devel And I installed them both.
> > 
> > Are these the correct packages I should use during
> installation?
> > Because the make command has an error that says
> pcretest.exe Error, I
> > was wondering: if that was due to a package error or
> compilation
> > error?
> 
> I updated the instructions to make them clearer: basically,
> PCRE and OpenSSL need to be compiled by yourself with the
> steps outlined in the HOWTO: the packages in Cygwin have not
> been tested, and introduce a GPL-requirement due to
> cygwin1.dll: see comments in the HOWTO and this mailing
> list.
> 
> Please let me know if the updated instructions are clear
> enough.
> 
> Good luck, Achim
> _______________________________________________
> boxbackup mailing list
> boxbackup@boxbackup.org
> http://lists.warhead.org.uk/mailman/listinfo/boxbackup
>