[Qemu-devel] Python problem using MinGW when build QEMU

2012-06-04 Thread Arturo CV
Hello,

Am trying to build the QEMU following this steps:

http://qemu.weilnetz.de/qemu-doc.html#compilation

I got most of the libraries dependencies and followed this other
guides that I found over the net:

http://lassauge.free.fr/qemu/
http://www.gaia-gis.it/spatialite-3.0.0-BETA/mingw_how_to.html

I installed all the libraries that were asking for a good development
environment with the MinGW and MSYS, and then I tried to build the
QEMU image doing:

./configure
make && make install

The configure part went well after the dependencies were fix, but then
I tried the make command and the "python error" appeared. Apparently
there is missing the python installation in the MinGW environment so I
tried to installed following this steps:

http://www.mingw.org/wiki/FAQ (How do I creat Python extensions?)

It appears that this is the most common way to approach the python
missing error, but it doesn't work for me. I tried using the *.exe
Python installer and also installing it using the source code but
either way there is always errors during the "make" command, showing
errors like "undefined variables" and missing Python interpreters.

I don't know what else to try to get the python working with the MinGW
and I needed to finally build the QEMU so can anyone help me out with
this??

Thanks for the time and help :)

Arturo Corrales V.



Re: [Qemu-devel] How to compile the source code to get the images and executable to run the QEMU?

2012-05-28 Thread Arturo CV
Hello Daniel,

I really thank you for the answer to my question.. I was following the
steps that are shown in the link that you point out, but when I get
into the step:

- Install the MinGW version of zlib and make sure zlib.h and
libz.dll.a are in MinGW's default header and linker search paths.

I don't know where to get the "zlib", when I try to get it from the
website where I got the MinGW it only shows a *.xml file, and can't
find the way to install those libraries to paste them into the default
header and linker search paths.

If am missing something or didn't understand something regarding this
compilation steps let me know.

Thanks again for your time and help,

Regards,

Arturo Corrales V.

> From: "Daniel P. Berrange" 
> Date: May 25, 2012 1:27 AM
> Subject: Re: [Qemu-devel] How to compile the source code to get the images
> and executable to run the QEMU?
> To: "Arturo CV" 
> Cc: 
>
> On Thu, May 24, 2012 at 04:08:30PM -0600, Arturo CV wrote:
>> Hello,
>>
>> Am new around here and am working with the QEMU in a project.
>>
>> I would like to ask if there is anyone that can let me know how to
>> compile or build the images to be used to run the QEMU from the source
>> code. I already got the source code from the wiki.qemu.org and I have
>> the version 1.0.1. Now I would like to build it from there to start
>> doing some test with my project.
>>
>> At the beginning I was working with the version 0.14.50 but it was
>> already build with all the executable and everything and am having
>> issues when I try to put the system into an Idle state using the
>> "wait" so I was looking to use the newest version and go from there.
>>
>> I appreciate all the help and guidance you can give me since am kind
>> of newbie with this :)
>
> Ordinarily I'd suggest that for any open source project you can just
> read the "INSTALL" file or "README" file for instructions, but having
> just checked I see QEMU does not have an INSTALL file and the README
> is mostly useless. Sigh.
>
> About the only docs I can find on building QEMU are these:
>
>  http://qemu.weilnetz.de/qemu-doc.html#compilation
>
> If you only want to build one particular architecture (eg x86_64),
> then my recommendation is:
>
>  ./configure --target-list=x86_64-softmmu --prefix=$HOME/usr/qemu-1.0.1
>  make
>  make install
>
> Then you can run it
>
>   $HOME/usr/qemu-1.0.1/bin/qemu-system-x86_64
>
> Regards,
> Daniel
> --
> |: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/
> :|
> |: http://libvirt.org              -o-             http://virt-manager.org
> :|
> |: http://autobuild.org       -o-         http://search.cpan.org/~danberr/
> :|
> |: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc
> :|



[Qemu-devel] How to compile the source code to get the images and executable to run the QEMU?

2012-05-25 Thread Arturo CV
Hello,

Am new around here and am working with the QEMU in a project.

I would like to ask if there is anyone that can let me know how to
compile or build the images to be used to run the QEMU from the source
code. I already got the source code from the wiki.qemu.org and I have
the version 1.0.1. Now I would like to build it from there to start
doing some test with my project.

At the beginning I was working with the version 0.14.50 but it was
already build with all the executable and everything and am having
issues when I try to put the system into an Idle state using the
"wait" so I was looking to use the newest version and go from there.

I appreciate all the help and guidance you can give me since am kind
of newbie with this :)

Arturo C.V.