can't find file to patch at input line 5 - rev13034

Trying to build your own version of Vega Strike and having problems? Unix users, paste your config.log here (stderr output alone is not helpful).

can't find file to patch at input line 5 - rev13034

Postby Tahvok » Thu Feb 10, 2011 2:56 am

Hi there,

I'm new to the game, though I knew the game existed a lot of time ago..
Recently I decided to try the game again, and when straight to the subversion.
I'm using openSuse, so I checked out the vegastrike folder and data folder like mentioned here: http://vegastrike.sourceforge.net/wiki/ ... eckout_SVN
Went here to install all requirements: http://vegastrike.sourceforge.net/wiki/ ... e_from_SVN
Then like was said, run these commands:
./bootstrap-sh
./configure --enable-flags='-O3 -g'

all was good, but after I run 'make' I get this:


patch -N -p0 < boost_gcc44.patch || true
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: boost/1_35/boost/mpl/aux_/numeric_op.hpp
|===================================================================
|--- boost/1_35/boost/mpl/aux_/numeric_op.hpp (revision 54830)
|+++ boost/1_35/boost/mpl/aux_/numeric_op.hpp (working copy)
--------------------------
File to patch:


if i continue it goes the same with some other files.
and then fails:
albert@TahvokLinux:~/vegastrike/vegastrike> make
patch -N -p0 < boost_gcc44.patch || true
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: boost/1_35/boost/mpl/aux_/numeric_op.hpp
|===================================================================
|--- boost/1_35/boost/mpl/aux_/numeric_op.hpp (revision 54830)
|+++ boost/1_35/boost/mpl/aux_/numeric_op.hpp (working copy)
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 25
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: boost/1_35/boost/mpl/aux_/advance_backward.hpp
|===================================================================
|--- boost/1_35/boost/mpl/aux_/advance_backward.hpp (revision 54830)
|+++ boost/1_35/boost/mpl/aux_/advance_backward.hpp (working copy)
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 45
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: boost/1_35/boost/mpl/aux_/full_lambda.hpp
|===================================================================
|--- boost/1_35/boost/mpl/aux_/full_lambda.hpp (revision 54830)
|+++ boost/1_35/boost/mpl/aux_/full_lambda.hpp (working copy)
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 65
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: boost/1_35/boost/mpl/aux_/advance_forward.hpp
|===================================================================
|--- boost/1_35/boost/mpl/aux_/advance_forward.hpp (revision 54830)
|+++ boost/1_35/boost/mpl/aux_/advance_forward.hpp (working copy)
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 85
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: boost/1_35/boost/mpl/bind.hpp
|===================================================================
|--- boost/1_35/boost/mpl/bind.hpp (revision 54830)
|+++ boost/1_35/boost/mpl/bind.hpp (working copy)
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
3 out of 3 hunks ignored
can't find file to patch at input line 117
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: boost/1_35/boost/mpl/apply.hpp
|===================================================================
|--- boost/1_35/boost/mpl/apply.hpp (revision 54830)
|+++ boost/1_35/boost/mpl/apply.hpp (working copy)
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 138
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: boost/1_35/boost/mpl/apply_wrap.hpp
|===================================================================
|--- boost/1_35/boost/mpl/apply_wrap.hpp (revision 54830)
|+++ boost/1_35/boost/mpl/apply_wrap.hpp (working copy)
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
2 out of 2 hunks ignored
patching file boost_patched_gcc44
make all-am
make[1]: Entering directory `/home/albert/vegastrike/vegastrike'
depbase=`echo src/networking/lowlevel/netbuffer.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
g++ -DHAVE_CONFIG_H -I. -DBOOST_PYTHON_NO_PY_SIGNATURES -DBOOST_PYTHON_STATIC_LIB -I./boost/1_35 -DHAVE_AL=1 -DNV_CUBE_MAP=1 -I/usr/include/python -DHAVE_PYTHON=1 -I./src -pipe -DNV_CUBE_MAP -O3 -g -pthread -MT src/networking/lowlevel/netbuffer.o -MD -MP -MF $depbase.Tpo -c -o src/networking/lowlevel/netbuffer.o src/networking/lowlevel/netbuffer.cpp &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo src/networking/lowlevel/netui.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
g++ -DHAVE_CONFIG_H -I. -DBOOST_PYTHON_NO_PY_SIGNATURES -DBOOST_PYTHON_STATIC_LIB -I./boost/1_35 -DHAVE_AL=1 -DNV_CUBE_MAP=1 -I/usr/include/python -DHAVE_PYTHON=1 -I./src -pipe -DNV_CUBE_MAP -O3 -g -pthread -MT src/networking/lowlevel/netui.o -MD -MP -MF $depbase.Tpo -c -o src/networking/lowlevel/netui.o src/networking/lowlevel/netui.cpp &&\
mv -f $depbase.Tpo $depbase.Po
In file included from src/networking/lowlevel/netui.h:25:0,
from src/networking/lowlevel/netui.cpp:5:
src/networking/lowlevel/vsnet_socket.h:22:32: fatal error: boost/shared_ptr.hpp: No such file or directory
compilation terminated.
make[1]: *** [src/networking/lowlevel/netui.o] Error 1
make[1]: Leaving directory `/home/albert/vegastrike/vegastrike'
make: *** [all] Error 2


so i checked this folder, and the folder boost/1_35/boost/ did not exist, only 1_35 was there with 'src' folder and 'CMakeLists.txt'
I went to the svn with a browser and this folder was neither in there...
Am I doing something wrong?
Attachments
config.log
(190.97 KiB) Downloaded 153 times
Tahvok
Atmospheric Pilot
Atmospheric Pilot
 
Posts: 1
Topics: 1
Joined: Wed Aug 13, 2008 6:14 am

Share On:

Share on Facebook Facebook Share on Twitter Twitter Share on Digg Digg

Re: can't find file to patch at input line 5 - rev13034

Postby CLoneWolf » Thu Feb 10, 2011 7:46 am

Not "wrong", just "not right enough" ;)
Ignore the boost shipped with VS, install the one included with your distro, and add this parameter

--with-boost=system

to your configure call; this is the currently considered best practice to compile VS on Linux.

If your distro is up to date, a welcome side effect will also be to get a more recent version of boost than the VS one.
CLoneWolf
ISO Party Member
ISO Party Member
 
Posts: 442
Topics: 9
Joined: Thu May 01, 2008 10:14 am

Re: can't find file to patch at input line 5 - rev13034

Postby TBeholder » Sat Nov 19, 2011 8:19 pm

CLoneWolf wrote:Ignore the boost shipped with VS, install the one included with your distro, and add this parameter

--with-boost=system

to your configure call; this is the currently considered best practice to compile VS on Linux.
This causes it to ask the file for patch. Removing (svn delete) the patch causes
make: *** No rule to make target `boost_gcc44.patch', needed by `boost_patched_gcc44'. Stop.
Thus, diff of my fix:
Code: Select all
Index: vegastrike/Makefile.am
===================================================================
--- vegastrike/Makefile.am   (revision 13239)
+++ vegastrike/Makefile.am   (working copy)
@@ -1259,10 +1259,14 @@
 done
 endif
 
-all: boost_patched_gcc44
+all:
 
+if !BOOSTSYSTEM
+boost_patched_gcc44
+
 boost_patched_gcc44: boost_gcc44.patch
    patch -N -p0 < boost_gcc44.patch || true
+endif
 
 %.h.gch: %.h
    $(CXXCOMPILE) -o $@ $<
"Two Eyes Good, Eleven Eyes Better." -Michele Carter
User avatar
TBeholder
Elite Venturer
Elite Venturer
 
Posts: 747
Topics: 38
Joined: Fri Apr 14, 2006 7:40 pm
Location: chthonic safety


Return to Compiling Problems [paste config.log]

Who is online

Users browsing this forum: No registered users and 2 guests

cron