Thread: Cant compile7.4.3

Cant compile7.4.3

From
"cron"
Date:
hi,mike g, i compiled pg 7.4.3 in MSYS with mingw3.3, and it can't be compiled, it seemed that the Makefile in the dir
of/src/backend is missed some line of codes. the "pg_sema.o" don't have the compile target 
thanks for your help!


make[4]: Entering directory `/home/cron/postgresql-7.4.2/src/backend/optimizer/util'
make[4]: `SUBSYS.o' is up to date.
make[4]: Leaving directory `/home/cron/postgresql-7.4.2/src/backend/optimizer/util'
make[3]: Leaving directory `/home/cron/postgresql-7.4.2/src/backend/optimizer'
make -C port all
make[3]: Entering directory `/home/cron/postgresql-7.4.2/src/backend/port'
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../src/include
-I./src/include/port/win32 "-I../../../src/include/port/win32" -DBUILDING_DLL  -c -o dynloader.o dynloader.c 
make[3]: *** No rule to make target `pg_sema.o', needed by `SUBSYS.o'.  Stop.
make[3]: Leaving directory `/home/cron/postgresql-7.4.2/src/backend/port'
make[2]: *** [port-recursive] Error 2
make[2]: Leaving directory `/home/cron/postgresql-7.4.2/src/backend'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/cron/postgresql-7.4.2/src'
make: *** [all] Error 2


Re: Cant compile7.4.3

From
mike g
Date:
Did you compile using the build.sh script included in the package or
just did a ./configure, make from the bash prompt?
On Thu, 2004-07-08 at 02:21, cron wrote:
> hi,mike g, i compiled pg 7.4.3 in MSYS with mingw3.3, and it can't be compiled, it seemed that the Makefile in the
dirof /src/backend is missed some line of codes. the "pg_sema.o" don't have the compile target 
> thanks for your help!
>
>
> make[4]: Entering directory `/home/cron/postgresql-7.4.2/src/backend/optimizer/util'
> make[4]: `SUBSYS.o' is up to date.
> make[4]: Leaving directory `/home/cron/postgresql-7.4.2/src/backend/optimizer/util'
> make[3]: Leaving directory `/home/cron/postgresql-7.4.2/src/backend/optimizer'
> make -C port all
> make[3]: Entering directory `/home/cron/postgresql-7.4.2/src/backend/port'
> gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../src/include
-I./src/include/port/win32 "-I../../../src/include/port/win32" -DBUILDING_DLL  -c -o dynloader.o dynloader.c 
> make[3]: *** No rule to make target `pg_sema.o', needed by `SUBSYS.o'.  Stop.
> make[3]: Leaving directory `/home/cron/postgresql-7.4.2/src/backend/port'
> make[2]: *** [port-recursive] Error 2
> make[2]: Leaving directory `/home/cron/postgresql-7.4.2/src/backend'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/home/cron/postgresql-7.4.2/src'
> make: *** [all] Error 2
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 7: don't forget to increase your free space map settings

Re: Cant compile7.4.3

From
"cron"
Date:
>Did you compile using the build.sh script included in the package or
>just did a ./configure, make from the bash prompt?
yes, just type
./configure --without-zlib --with-perl --disable-spinlocks
and then make


>On Thu, 2004-07-08 at 02:21, cron wrote:
>> hi,mike g, i compiled pg 7.4.3 in MSYS with mingw3.3, and it can't be compiled, it seemed that the Makefile in the
dirof /src/backend is missed some line of codes. the "pg_sema.o" don't have the compile target 
>> thanks for your help!
>>
>>
>> make[4]: Entering directory `/home/cron/postgresql-7.4.2/src/backend/optimizer/util'
>> make[4]: `SUBSYS.o' is up to date.
>> make[4]: Leaving directory `/home/cron/postgresql-7.4.2/src/backend/optimizer/util'
>> make[3]: Leaving directory `/home/cron/postgresql-7.4.2/src/backend/optimizer'
>> make -C port all
>> make[3]: Entering directory `/home/cron/postgresql-7.4.2/src/backend/port'
>> gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../src/include
-I./src/include/port/win32 "-I../../../src/include/port/win32" -DBUILDING_DLL  -c -o dynloader.o dynloader.c 
>> make[3]: *** No rule to make target `pg_sema.o', needed by `SUBSYS.o'.  Stop.
>> make[3]: Leaving directory `/home/cron/postgresql-7.4.2/src/backend/port'
>> make[2]: *** [port-recursive] Error 2
>> make[2]: Leaving directory `/home/cron/postgresql-7.4.2/src/backend'
>> make[1]: *** [all] Error 2
>> make[1]: Leaving directory `/home/cron/postgresql-7.4.2/src'
>> make: *** [all] Error 2
>>
>>
>> ---------------------------(end of broadcast)---------------------------
>> TIP 7: don't forget to increase your free space map settings
>
>---------------------------(end of broadcast)---------------------------
>TIP 3: if posting/reading through Usenet, please send an appropriate
>      subscribe-nomail command to majordomo@postgresql.org so that your
>      message can get through to the mailing list cleanly
>
>.


Re: Cant compile7.4.3

From
mike g
Date:
I don't believe that will work under cygwin.  In that directory where
you did configure there should be a directory named CYGWIN
something....  cd to that directory.  Use the build.sh script file to
build.  It might require a little hacking though.


On Fri, 2004-07-09 at 03:16, cron wrote:
> >Did you compile using the build.sh script included in the package or
> >just did a ./configure, make from the bash prompt?
> yes, just type
> ./configure --without-zlib --with-perl --disable-spinlocks
> and then make
>
>
> >On Thu, 2004-07-08 at 02:21, cron wrote:
> >> hi,mike g, i compiled pg 7.4.3 in MSYS with mingw3.3, and it can't be compiled, it seemed that the Makefile in the
dirof /src/backend is missed some line of codes. the "pg_sema.o" don't have the compile target 
> >> thanks for your help!
> >>
> >>
> >> make[4]: Entering directory `/home/cron/postgresql-7.4.2/src/backend/optimizer/util'
> >> make[4]: `SUBSYS.o' is up to date.
> >> make[4]: Leaving directory `/home/cron/postgresql-7.4.2/src/backend/optimizer/util'
> >> make[3]: Leaving directory `/home/cron/postgresql-7.4.2/src/backend/optimizer'
> >> make -C port all
> >> make[3]: Entering directory `/home/cron/postgresql-7.4.2/src/backend/port'
> >> gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../src/include
-I./src/include/port/win32 "-I../../../src/include/port/win32" -DBUILDING_DLL  -c -o dynloader.o dynloader.c 
> >> make[3]: *** No rule to make target `pg_sema.o', needed by `SUBSYS.o'.  Stop.
> >> make[3]: Leaving directory `/home/cron/postgresql-7.4.2/src/backend/port'
> >> make[2]: *** [port-recursive] Error 2
> >> make[2]: Leaving directory `/home/cron/postgresql-7.4.2/src/backend'
> >> make[1]: *** [all] Error 2
> >> make[1]: Leaving directory `/home/cron/postgresql-7.4.2/src'
> >> make: *** [all] Error 2
> >>
> >>
> >> ---------------------------(end of broadcast)---------------------------
> >> TIP 7: don't forget to increase your free space map settings
> >
> >---------------------------(end of broadcast)---------------------------
> >TIP 3: if posting/reading through Usenet, please send an appropriate
> >      subscribe-nomail command to majordomo@postgresql.org so that your
> >      message can get through to the mailing list cleanly
> >
> >.
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 8: explain analyze is your friend