Page 1 of 1
bootstrap fails" ../bootstrap must be run from subdirectory
Posted: 29 Feb 2012 22:06
by ramsiva
Hello
I am using virtual box with ubuntu 32 bit desktop as guest OS. windows 7 64bit is a host. followed instructions in the link to compile VLC.
http://wiki.videolan.org/Win32Compile
First thing: when I try git clone..... to download VLC my terminal says, cloning into VLC.... and finally after a minute or so fails saying 'Connection timed out.'.
So I manually downloaded the vlc 2.0.0. Under vlc 2.0.0. directory, I tried the following as per the link.
$ mkdir -p contrib/win32
$ cd contrib/win32
$ ../bootstrap --host=i586-mingw32msvc
$ make prebuilt
When i executed ../bootstrap... , my terminal says, ../bootstrap must be run from a subdirectory. How do I solve this? I am new to linux environment.
Thanks
Re: bootstrap fails" ../bootstrap must be run from subdirect
Posted: 01 Mar 2012 11:19
by Jean-Baptiste Kempf
did you go to contrib/win32 ?
Re: bootstrap fails" ../bootstrap must be run from subdirect
Posted: 01 Mar 2012 13:04
by Rémi Denis-Courmont
Due to a problem with automake, contrib is not supported from tarball. You need to use git.
Re: bootstrap fails" ../bootstrap must be run from subdirect
Posted: 01 Mar 2012 18:37
by ramsiva
yes i DID GO TO WIN32 AND EXECUTED ../BOOTSTRAP
Re: bootstrap fails" ../bootstrap must be run from subdirect
Posted: 01 Mar 2012 18:37
by ramsiva
ALSO DO YOU KNOW LIKE I MENTIONED BEFORE WHY THE GIT FOR VLC NOT WORKING?
Re: bootstrap fails" ../bootstrap must be run from subdirect
Posted: 01 Mar 2012 18:44
by Rémi Denis-Courmont
BECAUSE YOUR NETWORK IS FIREWALLED.
Re: bootstrap fails" ../bootstrap must be run from subdirect
Posted: 02 Mar 2012 02:54
by ramsiva
well i turned off my firewall on my host winodws and ubuntu gues os on virtual box using command 'ufw disable'. Now 'ufw status' says inactive. then i tried to git vlc, still same error. I rebooted the machine once and tried and still same error. Is there anything i need to disable? i m not running on proxy
Re: bootstrap fails" ../bootstrap must be run from subdirect
Posted: 02 Mar 2012 09:42
by Rémi Denis-Courmont
Look, this is a problem with your network.Nobody here can help you with that.
Re: bootstrap fails" ../bootstrap must be run from subdirect
Posted: 03 Mar 2012 02:36
by ramsiva
git vlc uses port 9418 which was blocked by IT. I asked IT to open the specific port and it works fine now
Re: bootstrap fails" ../bootstrap must be run from subdirect
Posted: 15 Mar 2012 16:53
by Vaselinessa
I was also getting the "../bootstrap must be run from subdirectory" error message when trying to bootstrap from <vlc-root>/contrib/win32. I don't think that a firewall was the problem, though:
I found that line 41 of bootstrap was looking for main.mak in ../../contrib/src/main.mak, but my vlc source download had the contrib src files actually in ../../contrib/src/src/ (yes, it just came that way). I moved the lower src directory into the parent src directory, then ran ../bootstrap.
(This raised a problem later in the process because I appear not to have cc on my computer, but I do have gcc, so I swapped 'gcc' for 'cc' in line 87 to read:)
Re: bootstrap fails" ../bootstrap must be run from subdirect
Posted: 15 Mar 2012 19:49
by kmf31
I found that line 41 of bootstrap was looking for main.mak in ../../contrib/src/main.mak, but my vlc source download had the contrib src files actually in ../../contrib/src/src/ (yes, it just came that way). I moved the lower src directory into the parent src directory, then ran ../bootstrap.
I observed the same thing in the vlc-2.0.0 sources. However in the nightly builds of the last days it was already repaired.
(This raised a problem later in the process because I appear not to have cc on my computer, but I do have gcc, so I swapped 'gcc' for 'cc' in line 87 to read:)
Normally on a good and recent Linux system, cc is a symbolic link to gcc. If not you can create this link ("ln -s /usr/bin/gcc /usr/bin/cc" as root). However on a Windows system this is probably different.