bootstrap fails" ../bootstrap must be run from subdirectory

*nix specific usage questions
ramsiva
Blank Cone
Blank Cone
Posts: 31
Joined: 14 Jan 2012 00:19

bootstrap fails" ../bootstrap must be run from subdirectory

Postby ramsiva » 29 Feb 2012 22:06

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

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: bootstrap fails" ../bootstrap must be run from subdirect

Postby Jean-Baptiste Kempf » 01 Mar 2012 11:19

did you go to contrib/win32 ?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: bootstrap fails" ../bootstrap must be run from subdirect

Postby Rémi Denis-Courmont » 01 Mar 2012 13:04

Due to a problem with automake, contrib is not supported from tarball. You need to use git.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

ramsiva
Blank Cone
Blank Cone
Posts: 31
Joined: 14 Jan 2012 00:19

Re: bootstrap fails" ../bootstrap must be run from subdirect

Postby ramsiva » 01 Mar 2012 18:37

yes i DID GO TO WIN32 AND EXECUTED ../BOOTSTRAP

ramsiva
Blank Cone
Blank Cone
Posts: 31
Joined: 14 Jan 2012 00:19

Re: bootstrap fails" ../bootstrap must be run from subdirect

Postby ramsiva » 01 Mar 2012 18:37

ALSO DO YOU KNOW LIKE I MENTIONED BEFORE WHY THE GIT FOR VLC NOT WORKING?

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: bootstrap fails" ../bootstrap must be run from subdirect

Postby Rémi Denis-Courmont » 01 Mar 2012 18:44

BECAUSE YOUR NETWORK IS FIREWALLED.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

ramsiva
Blank Cone
Blank Cone
Posts: 31
Joined: 14 Jan 2012 00:19

Re: bootstrap fails" ../bootstrap must be run from subdirect

Postby ramsiva » 02 Mar 2012 02:54

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

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: bootstrap fails" ../bootstrap must be run from subdirect

Postby Rémi Denis-Courmont » 02 Mar 2012 09:42

Look, this is a problem with your network.Nobody here can help you with that.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

ramsiva
Blank Cone
Blank Cone
Posts: 31
Joined: 14 Jan 2012 00:19

Re: bootstrap fails" ../bootstrap must be run from subdirect

Postby ramsiva » 03 Mar 2012 02:36

git vlc uses port 9418 which was blocked by IT. I asked IT to open the specific port and it works fine now

Vaselinessa
Blank Cone
Blank Cone
Posts: 48
Joined: 03 Apr 2011 02:26
Location: Sacramento, CA

Re: bootstrap fails" ../bootstrap must be run from subdirect

Postby Vaselinessa » 15 Mar 2012 16:53

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:)

Code: Select all

BUILD="`gcc -dumpmachine`"

kmf31
Cone that earned his stripes
Cone that earned his stripes
Posts: 308
Joined: 11 Mar 2007 21:47

Re: bootstrap fails" ../bootstrap must be run from subdirect

Postby kmf31 » 15 Mar 2012 19:49

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:)

Code: Select all

BUILD="`gcc -dumpmachine`"
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.


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 15 guests