Building tinyows-1.1.0_1.txz (origin /buildshare/ports/355755/graphics/tinyows) for powerpc-10-0 on XXX slot1: created x distfiles/ x distfiles/tinyows-1.1.0.tar.bz2 x packages/ x packages/postgis-2.1.0_2.txz x packages/pkgconf-0.9.5.txz x packages/perl5-5.16.3_10.txz x packages/fcgi-devkit-2.4.0.txz x packages/gmake-3.82_1.txz x packages/pkg-1.2.7_2.txz x packages/libxml2-2.9.1_1.txz x packages/unzip-6.0_1.txz x packages/libtool-2.4.2_3.txz x packages/geos-3.4.2.txz x packages/postgresql92-server-9.2.8_1.txz x packages/gettext-0.18.3.1_1.txz x packages/postgresql92-client-9.2.8_1.txz x packages/proj-4.8.0_2.txz x packages/json-c-0.11.txz ELF ldconfig path: /lib /usr/lib /usr/lib/compat Make depends ===> tinyows-1.1.0_1 depends on file: /usr/local/sbin/pkg - not found ===> Verifying install for /usr/local/sbin/pkg in /buildshare/ports/355755/ports-mgmt/pkg ===> Installing existing package /packages/pkg-1.2.7_2.txz Installing pkg-1.2.7_2... done If you are upgrading from the old package format, first run: # pkg2ng ===> Returning to build of tinyows-1.1.0_1 ===> tinyows-1.1.0_1 depends on shared library: libxml2.so - not found ===> Verifying for libxml2.so in /buildshare/ports/355755/textproc/libxml2 ===> Installing existing package /packages/libxml2-2.9.1_1.txz Installing libxml2-2.9.1_1... done ===> Returning to build of tinyows-1.1.0_1 ===> tinyows-1.1.0_1 depends on file: /usr/local/lib/postgresql/postgis-2.1.so - not found ===> Verifying install for /usr/local/lib/postgresql/postgis-2.1.so in /buildshare/ports/355755/databases/postgis21 ===> Installing existing package /packages/postgis-2.1.0_2.txz Installing postgis-2.1.0_2...Installing proj-4.8.0_2... done Installing geos-3.4.2... done Installing json-c-0.11... done Installing gettext-0.18.3.1_1... done Installing postgresql92-server-9.2.8_1...Installing postgresql92-client-9.2.8_1... done ===> Creating users and/or groups. Creating group 'pgsql' with gid '70'. Creating user 'pgsql' with uid '70'. =========== BACKUP YOUR DATA! ============= As always, backup your data before upgrading. If the upgrade leads to a higher minor revision (e.g. 8.3.x -> 8.4), a dump and restore of all databases is required. This is *NOT* done by the port! Press ctrl-C *now* if you need to pg_dump. =========================================== done ======================= GEOS Support Notice ======================== In order to use the GEOS support, you may need to specially compile your version of PostgreSQL to link the C++ runtime library. To do this, invoke the PostgreSQL Makefile script this way: on csh shell: setenv LDFLAGS -lstdc++ make on sh or bash shell: export LDFLAGS=-lstdc++ make The initial LDFLAGS variable is passed through to the Makefile and adds the C++ library to the linking stage. ==================================================================== done The PostgreSQL port has a collection of "side orders": postgresql-docs For all of the html documentation p5-Pg A perl5 API for client access to PostgreSQL databases. postgresql-tcltk If you want tcl/tk client support. postgresql-jdbc For Java JDBC support. postgresql-odbc For client access from unix applications using ODBC as access method. Not needed to access unix PostgreSQL servers from Win32 using ODBC. See below. ruby-postgres, py-PyGreSQL For client access to PostgreSQL databases using the ruby & python languages. postgresql-plperl, postgresql-pltcl & postgresql-plruby For using perl5, tcl & ruby as procedural languages. postgresql-contrib Lots of contributed utilities, postgresql functions and datatypes. There you find pg_standby, pgcrypto and many other cool things. etc... For procedural languages and postgresql functions, please note that you might have to update them when updating the server. If you have many tables and many clients running, consider raising kern.maxfiles using sysctl(8), or reconfigure your kernel appropriately. The port is set up to use autovacuum for new databases, but you might also want to vacuum and perhaps backup your database regularly. There is a periodic script, /usr/local/etc/periodic/daily/502.pgsql, that you may find useful. You can use it to backup and perfom vacuum on all databases nightly. Per default, it perfoms `vacuum analyze'. See the script for instructions. For autovacuum settings, please review ~pgsql/data/postgresql.conf. To allow many simultaneous connections to your PostgreSQL server, you should raise the SystemV shared memory limits in your kernel. Here are example values for allowing up to 180 clients (configurations in postgresql.conf also needed, of course): options SYSVSHM options SYSVSEM options SYSVMSG options SHMMAXPGS=65536 options SEMMNI=40 options SEMMNS=240 options SEMUME=40 options SEMMNU=120 If you plan to access your PostgreSQL server using ODBC, please consider running the SQL script /usr/local/share/postgresql/odbc.sql to get the functions required for ODBC compliance. Please note that if you use the rc script, /usr/local/etc/rc.d/postgresql, to initialize the database, unicode (UTF-8) will be used to store character data by default. Set postgresql_initdb_flags or use login.conf settings described below to alter this behaviour. See the start rc script for more info. To set limits, environment stuff like locale and collation and other things, you can set up a class in /etc/login.conf before initializing the database. Add something similar to this to /etc/login.conf: --- postgres:\ :lang=en_US.UTF-8:\ :setenv=LC_COLLATE=C:\ :tc=default: --- and run `cap_mkdb /etc/login.conf'. Then add 'postgresql_class="postgres"' to /etc/rc.conf. ====================================================================== To initialize the database, run /usr/local/etc/rc.d/postgresql initdb You can then start PostgreSQL by running: /usr/local/etc/rc.d/postgresql start For postmaster settings, see ~pgsql/data/postgresql.conf NB. FreeBSD's PostgreSQL port logs to syslog by default See ~pgsql/data/postgresql.conf for more info ====================================================================== To run PostgreSQL at startup, add 'postgresql_enable="YES"' to /etc/rc.conf ===> Returning to build of tinyows-1.1.0_1 ===> tinyows-1.1.0_1 depends on file: /usr/local/bin/cgi-fcgi - not found ===> Verifying install for /usr/local/bin/cgi-fcgi in /buildshare/ports/355755/www/fcgi ===> Installing existing package /packages/fcgi-devkit-2.4.0.txz Installing fcgi-devkit-2.4.0... done ===> Returning to build of tinyows-1.1.0_1 Make install ===> tinyows-1.1.0_1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by tinyows-1.1.0_1 for building ===> Extracting for tinyows-1.1.0_1 => SHA256 Checksum OK for tinyows-1.1.0.tar.bz2. ===> Patching for tinyows-1.1.0_1 ===> Applying FreeBSD patches for tinyows-1.1.0_1 ===> tinyows-1.1.0_1 depends on file: /usr/local/lib/postgresql/postgis-2.1.so - found ===> tinyows-1.1.0_1 depends on file: /usr/local/bin/cgi-fcgi - found ===> tinyows-1.1.0_1 depends on shared library: libxml2.so - found (/usr/local/lib/libxml2.so.2.9.1) ===> Configuring for tinyows-1.1.0_1 ===> FreeBSD 10 autotools fix applied to /obj/buildshare/ports/355755/graphics/tinyows/work/tinyows-1.1.0/configure configure: loading site script /buildshare/ports/355755/Templates/config.site checking for gcc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking for X... no checking for $CC... no checking for -c... no checking for $CFLAGS... no checking for $CPPFLAGS... no checking for conftest.$ac_ext... no checking for >&5... no checking for xml2-config... /usr/local/bin/xml2-config checking for libxml2 version... 2.9.1 checking for git... no checking for pg_config... /usr/local/bin/pg_config checking for PostgreSQL version... PostgreSQL 9.2.8 checking for shp2pgsql... /usr/local/bin/shp2pgsql checking for flex... flex checking lex output file root... lex.yy checking lex library... -lfl checking whether yytext is a pointer... yes checking user-specified fast-cgi location: /usr/local checking how to run the C preprocessor... cpp checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for FCGI_Accept in -lfcgi... no checking now FCGI in alternate fastcgi include dir checking for FCGI_Accept in -lfcgi... (cached) no configure: WARNING: \n\nNo FastCGI support. Performances will be strongly reduced !\n configure: creating ./config.status config.status: creating Makefile config.status: creating src/ows_define.h config.status: creating demo/tinyows.xml config.status: creating demo/install.sh config.status: creating test/wfs_100/config_wfs_100.xml config.status: creating test/wfs_110/config_wfs_110.xml config.status: creating test/wfs_100/install_wfs_100.sh config.status: creating test/wfs_110/install_wfs_110.sh ------------------------ NOTA: This TinyOWS version will need at least PostGIS 1.5.x ------------------------ ===> Building for tinyows-1.1.0_1 cc -o tinyows src/fe/fe_comparison_ops.c src/fe/fe_error.c src/fe/fe_filter.c src/fe/fe_filter_capabilities.c src/fe/fe_function.c src/fe/fe_logical_ops.c src/fe/fe_spatial_ops.c src/mapfile/mapfile.c src/ows/ows_bbox.c src/ows/ows.c src/ows/ows_config.c src/ows/ows_error.c src/ows/ows_geobbox.c src/ows/ows_get_capabilities.c src/ows/ows_layer.c src/ows/ows_metadata.c src/ows/ows_psql.c src/ows/ows_request.c src/ows/ows_srs.c src/ows/ows_storage.c src/ows/ows_version.c src/struct/alist.c src/struct/array.c src/struct/buffer.c src/struct/cgi_request.c src/struct/list.c src/struct/mlist.c src/struct/regexp.c src/wfs/wfs_describe.c src/wfs/wfs_error.c src/wfs/wfs_get_capabilities.c src/wfs/wfs_get_feature.c src/wfs/wfs_request.c src/wfs/wfs_transaction.c src/ows/ows_libxml.c -I/usr/local/include/libxml2 -I/usr/include -L/usr/local/lib -lxml2 -lz -L/usr/lib -lm -O2 -pipe -fno-strict-aliasing -std=c99 -pedantic -Wall -I/usr/local/include -L/usr/local/lib -lpq -I/usr/local/include/fastcgi -L/usr/local/lib -lfl ===> Staging for tinyows-1.1.0_1 ===> Generating temporary packing list ----- TinyOWS Schema install dir in /obj/buildshare/ports/355755/graphics/tinyows/work/stage/usr/local/share/tinyows/schema mkdir -p /obj/buildshare/ports/355755/graphics/tinyows/work/stage/usr/local/share/tinyows rm -rf /obj/buildshare/ports/355755/graphics/tinyows/work/stage/usr/local/share/tinyows/schema cp -rf schema /obj/buildshare/ports/355755/graphics/tinyows/work/stage/usr/local/share/tinyows/ ----- Now: 1) copy 'tinyows' binary to cgi-bin directory 2) - put a workable tinyows.xml file in /etc dir - OR launch 'make install-demo' as a superuser /bin/mkdir -p /obj/buildshare/ports/355755/graphics/tinyows/work/stage/usr/local/www/tinyows/cgi-bin/ install -s -o root -g wheel -m 555 /obj/buildshare/ports/355755/graphics/tinyows/work/tinyows-1.1.0/tinyows /obj/buildshare/ports/355755/graphics/tinyows/work/stage/usr/local/www/tinyows/cgi-bin/tinyows ====> Compressing man pages (compress-man) ===> Installing for tinyows-1.1.0_1 ===> Checking if graphics/tinyows already installed ===> Registering installation for tinyows-1.1.0_1 Installing tinyows-1.1.0_1... done Make package ===> Building package for tinyows-1.1.0_1 slot1: removed