Thanks, that worked.
Next problem. :-)
I got everything installed for a successful configuration. But make failed.
Here is a condensed report:
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/icons/Makefile
config.status: creating po/Makefile.in
config.status: creating data/Makefile
config.status: creating tools/Makefile
config.status: creating test/Makefile
config.status: creating help/Makefile
config.status: creating win32/Makefile
config.status: creating win32/installer/Makefile
config.status: creating win32/installer/pixmaps/Makefile
config.status: creating win32/installer/translations/Makefile
config.status: creating viking.spec
config.status: creating src/config.h
config.status: src/config.h is unchanged
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing po/stamp-it commands
===========================================
viking http://viking.sf.net/ 1.6
-------------------------------------------
Bing Maps : yes
Google : yes
Terraserver Maps : no
Expedia Maps : no
Open Street Map : yes
BlueMarble : yes
Geonames : yes
Geocaches Acquire : no
Geotag Support : yes (libgexiv2=yes libexif=)
USGS 24k DEM : no
Realtime GPS Tracking : yes
bzip2 Support : yes
File Magic Support : yes
MBTiles Support (SQLite3) : yes
Mapnik Rendering Support (C++) : yes
Size of map cache (in memory) : 128
Age of tiles (in seconds) : 604800
Documentation (+HTML) : no (HTML: yes)
-------------------------------------------
Configure finished, type 'make' to build.
idefix code> make
Making all in src
make[1]: Entering directory '/home/local/SoftwareDownloads/viking/code/src'
make all-recursive
make[2]: Entering directory '/home/local/SoftwareDownloads/viking/code/src'
Making all in icons
make[3]: Entering directory '/home/local/SoftwareDownloads/viking/code/src/icons'
make all-am
make[4]: Entering directory '/home/local/SoftwareDownloads/viking/code/src/icons'
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '/home/local/SoftwareDownloads/viking/code/src/icons'
make[3]: Leaving directory '/home/local/SoftwareDownloads/viking/code/src/icons'
make[3]: Entering directory '/home/local/SoftwareDownloads/viking/code/src'
depbase=`echo mapnik_interface.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
g++ -DHAVE_CONFIG_H -I. -pthread -I/usr/include/gtk-2.0
-I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0
-I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0
-I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2
-I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
-DVIKING_DATADIR=\""/usr/local/share/viking"\"
-DVIKING_SYSCONFDIR=\""/usr/local/etc/viking"\" -g -O2 -std=c++11 -MT
mapnik_interface.o -MD -MP -MF $depbase.Tpo -c -o mapnik_interface.o
mapnik_interface.cpp &&\
mv -f $depbase.Tpo $depbase.Po
In file included from /usr/include/mapnik/font_engine_freetype.hpp:35:0,
from /usr/include/mapnik/agg_renderer.hpp:29,
from mapnik_interface.cpp:25:
/usr/include/mapnik/image_compositing.hpp:36:29: fatal error:
agg_pixfmt_rgba.h: No such file or directory
compilation terminated.
Makefile:972: recipe for target 'mapnik_interface.o' failed
make[3]: *** [mapnik_interface.o] Error 1
make[3]: Leaving directory '/home/local/SoftwareDownloads/viking/code/src'
Makefile:1015: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/local/SoftwareDownloads/viking/code/src'
Makefile:701: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/local/SoftwareDownloads/viking/code/src'
Makefile:450: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
idefix code>
I expect that configure is missing some dependency.
peter
On 09/01/2015 04:06 PM, Robert Norris wrote:
>
>> To: viking-***@lists.sourceforge.net
>> From: ***@gmail.com
>> Date: Tue, 1 Sep 2015 13:45:31 -0700
>> Subject: [Viking-devel] compiling git source under Fedora
>>
>> I´m trying to see if the git source fixes a segmentation fault for me under
>> Fedora. However, I´m having problems getting the configuration to set up
>> correctly.
>>
>> It seems that libcurl is not being found, but I do have it installed:
>>
>> idefix code> ./autogen.sh
>> [...lots of output...]
>> checking for gawk... (cached) gawk
>> checking for curl-config... no
>> checking whether libcurl is usable... no
>> configure: error: libcurl is needed but not found
>> idefix code> sudo dnf install libcurl
>> Last metadata expiration check performed 2:59:58 ago on Tue Sep 1 10:40:28 2015.
>> Package libcurl-7.40.0-5.fc22.x86_64 is already installed, skipping.
>> Dependencies resolved.
>> Nothing to do.
>> Complete!
>>
>>
>> Any suggestions?
>>
>
> When building Viking from source you'll need the source code headers for each library used as well as the library itself.
>
> IIRC for Fedora it will be the package 'libcurl-devel' (which will probably install the program curl-config too)
> Fedora packages tend to be the same as openSUSE.
>
> The
> libcurl detection in Viking's build automake is quite old and borrowed
> from elsewhere - so it might not give the best error messages.
>
> Also take a look at:
> https://sourceforge.net/p/viking/wikiallura/Source_code/
>
> HTH.
>
>