Thread: building 7.4.1 (on linux) with --disable-shared

building 7.4.1 (on linux) with --disable-shared

From
David Garamond
Date:
Does it currently work? src/backend/utils/mb/conversion_procs/*/ is not
building anything, and 'make install' fails because it tries to copy
*.so files.

--
dave


Re: building 7.4.1 (on linux) with --disable-shared

From
Tom Lane
Date:
David Garamond <lists@zara.6.isreserved.com> writes:
> Does it currently work? src/backend/utils/mb/conversion_procs/*/ is not
> building anything, and 'make install' fails because it tries to copy
> *.so files.

For sufficiently small values of "current", it builds.  You do realize
you won't have any PL languages or conversions, I trust.

2004-01-21 14:25  tgl

    * src/: backend/utils/mb/conversion_procs/Makefile,
    backend/utils/mb/conversion_procs/proc.mk, pl/plperl/GNUmakefile,
    pl/plpython/Makefile, pl/tcl/Makefile (REL7_4_STABLE): Back-patch
    repairs for --disable-shared support.

2004-01-21 14:22  tgl

    * src/backend/utils/mb/conversion_procs/Makefile: If we don't have
    shared libraries, we don't have conversions.  Make
    conversion_create.sql be empty (except for a helpful comment) in
    this case.  Allows initdb to succeed with --disable-shared.

2004-01-21 14:04  tgl

    * src/: backend/utils/mb/conversion_procs/proc.mk,
    pl/plperl/GNUmakefile, pl/plpython/Makefile, pl/tcl/Makefile: Fix
    bit-rot in support for building with --disable-shared.    This patch
    gets us past 'make install', but initdb still fails for lack of
    conversion libraries ...

            regards, tom lane

Re: building 7.4.1 (on linux) with --disable-shared

From
David Garamond
Date:
Tom Lane wrote:
> David Garamond <lists@zara.6.isreserved.com> writes:
>
>>Does it currently work? src/backend/utils/mb/conversion_procs/*/ is not
>>building anything, and 'make install' fails because it tries to copy
>>*.so files.
>
> For sufficiently small values of "current", it builds.  You do realize
> you won't have any PL languages or conversions, I trust.
>
> 2004-01-21 14:25  tgl
>
>     * src/: backend/utils/mb/conversion_procs/Makefile,
>     backend/utils/mb/conversion_procs/proc.mk, pl/plperl/GNUmakefile,
>     pl/plpython/Makefile, pl/tcl/Makefile (REL7_4_STABLE): Back-patch
>     repairs for --disable-shared support.
...
[snip]

Thanks, maybe I'll try this on 7.4.2. Yes, I was just trying out
different configure options. I notice that --disable-shared means
differently than in, one example, Ruby. In Ruby, --disable-shared means
the binaries (i.e. /usr/bin/ruby) are linked statically with the runtime
(libruby.so), but all *.so files are still produced.

--
dave