[Gambas-user] Posgresql 10 on Mint 19

Pino Zollo pinozollo at gmail.com
Thu Jul 26 23:33:40 CEST 2018



Il 26/07/2018 17:15, PICCORO McKAY Lenz ha scritto:
> please, don waste time, you can do that :
>
> cd to the gb.db.postgresql
>
> ./reconf-all

There is no reconf-all into gb.db.postgresql
>
> ./configure -C

Done: here is the output:
---------------------------------------------------------------------
configure: loading cache config.cache
checking for a BSD-compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) gawk
checking whether make sets $(MAKE)... (cached) yes
checking whether make supports nested variables... (cached) yes
checking build system type... (cached) x86_64-pc-linux-gnu
checking host system type... (cached) x86_64-pc-linux-gnu
checking for style of include used by make... GNU
checking for gcc... (cached) gcc
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... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... (cached) gcc -E
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... (cached) /bin/grep -E
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 whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports nested variables... (cached) yes
checking whether ln -s works... yes
checking target system... LINUX
checking target architecture... X86_64
checking for unistd.h... (cached) yes
checking how to run the C preprocessor... gcc -E
checking for g++... (cached) g++
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking whether make sets $(MAKE)... (cached) yes
checking for setenv... (cached) yes
checking for unsetenv... (cached) yes
checking for getdomainname... (cached) yes
checking for getpt... (cached) yes
checking for cfmakeraw... (cached) yes
checking for fstatat... (cached) yes
checking for C library... -lc
checking for main in -lgcc_s... (cached) yes
checking for main in -lstdc++... (cached) yes
checking which extension is used for shared libraries... .so
checking for threading compiler options... -D_REENTRANT
checking for threading linker options... -lpthread
checking for mathematic libraries... -lm
checking for external gettext library...
checking for monotonic clock... (cached) yes
checking for library containing clock_gettime... (cached) none required
checking for ccache... no
checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden
checking CFLAGS for gcc -flto... (cached) -flto
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /bin/sed
checking for fgrep... (cached) /bin/grep -F
checking for ld used by gcc... (cached) /usr/bin/x86_64-linux-gnu-ld
checking if the linker (/usr/bin/x86_64-linux-gnu-ld) is GNU ld... 
(cached) yes
checking for BSD- or MS-compatible name lister (nm)... (cached) 
/usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm
checking the maximum length of command line arguments... (cached) 1572864
checking how to convert x86_64-pc-linux-gnu file names to 
x86_64-pc-linux-gnu format... (cached) func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain 
format... (cached) func_convert_file_noop
checking for /usr/bin/x86_64-linux-gnu-ld option to reload object 
files... (cached) -r
checking for objdump... (cached) objdump
checking how to recognize dependent libraries... (cached) pass_all
checking for dlltool... (cached) dlltool
checking how to associate runtime and link libraries... (cached) printf %s\n
checking for ar... (cached) ar
checking for archiver @FILE support... (cached) @
checking for strip... (cached) strip
checking for ranlib... (cached) ranlib
checking command to parse /usr/bin/nm -B output from gcc object... 
(cached) ok
checking for sysroot... no
checking for a working dd... (cached) /bin/dd
checking how to truncate binary pipes... (cached) /bin/dd bs=4096 count=1
checking for mt... (cached) mt
checking if mt is a manifest tool... (cached) no
checking for dlfcn.h... (cached) yes
checking for objdir... (cached) .libs
checking if gcc supports -fno-rtti -fno-exceptions... (cached) no
checking for gcc option to produce PIC... (cached) -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... (cached) yes
checking if gcc static flag -static works... (cached) yes
checking if gcc supports -c -o file.o... (cached) yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/x86_64-linux-gnu-ld -m 
elf_configure: loading cache config.cache
checking for a BSD-compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) gawk
checking whether make sets $(MAKE)... (cached) yes
checking whether make supports nested variables... (cached) yes
checking build system type... (cached) x86_64-pc-linux-gnu
checking host system type... (cached) x86_64-pc-linux-gnu
checking for style of include used by make... GNU
checking for gcc... (cached) gcc
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... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... (cached) gcc -E
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... (cached) /bin/grep -E
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 whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports nested variables... (cached) yes
checking whether ln -s works... yes
checking target system... LINUX
checking target architecture... X86_64
checking for unistd.h... (cached) yes
checking how to run the C preprocessor... gcc -E
checking for g++... (cached) g++
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking whether make sets $(MAKE)... (cached) yes
checking for setenv... (cached) yes
checking for unsetenv... (cached) yes
checking for getdomainname... (cached) yes
checking for getpt... (cached) yes
checking for cfmakeraw... (cached) yes
checking for fstatat... (cached) yes
checking for C library... -lc
checking for main in -lgcc_s... (cached) yes
checking for main in -lstdc++... (cached) yes
checking which extension is used for shared libraries... .so
checking for threading compiler options... -D_REENTRANT
checking for threading linker options... -lpthread
checking for mathematic libraries... -lm
checking for external gettext library...
checking for monotonic clock... (cached) yes
checking for library containing clock_gettime... (cached) none required
checking for ccache... no
checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden
checking CFLAGS for gcc -flto... (cached) -flto
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /bin/sed
checking for fgrep... (cached) /bin/grep -F
checking for ld used by gcc... (cached) /usr/bin/x86_64-linux-gnu-ld
checking if the linker (/usr/bin/x86_64-linux-gnu-ld) is GNU ld... 
(cached) yes
checking for BSD- or MS-compatible name lister (nm)... (cached) 
/usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm
checking the maximum length of command line arguments... (cached) 1572864
checking how to convert x86_64-pc-linux-gnu file names to 
x86_64-pc-linux-gnu format... (cached) func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain 
format... (cached) func_convert_file_noop
checking for /usr/bin/x86_64-linux-gnu-ld option to reload object 
files... (cached) -r
checking for objdump... (cached) objdump
checking how to recognize dependent libraries... (cached) pass_all
checking for dlltool... (cached) dlltool
checking how to associate runtime and link libraries... (cached) printf %s\n
checking for ar... (cached) ar
checking for archiver @FILE support... (cached) @
checking for strip... (cached) strip
checking for ranlib... (cached) ranlib
checking command to parse /usr/bin/nm -B output from gcc object... 
(cached) ok
checking for sysroot... no
checking for a working dd... (cached) /bin/dd
checking how to truncate binary pipes... (cached) /bin/dd bs=4096 count=1
checking for mt... (cached) mt
checking if mt is a manifest tool... (cached) no
checking for dlfcn.h... (cached) yes
checking for objdir... (cached) .libs
checking if gcc supports -fno-rtti -fno-exceptions... (cached) no
checking for gcc option to produce PIC... (cached) -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... (cached) yes
checking if gcc static flag -static works... (cached) yes
checking if gcc supports -c -o file.o... (cached) yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/x86_64-linux-gnu-ld -m 
elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... (cached) no
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dlopen... (cached) no
checking for dlopen in -ldl... (cached) yes
checking whether a program can dlopen itself... (cached) yes
checking whether a statically linked program can dlopen itself... 
(cached) no
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes./reconf-all
checking whether to build static libraries... no
checking how to run the C++ preprocessor... (cached) g++ -E
checking for ld used by g++... (cached) /usr/bin/x86_64-linux-gnu-ld -m 
elf_x86_64
checking if the linker (/usr/bin/x86_64-linux-gnu-ld -m elf_x86_64) is 
GNU ld... (cached) yes
checking whether the g++ linker (/usr/bin/x86_64-linux-gnu-ld -m 
elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... (cached) -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... (cached) yes
checking if g++ static flag -static works... (cached) yes
checking if g++ supports -c -o file.o... (cached) yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/x86_64-linux-gnu-ld -m 
elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for gb.db.postgresql headers... (cached) 
/usr/include/postgresql/ /usr/include/postgresql/10/server/ 
/usr/include/postgresql/10/server/catalog/
checking for gb.db.postgresql libraries... (cached) 
/usr/lib/x86_64-linux-gnu/
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 config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commandsx86_64) supports shared 
libraries... yes
checking whether -lc should be explicitly linked in... (cached) no
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dlopen... (cached) no
checking for dlopen in -ldl... (cached) yes
checking whether a program can dlopen itself... (cached) yes
checking whether a statically linked program can dlopen itself... 
(cached) no
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes./reconf-all
checking whether to build static libraries... no
checking how to run the C++ preprocessor... (cached) g++ -E
checking for ld used by g++... (cached) /usr/bin/x86_64-linux-gnu-ld -m 
elf_x86_64
checking if the linker (/usr/bin/x86_64-linux-gnu-ld -m elf_x86_64) is 
GNU ld... (cached) yes
checking whether the g++ linker (/usr/bin/x86_64-linux-gnu-ld -m 
elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... (cached) -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... (cached) yes
checking if g++ static flag -static works... (cached) yes
checking if g++ supports -c -o file.o... (cached) yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/x86_64-linux-gnu-ld -m 
elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for gb.db.postgresql headers... (cached) 
/usr/include/postgresql/ /usr/include/postgresql/10/server/ 
/usr/include/postgresql/10/server/catalog/
checking for gb.db.postgresql libraries... (cached) 
/usr/lib/x86_64-linux-gnu/
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 config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
-------------------------------------------------------------------------------------------

there are not errors, I  guess...

>
> this will only generate log and output for the posrtgtres only 
> related, and can analize by you the error
> do this (that generates less output that can analize and paste here)
>
> i think the problem its the relation between any other existing 
> "postgresql-server-dev" pacakge,
> or independent files that search.. or maybe the win-mint based distro
>
>
> Lenz McKAY Gerardo (PICCORO)
> http://qgqlochekone.blogspot.com
>
> 2018-07-26 16:33 GMT-04:00 Yahoo via User <user at lists.gambas-basic.org 
> <mailto:user at lists.gambas-basic.org>>:
>
>     The procedure to compile Gambas from Sources is like that:
>
>     ./reconf-all
>
>     ./configure -C
>
>     make
>
>     sudo make install
>
>
>     Didi you do all these steps, overall the first one ?
>
>
>     Olivier Cruilles
>
>     Le July 26, 2018 à 16:19:24, Pino Zollo (pinozollo at gmail.com
>     <mailto:pinozollo at gmail.com>) a écrit:
>
>>     Olivier,
>>
>>     libpq-dev and libpq5 were already installed...
>>
>>     I did not compile yet... I just do ./configure -C which returns
>>     with WARNING: gb.db.postgresql is disabled ....
>>
>>     I just need postgresql for my projects :-(
>>
>>     salud
>>     Pino
>>     El 26/07/18 a las 16:08, Yahoo escribió:
>>>     As I can see on Gambas Web Site, the module gb.db.postgresql
>>>     need libpq.so library to be compiled:
>>>
>>>     http://gambaswiki.org/wiki/install
>>>     <http://gambaswiki.org/wiki/install>
>>>
>>>
>>>     On Linux Mint 19:
>>>
>>>     libpq-dev/bionic-updates,now 10.4-0ubuntu0.18.04 i386  [installé]
>>>       header files for libpq5 (PostgreSQL library)
>>>
>>>
>>>     Try: apt install libpq-dev
>>>
>>>     After that, try to recompile Gambas sources.
>>>
>>>     Olivier Cruilles
>>>
>>>     Le July 26, 2018 à 15:36:32, Pino Zollo (pinozollo at gmail.com
>>>     <mailto:pinozollo at gmail.com>) a écrit:
>>>
>>>>     pino at Mint19:~/src/gambas-3.11.3$
>>>>     <mailto:pino at Mint19:%7E/src/gambas-3.11.3$> ./configure -C |
>>>>     grep postgresql*
>>>>     configure: WARNING: This library may be located inside the
>>>>     system C library
>>>>     configure: WARNING: This library may be located inside the
>>>>     system C library
>>>>     === configuring in gb.db.postgresql
>>>>     (/home/pino/src/gambas-3.11.3/gb.db.postgresql)
>>>>     checking for gb.db.postgresql headers... (cached) no
>>>>     checking for gb.db.postgresql libraries... (cached)
>>>>     /usr/lib/x86_64-linux-gnu/
>>>>     configure: WARNING: gb.db.postgresql is disabled
>>>>     || gb.db.postgresql is disabled
>>>>
>>>>
>>>>     The installed postgresql packages are:
>>>>
>>>>     postgresql-10:amd64
>>>>     postgresql-10-debversion:amd64
>>>>     postgresql:all
>>>>     postgresql-all:all
>>>>     postgresql-client-10:amd64
>>>>     postgresql-client:all
>>>>     postgresql-client-common:all
>>>>     postgresql-common:all
>>>>     postgresql-plperl-10:amd64
>>>>     postgresql-plpython-10:amd64
>>>>     postgresql-plpython3-10:amd64
>>>>     postgresql-pltcl-10:amd64
>>>>     postgresql-server-dev-10:amd64
>>>>     postgresql-server-dev-all:all
>>>>
>>>>
>>>>     El 26/07/18 a las 11:46, Yahoo escribió:
>>>>>     Hello,
>>>>>
>>>>>     Could you provide us the log file of your compilation and your
>>>>>     system informations to be able to help you please ?
>>>>>
>>>>>
>>>>>     Olivier Cruilles
>>>>>
>>>>>     Le July 26, 2018 à 10:23:05, Pino Zollo (pinozollo at gmail.com
>>>>>     <mailto:pinozollo at gmail.com>) a écrit:
>>>>>
>>>>>>     I have installed all dev packages of posgresql 10 on my new
>>>>>>     Mint 19 but
>>>>>>
>>>>>>     way to get it from ./configure -C .
>>>>>>
>>>>>>     What do I miss ?
>>>>>>
>>>>>>     Help please !
>>>>>>
>>>>>>     Pino
>>>>>>
>>>>>>
>>>>>>     ----[ Gambas mailing-list is hosted by
>>>>>>     https://www.hostsharing.net ]----
>>>>
>>
>
>
>     ----[ Gambas mailing-list is hosted by https://www.hostsharing.net
>     ]----
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20180726/d17ccb15/attachment-0001.html>


More information about the User mailing list