root@osrm:[/opt/fias/pgdbf/pgdbf-master]: ./configure && make && make install
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for int8_t... yes
checking for size_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint8_t... yes
checking whether byte ordering is bigendian... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for munmap... yes
checking for strchr... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for iconv... yes
checking for working iconv... yes
checking for iconv declaration...
extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
make all-recursive
make[1]: Entering directory `/opt/fias/pgdbf/pgdbf-master'
Making all in doc
make[2]: Entering directory `/opt/fias/pgdbf/pgdbf-master/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/opt/fias/pgdbf/pgdbf-master/doc'
Making all in src
make[2]: Entering directory `/opt/fias/pgdbf/pgdbf-master/src'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/opt/fias/pgdbf/pgdbf-master/src'
make[2]: Entering directory `/opt/fias/pgdbf/pgdbf-master'
make[2]: Leaving directory `/opt/fias/pgdbf/pgdbf-master'
make[1]: Leaving directory `/opt/fias/pgdbf/pgdbf-master'
Making install in doc
make[1]: Entering directory `/opt/fias/pgdbf/pgdbf-master/doc'
make[2]: Entering directory `/opt/fias/pgdbf/pgdbf-master/doc'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/share/man/man1" || /bin/mkdir -p "/usr/local/share/man/man1"
/usr/bin/install -c -m 644 'pgdbf.man' '/usr/local/share/man/man1/pgdbf.1'
make[2]: Leaving directory `/opt/fias/pgdbf/pgdbf-master/doc'
make[1]: Leaving directory `/opt/fias/pgdbf/pgdbf-master/doc'
Making install in src
make[1]: Entering directory `/opt/fias/pgdbf/pgdbf-master/src'
make[2]: Entering directory `/opt/fias/pgdbf/pgdbf-master/src'
test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
/usr/bin/install -c pgdbf '/usr/local/bin'
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/opt/fias/pgdbf/pgdbf-master/src'
make[1]: Leaving directory `/opt/fias/pgdbf/pgdbf-master/src'
make[1]: Entering directory `/opt/fias/pgdbf/pgdbf-master'
make[2]: Entering directory `/opt/fias/pgdbf/pgdbf-master'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/share/doc/pgdbf" || /bin/mkdir -p "/usr/local/share/doc/pgdbf"
/usr/bin/install -c -m 644 README.mdown '/usr/local/share/doc/pgdbf'
make[2]: Leaving directory `/opt/fias/pgdbf/pgdbf-master'
make[1]: Leaving directory `/opt/fias/pgdbf/pgdbf-master'
root@osrm:[/opt/fias/pgdbf/pgdbf-master]: /usr/local/bin/pgdbf
Usage: pgdbf [-cCdDeEhtTuU] [-s encoding] [-m memofilename] filename [indexcolumn ...]
Convert the named XBase file into PostgreSQL format
-c issue a 'CREATE TABLE' command to create the table (default)
-C do not issue a 'CREATE TABLE' command
-d issue a 'DROP TABLE' command before creating the table (default)
-D do not issue a 'DROP TABLE' command
-e use 'IF EXISTS' when dropping tables (PostgreSQL 8.2+) (default)
-E do not use 'IF EXISTS' when dropping tables (PostgreSQL 8.1 and older)
-h print this message and exit
-m the name of the associated memo file (if necessary)
-n use type 'NUMERIC' for NUMERIC fields (default)
-N use type 'TEXT' for NUMERIC fields
-p show a progress bar during processing
-P do not show a progress bar
-q enclose the table name in quotation marks whenever used in statements
-Q do not enclose the table name in quotation marks (default)
-s the encoding used in the file, to be converted to UTF-8
-t wrap a transaction around the entire series of statements (default)
-T do not use an enclosing transaction
-u issue a 'TRUNCATE' command before inserting data
-U do not issue a 'TRUNCATE' command before inserting data (default)
If you don't specify an encoding via '-s', the data will be printed as is.
Using '-u' implies '-C -D'. Using '-c' or '-d' implies '-U'.
PgDBF 0.6.2 is copyright 2008-2012 kirk@strauser.com.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Report bugs to <kirk@strauser.com>