[haiku-development] Re: building on VM?

  • From: "Dale Cieslak" <dmarc-noreply@xxxxxxxxxxxxx> (Redacted sender "dcieslak" for DMARC)
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sun, 14 Apr 2019 05:30:03 +0000 (UTC)

 I discovered that VMWare is free for personal use, so no need to mess with 
VirtualBox.  VMWare lets me attach a USB key so I can probably copy my vmdk out 
that way.  Thanks!

    On Friday, April 12, 2019, 11:28:41 PM PDT, Dale Cieslak 
<dmarc-noreply@xxxxxxxxxxxxx> wrote:  
 
  I didn't think the second configure step was needed, but I figured it 
wouldn't hurt.  
Thanks for the info about the dependencies.  I deleted the ffmpeg packages and 
the build was successful!   It'd be neat if the build could detect that issue.
Now I have to figure out how to get this build *off* my virtualbox, because the 
virtualbox additions don't seem to be available for x86_64... 
Thanks again, I'm halfway there!Dale
    On Thursday, April 11, 2019, 11:45:31 PM PDT, Adrien Destugues 
<pulkomandy@xxxxxxxxxxxxx> wrote:  
 
 Hi,

The second configure step is not needed, but that should not change anything.
This can happen when download and extraction of dependencies fails. You can try 
deleting the "download" and "build_packages" directories in the generated dir 
and try again.

12 avril 2019 07:07 "Dale Cieslak" <dmarc-noreply@xxxxxxxxxxxxx> a écrit:

ok, it's taken me a while to get back to this, but I basically restarted and 
followed the
instructions in the Readme.Compiling file. Here are the commands that I ran:

/vbox-hd2/haiku-dev/haiku> mkdir generated.x86_64

/vbox-hd2/haiku-dev/haiku> cd generated.x86_64

/vbox-hd2/haiku-dev/haiku/generated.x86_64> ../configure --build-cross-tools 
x86_64
../../buildtools

/vbox-hd2/haiku-dev/haiku/generated.x86_64> ../configure --cross-tools-prefix
./cross-tools-x86_64/bin/x86_64-unknown-haiku- 

/vbox-hd2/haiku-dev/haiku/generated.x86_64> jam -q -j3 @release-vmware 

here's where the build ends every time:

In file included from 
../src/add-ons/media/plugins/ffmpeg/AVCodecDecoder.cpp:16:0:

../src/add-ons/media/plugins/ffmpeg/AVCodecDecoder.h:23:11: fatal error: 
avcodec.h: No such file or
directory

#include "avcodec.h"

^~~~~~~~~~~

compilation terminated.

In file included from 
../src/add-ons/media/plugins/ffmpeg/AVCodecEncoder.cpp:8::

../src/add-ons/media/plugins/ffmpeg/AVCodecEncoder.h:15:11: fatal error: 
avcodec.h: No such file or
directory
#include "avcodec.h"
^~~~~~~~~~~
compilation terminated.
/vbox-hd2/haiku-dev/haiku/generated.x86_64> 

...it's almost as if some of the -devel versions of the libs aren't found, 
though I do see them in
the build_packages dir. Any thoughts would be appreciated.

Thanks,
Dale

On Thursday, April 4, 2019, 10:38:24 AM PDT, waddlesplash 
<waddlesplash@xxxxxxxxx> wrote:

On Thu, Apr 4, 2019 at 2:07 AM Dale Cieslak <dmarc-noreply@xxxxxxxxxxxxx> 
wrote:
Anything else I need to know? I cloned and built the cross tools, but now I 
get compile errors
(presumably later than before) building the exr translator. presumably the 
build isn't broken so I
must be missing something else?

I don't know anything about this being broken; can you share a log?

-waddlesplash

    

Other related posts: