Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 May 2014 15:10:09 +0200
From:      Frank Broniewski <brfr@metrico.lu>
To:        freebsd-ports-bugs@freebsd.org
Subject:   Re: ports/189943: graphics/mapnik fails to build
Message-ID:  <537B5431.7050200@metrico.lu>
In-Reply-To: <201405191005.s4JA5lag069739@cgiserv.freebsd.org>
References:  <201405191005.s4JA5lag069739@cgiserv.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Don't know if this is the right place to contribute to, but if you
build mapnik from source this doesn't happen:

> git clone https://github.com/mapnik/mapnik.git cd mapnik git
> checkout v2.2.0 ./configure
> LINK_PRIORITY=system,internal,other,frameworks,user python
> scons/scons.py install

does the trick for me. I am not sure if the LINK_PRIORITY must be
really set though ...

Frank

Am 2014-05-19 12:05, schrieb Frank:
> 
>> Number:         189943 Category:       ports Synopsis:
>> graphics/mapnik fails to build Confidential:   no Severity:
>> non-critical Priority:       low Responsible:
>> freebsd-ports-bugs State:          open Quarter: Keywords:
>>  Date-Required: Class:          sw-bug Submitter-Id:
>> current-users Arrival-Date:   Mon May 19 10:10:00 UTC 2014 
>> Closed-Date: Last-Modified: Originator:     Frank Release:
>> 9.2-RELEASE-p6 Organization: Environment:
> FreeBSD frodo.metrico 9.2-RELEASE-p6 FreeBSD 9.2-RELEASE-p6 #0: Tue
> May 13 08:21:53 UTC 2014
> root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC
> amd64
>> Description:
> graphics/mapnik fails to build. This seems related to the agg
> library:
> 
> c++ -o plugins/input/ogr.input -L/usr/local/lib -shared
> plugins/input/ogr/ogr_converter.os
> plugins/input/ogr/ogr_datasource.os
> plugins/input/ogr/ogr_featureset.os
> plugins/input/ogr/ogr_index_featureset.os -Ldeps/agg -Lsrc
> -L/usr/local/lib -L/usr/lib -lgdal -lmapnik -licuuc -lboost_system 
> src/libmapnik.so: undefined reference to
> `agg::comp_op_rgba_saturation<agg::rgba8,
> agg::order_rgba>::blend_pix(unsigned char*, unsigned int, unsigned
> int, unsigned int, unsigned int, unsigned int)' src/libmapnik.so:
> undefined reference to `agg::comp_op_rgba_value<agg::rgba8,
> agg::order_rgba>::blend_pix(unsigned char*, unsigned int, unsigned
> int, unsigned int, unsigned int, unsigned int)' src/libmapnik.so:
> undefined reference to `agg::comp_op_rgba_hue<agg::rgba8,
> agg::order_rgba>::blend_pix(unsigned char*, unsigned int, unsigned
> int, unsigned int, unsigned int, unsigned int)' src/libmapnik.so:
> undefined reference to `agg::comp_op_rgba_color<agg::rgba8,
> agg::order_rgba>::blend_pix(unsigned char*, unsigned int, unsigned
> int, unsigned int, unsigned int, unsigned int)' scons: ***
> [demo/c++/rundemo] Error 1 scons: building terminated because of
> errors.
> 
> running (notice the option -lagg): c++ -o plugins/input/ogr.input
> -L/usr/local/lib -shared plugins/input/ogr/ogr_converter.os
> plugins/input/ogr/ogr_datasource.os 
> plugins/input/ogr/ogr_featureset.os 
> plugins/input/ogr/ogr_index_featureset.os -Ldeps/agg -Lsrc 
> -L/usr/local/lib -L/usr/lib -lgdal -lmapnik -licuuc -lboost_system 
> -lagg yields no error ...
>> How-To-Repeat:
> cd /usr/ports/graphics/mapnik && make
>> Fix:
> 
> 
>> Release-Note: Audit-Trail: Unformatted:
> _______________________________________________ 
> freebsd-ports-bugs@freebsd.org mailing list 
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs To
> unsubscribe, send any mail to
> "freebsd-ports-bugs-unsubscribe@freebsd.org"
> 
> 


- -- 
Frank BRONIEWSKI

METRICO s.à r.l.
géomètres
technologies d'information géographique
rue des Romains 36
L-5433 NIEDERDONVEN

tél.: +352 26 74 94 - 28
fax.: +352 26 74 94 99
http://www.metrico.lu
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJTe1QQAAoJEHopqW0d1cQVl7wIAJ0Xj6/PM+CheduRhJ68Pqbj
xZ9ACCFgw2fxQzmig+0nGmh2ap43myrMfTR3YztjGAqYRZ6/mHX+2d0dXjMEVUe0
EQaABLpXLhNX59MtquCEar6Jk3sMhan5j4wdFHWABX7+Xn90u49RsFaQPAcgYrK1
AzY3bfyqY8m2mYBm2vfcDBJoKaqErjObfTNUOgcjLnSxlkh4cIOJsxQGue+zhIl7
QJN7zkjgiZdQTVr38aEVaBAsxD4U45VBgG6RsaMOBfO9louXNamNxp4nAdGyufC2
FsFiIxis3Mrx6vala4xjlmdaSdyozIH8KoqZQB8DDfekkiWBPTvsN3+UYQ1T4oI=
=tU2D
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?537B5431.7050200>