Initial problems with vss2svn
Toby Johnson
toby at etjohnson.us
Mon Dec 18 13:31:14 EST 2006
Eli Carter wrote:
> All,
> I'm trying to use vss2svn 0.11.0-a1.
> Under Linux (FC6):
> I needed this patch:
> Index: ssphys/SSPhysLib/SSCommentObject.h
> ===================================================================
> --- ssphys/SSPhysLib/SSCommentObject.h (revision 272)
> +++ ssphys/SSPhysLib/SSCommentObject.h (working copy)
> @@ -17,7 +17,7 @@
> SSCommentObject(SSRecordPtr pRecord);
> virtual ~SSCommentObject();
>
> - std::string SSCommentObject::GetComment () const;
> + std::string GetComment () const;
>
> virtual void Accept (ISSObjectVisitor& rVisitor, const ISSContext* pCtx =
> NULL) const { rVisitor.Apply (*this, pCtx); }
>
> And I'm still getting:
>
> 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_SYS_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 -DHAVE_LIBBOOST_PROGRAM_OPTIONS=1 -DHAVE_LIBBOOST_FILESYSTEM=1 -I. -I. -I./utils -I./SSPhysLib -Wno-deprecated -g -O2 -MT
> libSSPhys_la-SSFiles.lo -MD -MP -MF .deps/libSSPhys_la-SSFiles.Tpo -c ./SSPhysLib/SSFiles.cpp -fPIC -DPIC -o .libs/libSSPhys_la-SSFiles.o
> ./SSPhysLib/SSVersionObject.h: In member function 'std::string
> SSRestoreAction<ACTION>::GetFileName() const':
> ./SSPhysLib/SSVersionObject.h:360: error: 'm_Action' was not declared in this
> scope
> ./SSPhysLib/SSVersionObject.h: In member function 'std::string
> SSArchiveAction<ACTION>::GetFileName() const':
> ./SSPhysLib/SSVersionObject.h:416: error: 'm_Action' was not declared in this
> scope
> make: *** [libSSPhys_la-SSFiles.lo] Error 1
> ssphys/ssphys -> blib/script/ssphys
> Can't copy('ssphys/ssphys', 'blib/script/ssphys'): No such file or directory
> at /usr/lib/perl5/vendor_perl/5.8.8/Module/Build/Base.pm line 3977.
>
>
> Under Windows, using the pre-built binary:
> "ssphys: unknwon record type..."
> Note the typo.
>
> I'd file tickets in trac, but that's locked down.
>
Thanks Eli, I'll defer the C issues to Dirk since he wrote the ssphys
portion, but the unknown record type warning is due to your VSS
repository, not the binary itself. Are you trying to run ssphys
directly? It is intended mainly to be called from the vss2svn script
instead.
toby
More information about the vss2svn-users
mailing list