On Monday 10 April 2006 17:33, Paul Duran wrote:
> Hi guys,
>
> I've been struggling to build vss2svn from the subversion repository.
>
> I was unsure how it is supposed to be built so I tried to build it under
> cygwin. Prior to even getting it to the compilation stage, I had to install
> the following:
>
> cygwin packages:
> --------------------------
> automake
> autoconf
> libtool
> gcc, g++ etc
> perl, perl win32 libs
>
> perl packages:
> --------------------------
> DBD-SQLite
> DBI
> Module::Build
> Time::Modules
> Xml::Simple
>
> And i also had to compile and install the boost libraries.
>
> After doing so and then setting my environment variables as such:
> export CFLAGS='-g -O2 -L/usr/local/lib -I/usr/local/include
> -I/usr/local/include/boost-1_33_1'
> export CXXFLAGS='-g -O2 -L/usr/local/lib -I/usr/local/include
> -I/usr/local/include/boost-1_33_1'
>
> and running 'perl Build.PL' and then './Build', configure would run to
> completion and the compilation would start. However part way through
> compilation it aborted with the following error:
>
>  g++ -DPACKAGE_NAME=\"ssphys\" -DPACKAGE_TARNAME=\"ssphys\"
> -DPACKAGE_VERSION=\"
> 0.20.1\" "-DPACKAGE_STRING=\"ssphys 0.20.1\"" -DPACKAGE_BUGREPORT=\"\"
> -DPACKAGE
> =\"ssphys\" -DVERSION=\"0.20.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
> -DHAVE_SY
> S_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
> -DHAVE_STRINGS_
> H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
> -DHAVE_DLFCN_H=1 -DH
> AVE_LIBBOOST_PROGRAM_OPTIONS=1 -DHAVE_LIBBOOST_FILESYSTEM=1 -I. -I.
> -I./utils -I
> ./SSPhysLib -Wno-deprecated -g -O2 -L/usr/local/lib -I/usr/local/include
> -I/usr/
> local/include/boost-1_33_1 -MT libSSPhys_la-SSFiles.lo -MD -MP -MF
> .deps/libSSPh
> ys_la-SSFiles.Tpo -c ./SSPhysLib/SSFiles.cpp  -DPIC -o
> .libs/libSSPhys_la-SSFile
> s.o
> In file included from ./SSPhysLib/SSItemInfoObject.h:13,
>                  from ./SSPhysLib/SSFiles.cpp:7:
> ./SSPhysLib/SSVersionObject.h: In member function `std::string
> SSRenamedAction<A
> CTION>::GetNewName() const':
> ./SSPhysLib/SSVersionObject.h:371: error: `m_Action' undeclared (first use
> this
> function)
> ./SSPhysLib/SSVersionObject.h:371: error: (Each undeclared identifier is
> reporte
> d only once for each function it appears in.)
> ./SSPhysLib/SSVersionObject.h: In member function `SSName
> SSRenamedAction<ACTION
>
> >::GetNewSSName() const':
>
> ./SSPhysLib/SSVersionObject.h:372: error: `m_Action' undeclared (first use
> this
> function)
> make: *** [libSSPhys_la-SSFiles.lo] Error 1
>
>
>
> If i've gone about this completely the wrong way, please let me know. Is it
> supposed to be built under cygwin? Do I have the wrong version of (for
> example) the boost libraries?

No, it all looked good up until where you couldn't compile.  So I had a hunch 
that you might be using GCC 4.X or something.  So I tried building under GCC 
4.0 on Linux, and I couldn't compile that code either.  I've committed what I 
hope will fix them (and hopefully won't break MSVC++ or GCC 3.X, but who 
knows) in r192.

Leo

_______________________________________________
vss2svn-users mailing list
Project homepage:
http://www.pumacode.org/projects/vss2svn/
Subscribe/Unsubscribe/Admin:
http://lists.pumacode.org/mailman/listinfo/vss2svn-users-lists.pumacode.org

Reply via email to