Hello:
I am not exactly sure what your previous message means, but after reading
some more documentation about Scons, I concluded that this is what I should
do:
joseph-jiras-macbook:mapnik jmjira$ python scons/scons.py configure
BOOST_TOOLKIT='xgcc40'
Which gave me the same errors as before:
...Checking for C++ library icudata... yes
Checking for Boost version >= 1.34... no
Boost version 1.34 or greater is requred
Checking for C++ library boost_system-xgcc40-mt... no
Could not find optional header or shared library for boost system
Checking for C++ library boost_filesystem-xgcc40-mt... no
Could not find required header or shared library for boost filesystem
Checking for C++ library boost_regex-xgcc40-mt... no
Could not find required header or shared library for boost regex
Checking for C++ library boost_iostreams-xgcc40-mt... no
Could not find required header or shared library for boost iostreams
Checking for C++ library boost_program_options-xgcc40-mt... no
Could not find optional header or shared library for boost program_options
Checking for C++ library boost_thread-xgcc40-mt... no
Could not find required header or shared library for boost thread
Checking for requested plugins dependencies...
Checking for gdal-config --libs... yes
Checking for gdal-config --cflags... yes
Checking for name of gdal library... gdal
Checking if gdal is ogr enabled... yes
Checking for name of ogr library... gdal
Checking for C library sqlite3... yes
Checking for C++ header file boost/python/detail/config.hpp... no
Could not find required header files for boost python
Checking for pkg-config... yes
Checking for pycairo... no
Exiting... the following required dependencies were not found:
- boost version >=1.34
- boost filesystem
- boost regex
- boost iostreams
- boost thread
- boost python...
See attached for my config.log (config.txt)
Again, thanks for your time and help.
Joseph Jira
On Thu, Jun 18, 2009 at 6:07 PM, Dane Springmeyer <[email protected]>wrote:
> Joseph,
>
> It appears that the symlinking done by macports installs of recent boost
> version may have changed.
>
> Try passing the extra option to Scons of:
>
> BOOST_TOOLKIT=xgcc40
>
> Dane
>
>
> On Jun 17, 2009, at 6:03 PM, Joseph Jira wrote:
>
> Checking for Boost version >= 1.34... no
>> Boost version 1.34 or greater is requred
>> Checking for C++ library boost_system-mt... no
>>
>
>
file /Users/jmjira/mapnik/SConstruct,line 462:
Configure(confdir = .sconf_temp)
scons: Configure: Checking for freetype-config...
/opt/local/bin/freetype-config --libs --cflags
-I/opt/local/include/freetype2 -I/opt/local/include
-L/opt/local/lib -lfreetype -lz
scons: Configure: yes
scons: Configure: Checking for xml2-config...
/opt/local/bin/xml2-config --libs --cflags
-L/opt/local/lib -lxml2 -lz -lpthread -liconv -lm
-I/opt/local/include/libxml2
scons: Configure: yes
scons: Configure: Checking for pkg-config...
pkg-config --atleast-pkgconfig-version=0.15.0
scons: Configure: yes
scons: Configure: Checking for cairomm-1.0...
pkg-config --exists 'cairomm-1.0'
scons: Configure: yes
.sconf_temp/conftest_4.cpp <-
|
|
|#include <boost/version.hpp>
|#include <iostream>
|
|int main()
|{
|
|std::cout << BOOST_LIB_VERSION << std::endl;
|return 0;
|}
|
|
g++ -o .sconf_temp/conftest_4.o -c -DHAVE_LIBXML2 -DHAVE_CAIRO -Iinclude -I.
-I/opt/local/include -I/opt/local/include/freetype2
-I/opt/local/include/libxml2 -I/opt/local/include/cairomm-1.0
-I/opt/local/include/cairo -I/opt/local/include/sigc++-2.0
-I/opt/local/lib/sigc++-2.0/include -I/opt/local/include/pixman-1
-I/opt/local/include/libpng12 .sconf_temp/conftest_4.cpp
.sconf_temp/conftest_4.cpp:3:29: error: boost/version.hpp: No such file or
directory
.sconf_temp/conftest_4.cpp: In function ‘int main()’:
.sconf_temp/conftest_4.cpp:9: error: ‘BOOST_LIB_VERSION’ was not declared in
this scope
scons: Configure: Checking for C library m...
.sconf_temp/conftest_5.c <-
|
|
|#include "math.h"
|
|int
|main() {
|
|return 0;
|}
|
gcc -o .sconf_temp/conftest_5.o -c -Iinclude -I. -I/opt/local/include
-I/opt/local/include/freetype2 -I/opt/local/include/libxml2
-I/opt/local/include/cairomm-1.0 -I/opt/local/include/cairo
-I/opt/local/include/sigc++-2.0 -I/opt/local/lib/sigc++-2.0/include
-I/opt/local/include/pixman-1 -I/opt/local/include/libpng12
.sconf_temp/conftest_5.c
gcc -o .sconf_temp/conftest_5 .sconf_temp/conftest_5.o -Lsrc -L/opt/local/lib
-lxml2 -lpthread -liconv -lm -lcairomm-1.0 -lcairo -lsigc-2.0 -lpixman-1
-lfontconfig -lexpat -lfreetype -lpng12 -lz -lXrender -lX11 -lXau -lXdmcp -lm
scons: Configure: yes
scons: Configure: Checking for C library ltdl...
.sconf_temp/conftest_6.c <-
|
|
|#include "ltdl.h"
|
|int
|main() {
|
|return 0;
|}
|
gcc -o .sconf_temp/conftest_6.o -c -Iinclude -I. -I/opt/local/include
-I/opt/local/include/freetype2 -I/opt/local/include/libxml2
-I/opt/local/include/cairomm-1.0 -I/opt/local/include/cairo
-I/opt/local/include/sigc++-2.0 -I/opt/local/lib/sigc++-2.0/include
-I/opt/local/include/pixman-1 -I/opt/local/include/libpng12
.sconf_temp/conftest_6.c
gcc -o .sconf_temp/conftest_6 .sconf_temp/conftest_6.o -Lsrc -L/opt/local/lib
-lxml2 -lpthread -liconv -lm -lcairomm-1.0 -lcairo -lsigc-2.0 -lpixman-1
-lfontconfig -lexpat -lfreetype -lpng12 -lz -lXrender -lX11 -lXau -lXdmcp -lm
-lltdl
scons: Configure: yes
scons: Configure: Checking for C library png...
.sconf_temp/conftest_7.c <-
|
|
|#include "png.h"
|
|int
|main() {
|
|return 0;
|}
|
gcc -o .sconf_temp/conftest_7.o -c -Iinclude -I. -I/opt/local/include
-I/opt/local/include/freetype2 -I/opt/local/include/libxml2
-I/opt/local/include/cairomm-1.0 -I/opt/local/include/cairo
-I/opt/local/include/sigc++-2.0 -I/opt/local/lib/sigc++-2.0/include
-I/opt/local/include/pixman-1 -I/opt/local/include/libpng12
.sconf_temp/conftest_7.c
gcc -o .sconf_temp/conftest_7 .sconf_temp/conftest_7.o -Lsrc -L/opt/local/lib
-lxml2 -lpthread -liconv -lm -lcairomm-1.0 -lcairo -lsigc-2.0 -lpixman-1
-lfontconfig -lexpat -lfreetype -lpng12 -lz -lXrender -lX11 -lXau -lXdmcp -lm
-lltdl -lpng
scons: Configure: yes
scons: Configure: Checking for C library tiff...
.sconf_temp/conftest_8.c <-
|
|
|#include "tiff.h"
|
|int
|main() {
|
|return 0;
|}
|
gcc -o .sconf_temp/conftest_8.o -c -Iinclude -I. -I/opt/local/include
-I/opt/local/include/freetype2 -I/opt/local/include/libxml2
-I/opt/local/include/cairomm-1.0 -I/opt/local/include/cairo
-I/opt/local/include/sigc++-2.0 -I/opt/local/lib/sigc++-2.0/include
-I/opt/local/include/pixman-1 -I/opt/local/include/libpng12
.sconf_temp/conftest_8.c
gcc -o .sconf_temp/conftest_8 .sconf_temp/conftest_8.o -Lsrc -L/opt/local/lib
-lxml2 -lpthread -liconv -lm -lcairomm-1.0 -lcairo -lsigc-2.0 -lpixman-1
-lfontconfig -lexpat -lfreetype -lpng12 -lz -lXrender -lX11 -lXau -lXdmcp -lm
-lltdl -lpng -ltiff
scons: Configure: yes
scons: Configure: Checking for C library z...
.sconf_temp/conftest_9.c <-
|
|
|#include "zlib.h"
|
|int
|main() {
|
|return 0;
|}
|
gcc -o .sconf_temp/conftest_9.o -c -Iinclude -I. -I/opt/local/include
-I/opt/local/include/freetype2 -I/opt/local/include/libxml2
-I/opt/local/include/cairomm-1.0 -I/opt/local/include/cairo
-I/opt/local/include/sigc++-2.0 -I/opt/local/lib/sigc++-2.0/include
-I/opt/local/include/pixman-1 -I/opt/local/include/libpng12
.sconf_temp/conftest_9.c
gcc -o .sconf_temp/conftest_9 .sconf_temp/conftest_9.o -Lsrc -L/opt/local/lib
-lxml2 -lpthread -liconv -lm -lcairomm-1.0 -lcairo -lsigc-2.0 -lpixman-1
-lfontconfig -lexpat -lfreetype -lpng12 -lz -lXrender -lX11 -lXau -lXdmcp -lm
-lltdl -lpng -ltiff -lz
scons: Configure: yes
scons: Configure: Checking for C library jpeg...
.sconf_temp/conftest_10.c <-
|
|
|#include "stdio.h"
|#include "jpeglib.h"
|
|int
|main() {
|
|return 0;
|}
|
gcc -o .sconf_temp/conftest_10.o -c -Iinclude -I. -I/opt/local/include
-I/opt/local/include/freetype2 -I/opt/local/include/libxml2
-I/opt/local/include/cairomm-1.0 -I/opt/local/include/cairo
-I/opt/local/include/sigc++-2.0 -I/opt/local/lib/sigc++-2.0/include
-I/opt/local/include/pixman-1 -I/opt/local/include/libpng12
.sconf_temp/conftest_10.c
gcc -o .sconf_temp/conftest_10 .sconf_temp/conftest_10.o -Lsrc -L/opt/local/lib
-lxml2 -lpthread -liconv -lm -lcairomm-1.0 -lcairo -lsigc-2.0 -lpixman-1
-lfontconfig -lexpat -lfreetype -lpng12 -lz -lXrender -lX11 -lXau -lXdmcp -lm
-lltdl -lpng -ltiff -lz -ljpeg
scons: Configure: yes
scons: Configure: Checking for C library proj...
.sconf_temp/conftest_11.c <-
|
|
|#include "proj_api.h"
|
|int
|main() {
|
|return 0;
|}
|
gcc -o .sconf_temp/conftest_11.o -c -Iinclude -I. -I/opt/local/include
-I/opt/local/include/freetype2 -I/opt/local/include/libxml2
-I/opt/local/include/cairomm-1.0 -I/opt/local/include/cairo
-I/opt/local/include/sigc++-2.0 -I/opt/local/lib/sigc++-2.0/include
-I/opt/local/include/pixman-1 -I/opt/local/include/libpng12
.sconf_temp/conftest_11.c
gcc -o .sconf_temp/conftest_11 .sconf_temp/conftest_11.o -Lsrc -L/opt/local/lib
-lxml2 -lpthread -liconv -lm -lcairomm-1.0 -lcairo -lsigc-2.0 -lpixman-1
-lfontconfig -lexpat -lfreetype -lpng12 -lz -lXrender -lX11 -lXau -lXdmcp -lm
-lltdl -lpng -ltiff -lz -ljpeg -lproj
scons: Configure: yes
scons: Configure: Checking for C++ library icuuc...
.sconf_temp/conftest_12.cpp <-
|
|
|#include "unicode/unistr.h"
|
|int
|main() {
|
|return 0;
|}
|
g++ -o .sconf_temp/conftest_12.o -c -DHAVE_LIBXML2 -DHAVE_CAIRO -Iinclude -I.
-I/opt/local/include -I/opt/local/include/freetype2
-I/opt/local/include/libxml2 -I/opt/local/include/cairomm-1.0
-I/opt/local/include/cairo -I/opt/local/include/sigc++-2.0
-I/opt/local/lib/sigc++-2.0/include -I/opt/local/include/pixman-1
-I/opt/local/include/libpng12 .sconf_temp/conftest_12.cpp
g++ -o .sconf_temp/conftest_12 .sconf_temp/conftest_12.o -Lsrc -L/opt/local/lib
-lxml2 -lpthread -liconv -lm -lcairomm-1.0 -lcairo -lsigc-2.0 -lpixman-1
-lfontconfig -lexpat -lfreetype -lpng12 -lz -lXrender -lX11 -lXau -lXdmcp -lm
-lltdl -lpng -ltiff -lz -ljpeg -lproj -licuuc
scons: Configure: yes
scons: Configure: Checking for C++ library icudata...
.sconf_temp/conftest_13.cpp <-
|
|
|#include "unicode/utypes.h"
|
|int
|main() {
|
|return 0;
|}
|
g++ -o .sconf_temp/conftest_13.o -c -DHAVE_LIBXML2 -DHAVE_CAIRO -Iinclude -I.
-I/opt/local/include -I/opt/local/include/freetype2
-I/opt/local/include/libxml2 -I/opt/local/include/cairomm-1.0
-I/opt/local/include/cairo -I/opt/local/include/sigc++-2.0
-I/opt/local/lib/sigc++-2.0/include -I/opt/local/include/pixman-1
-I/opt/local/include/libpng12 .sconf_temp/conftest_13.cpp
g++ -o .sconf_temp/conftest_13 .sconf_temp/conftest_13.o -Lsrc -L/opt/local/lib
-lxml2 -lpthread -liconv -lm -lcairomm-1.0 -lcairo -lsigc-2.0 -lpixman-1
-lfontconfig -lexpat -lfreetype -lpng12 -lz -lXrender -lX11 -lXau -lXdmcp -lm
-lltdl -lpng -ltiff -lz -ljpeg -lproj -licuuc -licudata
scons: Configure: yes
scons: Configure: Checking for Boost version >= 1.34...
.sconf_temp/conftest_14.cpp <-
|
|
|#include <boost/version.hpp>
|
|int main()
|{
| return BOOST_VERSION >= 103400 ? 0 : 1;
|}
|
|
g++ -o .sconf_temp/conftest_14.o -c -DHAVE_LIBXML2 -DHAVE_CAIRO -Iinclude -I.
-I/opt/local/include -I/opt/local/include/freetype2
-I/opt/local/include/libxml2 -I/opt/local/include/cairomm-1.0
-I/opt/local/include/cairo -I/opt/local/include/sigc++-2.0
-I/opt/local/lib/sigc++-2.0/include -I/opt/local/include/pixman-1
-I/opt/local/include/libpng12 .sconf_temp/conftest_14.cpp
.sconf_temp/conftest_14.cpp:3:29: error: boost/version.hpp: No such file or
directory
.sconf_temp/conftest_14.cpp: In function ‘int main()’:
.sconf_temp/conftest_14.cpp:7: error: ‘BOOST_VERSION’ was not declared in this
scope
scons: Configure: no
scons: Configure: Checking for C++ library boost_system-xgcc40-mt...
.sconf_temp/conftest_15.cpp <-
|
|
|#include "boost/system/system_error.hpp"
|
|int
|main() {
|
|return 0;
|}
|
g++ -o .sconf_temp/conftest_15.o -c -DHAVE_LIBXML2 -DHAVE_CAIRO -Iinclude -I.
-I/opt/local/include -I/opt/local/include/freetype2
-I/opt/local/include/libxml2 -I/opt/local/include/cairomm-1.0
-I/opt/local/include/cairo -I/opt/local/include/sigc++-2.0
-I/opt/local/lib/sigc++-2.0/include -I/opt/local/include/pixman-1
-I/opt/local/include/libpng12 .sconf_temp/conftest_15.cpp
.sconf_temp/conftest_15.cpp:3:41: error: boost/system/system_error.hpp: No such
file or directory
scons: Configure: no
scons: Configure: Checking for C++ library boost_filesystem-xgcc40-mt...
.sconf_temp/conftest_16.cpp <-
|
|
|#include "boost/filesystem/operations.hpp"
|
|int
|main() {
|
|return 0;
|}
|
g++ -o .sconf_temp/conftest_16.o -c -DHAVE_LIBXML2 -DHAVE_CAIRO -Iinclude -I.
-I/opt/local/include -I/opt/local/include/freetype2
-I/opt/local/include/libxml2 -I/opt/local/include/cairomm-1.0
-I/opt/local/include/cairo -I/opt/local/include/sigc++-2.0
-I/opt/local/lib/sigc++-2.0/include -I/opt/local/include/pixman-1
-I/opt/local/include/libpng12 .sconf_temp/conftest_16.cpp
.sconf_temp/conftest_16.cpp:3:43: error: boost/filesystem/operations.hpp: No
such file or directory
scons: Configure: no
scons: Configure: Checking for C++ library boost_regex-xgcc40-mt...
.sconf_temp/conftest_17.cpp <-
|
|
|#include "boost/regex.hpp"
|
|int
|main() {
|
|return 0;
|}
|
g++ -o .sconf_temp/conftest_17.o -c -DHAVE_LIBXML2 -DHAVE_CAIRO -Iinclude -I.
-I/opt/local/include -I/opt/local/include/freetype2
-I/opt/local/include/libxml2 -I/opt/local/include/cairomm-1.0
-I/opt/local/include/cairo -I/opt/local/include/sigc++-2.0
-I/opt/local/lib/sigc++-2.0/include -I/opt/local/include/pixman-1
-I/opt/local/include/libpng12 .sconf_temp/conftest_17.cpp
.sconf_temp/conftest_17.cpp:3:27: error: boost/regex.hpp: No such file or
directory
scons: Configure: no
scons: Configure: Checking for C++ library boost_iostreams-xgcc40-mt...
.sconf_temp/conftest_18.cpp <-
|
|
|#include "boost/iostreams/device/mapped_file.hpp"
|
|int
|main() {
|
|return 0;
|}
|
g++ -o .sconf_temp/conftest_18.o -c -DHAVE_LIBXML2 -DHAVE_CAIRO -Iinclude -I.
-I/opt/local/include -I/opt/local/include/freetype2
-I/opt/local/include/libxml2 -I/opt/local/include/cairomm-1.0
-I/opt/local/include/cairo -I/opt/local/include/sigc++-2.0
-I/opt/local/lib/sigc++-2.0/include -I/opt/local/include/pixman-1
-I/opt/local/include/libpng12 .sconf_temp/conftest_18.cpp
.sconf_temp/conftest_18.cpp:3:50: error:
boost/iostreams/device/mapped_file.hpp: No such file or directory
scons: Configure: no
scons: Configure: Checking for C++ library boost_program_options-xgcc40-mt...
.sconf_temp/conftest_19.cpp <-
|
|
|#include "boost/program_options.hpp"
|
|int
|main() {
|
|return 0;
|}
|
g++ -o .sconf_temp/conftest_19.o -c -DHAVE_LIBXML2 -DHAVE_CAIRO -Iinclude -I.
-I/opt/local/include -I/opt/local/include/freetype2
-I/opt/local/include/libxml2 -I/opt/local/include/cairomm-1.0
-I/opt/local/include/cairo -I/opt/local/include/sigc++-2.0
-I/opt/local/lib/sigc++-2.0/include -I/opt/local/include/pixman-1
-I/opt/local/include/libpng12 .sconf_temp/conftest_19.cpp
.sconf_temp/conftest_19.cpp:3:37: error: boost/program_options.hpp: No such
file or directory
scons: Configure: no
scons: Configure: Checking for C++ library boost_thread-xgcc40-mt...
.sconf_temp/conftest_20.cpp <-
|
|
|#include "boost/thread/mutex.hpp"
|
|int
|main() {
|
|return 0;
|}
|
g++ -o .sconf_temp/conftest_20.o -c -DHAVE_LIBXML2 -DHAVE_CAIRO -Iinclude -I.
-I/opt/local/include -I/opt/local/include/freetype2
-I/opt/local/include/libxml2 -I/opt/local/include/cairomm-1.0
-I/opt/local/include/cairo -I/opt/local/include/sigc++-2.0
-I/opt/local/lib/sigc++-2.0/include -I/opt/local/include/pixman-1
-I/opt/local/include/libpng12 .sconf_temp/conftest_20.cpp
.sconf_temp/conftest_20.cpp:3:34: error: boost/thread/mutex.hpp: No such file
or directory
scons: Configure: no
scons: Configure: Checking for gdal-config --libs...
/opt/local/bin/gdal-config --libs
-L/opt/local/lib -lgdal
scons: Configure: yes
scons: Configure: Checking for gdal-config --cflags...
/opt/local/bin/gdal-config --cflags
-I/opt/local/include
scons: Configure: yes
scons: Configure: Checking for name of gdal library...
/opt/local/bin/gdal-config --libs
-L/opt/local/lib -lgdal
scons: Configure: gdal
scons: Configure: Checking if gdal is ogr enabled...
/opt/local/bin/gdal-config --ogr-enabled
yes
scons: Configure: yes
scons: Configure: Checking for name of ogr library...
/opt/local/bin/gdal-config --libs
-L/opt/local/lib -lgdal
scons: Configure: gdal
scons: Configure: Checking for C library sqlite3...
.sconf_temp/conftest_26.c <-
|
|
|#include "sqlite3.h"
|
|int
|main() {
|
|return 0;
|}
|
gcc -o .sconf_temp/conftest_26.o -c -I/opt/local/include -Iinclude -I.
-I/opt/local/include/freetype2 -I/opt/local/include/libxml2
-I/opt/local/include/cairomm-1.0 -I/opt/local/include/cairo
-I/opt/local/include/sigc++-2.0 -I/opt/local/lib/sigc++-2.0/include
-I/opt/local/include/pixman-1 -I/opt/local/include/libpng12
.sconf_temp/conftest_26.c
gcc -o .sconf_temp/conftest_26 .sconf_temp/conftest_26.o -L/opt/local/lib -Lsrc
-lxml2 -lpthread -liconv -lcairomm-1.0 -lcairo -lsigc-2.0 -lpixman-1
-lfontconfig -lexpat -lfreetype -lpng12 -lXrender -lX11 -lXau -lXdmcp -lm
-lltdl -lpng -ltiff -lz -ljpeg -lproj -licuuc -licudata -lgdal -lsqlite3
scons: Configure: yes
scons: Configure: Checking for C++ header file
boost/python/detail/config.hpp...
.sconf_temp/conftest_27.cpp <-
|
|#include <boost/python/detail/config.hpp>
|
|
g++ -o .sconf_temp/conftest_27.o -c -DHAVE_LIBXML2 -DHAVE_CAIRO -Iagg/include
-Iinclude -I. -I/opt/local/include -I/opt/local/include/freetype2
-I/opt/local/include/libxml2 -I/opt/local/include/cairomm-1.0
-I/opt/local/include/cairo -I/opt/local/include/sigc++-2.0
-I/opt/local/lib/sigc++-2.0/include -I/opt/local/include/pixman-1
-I/opt/local/include/libpng12 .sconf_temp/conftest_27.cpp
.sconf_temp/conftest_27.cpp:2:42: error: boost/python/detail/config.hpp: No
such file or directory
scons: Configure: no
scons: Configure: Checking for pkg-config...
pkg-config --atleast-pkgconfig-version=0.15.0
scons: Configure: yes
scons: Configure: Checking for pycairo...
pkg-config --exists 'pycairo'
scons: Configure: no
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users