Build sequence:
dev# wget http://kernel.org/pub/software/scm/git/git-1.5.5.3.tar.gz dev# tar xzvf git-1.5.5.3.tar.gz dev# ./configure --prefix=/mnt/C/sys dev# make dev# make installDeployment hack
(touch some files in order to include them to the package)
dev# find /mnt/C/sys/share/ -path "*git*" -type f -exec touch {} \; dev# find /mnt/C/sys/lib/ -path "*Git*" -type f -exec touch {} \;Transfer Subversion DB to GIT
Dependencies: subversion
Info source: [git-svn intro]
box# svnserve -d -r /mnt/C/sys/var/svn/<project> box# cd /mnt/C/sys/var/git/<project> box# git svn init -t tags -b branches -T trunk svn://localhost/<project> (or simply: box# git svn init svn://localhost/<project> ) box# git svn fetchError 1
perl: Can't resolve symbol 'apr_initialize'can be replicated as follows:
box# perl -e "use SVN::Core"Inspect dependencies:
dev# ldd /mnt/C/sys/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/SVN/_Core/_Core.so ... libapr-1.so.0 => /mnt/C/sys/apache2/lib/libapr-1.so.0 (0x00000000) ... dev# nm /mnt/C/sys/apache2/lib/libapr-1.so.0 | grep apr_initialize 00013c18 T apr_initializeEverything seem to be ok, maybe the libraries are loaded in a wrong order...
# export LD_PRELOAD=/mnt/C/sys/apache2/lib/libapr-1.so.0... error 1 fixed, but there is one more ...
Error 2
perl: Can't resolve symbol 'svn_swig_pl_get_current_pool'can be replicated as follows:
box# perl -e "use SVN::Wc; SVN::Wc::adm_open3(undef, '.', 0, 0);"Another pre-load needed:
box# export LD_PRELOAD=$LD_PRELOAD:/mnt/C/sys/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/SVN/_Core/_Core.soProblem fixed - not saying that the fix is a proper solution, but I use the export only for repo conversion.
No comments:
Post a Comment