[cairo] building cairo (was Re: 1.10 release schedule)
Chris
blupub at yahoo.com
Sat Jan 9 13:44:46 PST 2010
Yes. Just now on a fresh XP install. Here's my "journal":
-------------------------------------
Fresh XP SP3 install.
-------------------------------------
-------------------------------------
Download and install MSYS.
The link:
http://sourceforge.net/projects/mingw/files/MSYS%20Base%20System/Current%20Release_%20MSYS-1.0.11/MSYS-1.0.11.exe/download
didn't work.
So I found MSYS-1.0.11.exe here (even though there was a MSYS-1.0.12.exe available):
http://sourceforge.net/projects/mingw/files/MSYS%20Base%20System/msys-1.0.11/MSYS-1.0.11.exe/download
Installed msys into c:\msys
Did post-install
-------------------------------------
-------------------------------------
Install MSVC++ Express 2008
Done.
-------------------------------------
-------------------------------------
Install CURL
Link was bad: http://www.paehl.com/open_source/index.php?CURL_7.19.6
So I had to download: http://www.paehl.com/open_source/index.php?CURL_7.19.7
Installed CURL to c:\curl
Added c:\curl to PATH
Restarted Windows
-------------------------------------
-------------------------------------
Open a command shell/Setup environment
Open cmd32.exe failed. No such file.
Opening cmd.exe
set PATH=%PATH%;C:\msys\bin
"%VS90COMNTOOLS%/vsvars32.bat"
Success.
-------------------------------------
-------------------------------------
Create/Clean/Set Build Directory
set ROOTDIR=%USERPROFILE%\BuildCairo
above does not work. You have to add quotes.
set ROOTDIR="%USERPROFILE%\BuildCairo"
Success.
-------------------------------------
-------------------------------------
Download and untar tarballs
curl http://www.zlib.net/zlib-1.2.3.tar.gz -o zlib.tgz
curl ftp://ftp.simplesystems.org/pub/libpng/png/src/libpng-1.2.40.tar.gz -o libpng.tgz
LIBPNG DOWNLOAD FAILED with error 550
Closest I could find was libpng-1.2.42.tar.gz ...
curl ftp://ftp.simplesystems.org/pub/libpng/png/src/libpng-1.2.42.tar.gz -o libpng.tgz
curl http://www.cairographics.org/releases/pixman-0.16.2.tar.gz -o pixman.tgz
curl http://www.cairographics.org/releases/cairo-1.8.8.tar.gz -o cairo.tgz
Untared/renamed the archives/folders.
-------------------------------------
-------------------------------------
Build zlib
vcbuild /upgrade zlib.vcproj
Failed.
TRIED to follow instructions on:http://social.msdn.microsoft.com/forums/en-US/windowssdk/thread/c139643f-7e1a-4fa2-a466-e521667997fd
but nothing was right so I'm on my own.
Found vcprojectengine.dll here: C:\Program Files\Microsoft Visual Studio 9.0\VC\vcpackages
regsvr32 "C:\Program Files\Microsoft Visual Studio 9.0\VC\vcpackages\vcprojectengine.dll"
Succeeded.
vcbuild /upgrade zlib.vcproj
vcbuild is not recognized as an internal or external command, operable program or batch file.
FRUSTRATION LEVEL CRITICAL. SHUTTING DOWN TO COOL OFF.
"C:\Program Files\Microsoft Visual Studio 9.0\VC\vcpackages\vcbuild" /upgrade zlib.vcproj
Success. Guess I could add it to the path later.
sed /RuntimeLibrary=/s/2/0/ zlib.vcproj > fixed.vcproj
'sed' is not recognized as a blah blah blah..
FRUSTRATION LEVEL CRITICAL. SHUTTING DOWN TO COOL OFF.
Downloaded sed.
sed /RuntimeLibrary=/s/2/0/ zlib.vcproj > fixed.vcproj
Success.
move /Y fixed.vcproj zlib.vcproj
Success.
vcbuild zlib.vcproj "LIB Release"
Failed. Must. remember. to. add. to. path..
"C:\Program Files\Microsoft Visual Studio 9.0\VC\vcpackages\vcbuild" zlib.vcproj "LIB Release"
Success.
PATH=%PATH%;C:\Program Files\Microsoft Visual Studio 9.0\VC\vcpackages\vcbuild
Didn't work. brushing it off.
"C:\Program Files\Microsoft Visual Studio 9.0\VC\vcpackages\vcbuild" /upgrade libpng.vcproj
sed /RuntimeLibrary=/s/2/0/ libpng.vcproj > fixed.vcproj
move /Y fixed.vcproj libpng.vcproj
"C:\Program Files\Microsoft Visual Studio 9.0\VC\vcpackages\vcbuild" libpng.vcproj "LIB Release"
Success.
make -f Makefile.win32 "CFG=release"
'make' is not recognized blah blah blah..
Hmm.. WTF is up with my PATHs?
Adding to PATH again.. Restarting Windows..
set ROOTDIR="%USERPROFILE%/BuildCairo"
cd %ROOTDIR%
cd pixman/pixman
make -f Makefile.win32 "CFG=release"
Setting MMX flag to default value 'on'... (use MMX=on or MMX=off)
Setting SSE2 flag to default value 'on'... (use SSE2=on or SSE2=off)
/bin/sh: cl: command not found
make: *** [release/pixman-image.obj] Error 127
C:\Program Files\Microsoft Visual Studio 9.0\VC\bin is not in my PATH!
Adding.. Restarting Windows..
set ROOTDIR="%USERPROFILE%/BuildCairo"
cd %ROOTDIR%
cd pixman/pixman
make -f Makefile.win32 "CFG=release"
This application failed to start because mspdb80.dll was not found.
:-)
FRUSTRATION OVERLOAD. HEAD POPPED OFF. EOT.
--- On Fri, 1/8/10, Travis Griggs <tgriggs at cincom.com> wrote:
From: Travis Griggs <tgriggs at cincom.com>
Subject: Re: [cairo] building cairo (was Re: 1.10 release schedule)
To: "cairo list" <cairo at cairographics.org>
Date: Friday, January 8, 2010, 12:26 PM
Chris,
did you try anything like:
http://www.cairographics.org/end_to_end_build_for_win32/
--
Travis Griggs
Objologist
Light travels faster than sound. This is why some people appear bright
until you hear them speak...
--
cairo mailing list
cairo at cairographics.org
http://lists.cairographics.org/mailman/listinfo/cairo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cairographics.org/archives/cairo/attachments/20100109/8fb0f334/attachment.htm
More information about the cairo
mailing list