Fw: Compiling Win32

Поиск
Список
Период
Сортировка
От Darko Prenosil
Тема Fw: Compiling Win32
Дата
Msg-id 006901c331ff$9db40cb0$1b8abfd5@darko
обсуждение исходный текст
Список pgsql-hackers
----- Original Message -----
From: "Darko Prenosil" <Darko.Prenosil@finteh.hr>
To: <pgsql-hackers@postgresql.org>
Sent: Friday, June 13, 2003 5:43 PM
Subject: Fw: [HACKERS] Compiling Win32


>
> ----- Original Message -----
> From: "Darko Prenosil" <Darko.Prenosil@finteh.hr>
> To: "Bruce Momjian" <pgman@candle.pha.pa.us>; "Paul Ramsey"
> <pramsey@refractions.net>
> Cc: <pgsql-hackers@postgresql.org>
> Sent: Friday, June 13, 2003 5:12 PM
> Subject: Re: [HACKERS] Compiling Win32
>
>
> >
> > ----- Original Message -----
> > From: "Bruce Momjian" <pgman@candle.pha.pa.us>
> > To: "Paul Ramsey" <pramsey@refractions.net>
> > Cc: <pgsql-hackers@postgresql.org>
> > Sent: Saturday, June 14, 2003 1:02 AM
> > Subject: Re: [HACKERS] Compiling Win32
> >
> >
> > >
> > > You should be able to compile, but not link the backend.
> > >
> >
> > But it does not ! At least not with current snapshot.
> >
> > src/Makefile.global:276: src/Makefile.port: No such file or directory
> > make: *** No rule to make target `src/Makefile.port'.  Stop.
> >
> > I can see the line:
> >
> >     config.status: linking ./src/makefiles/Makefile.win32 to
> > src/Makefile.port
> >
> > when running configure, but Makefile.port is not created !
> > I'll try to figure out what hapened (Maybe I am doing something wrong).
> > Also I would like to know does it have any sense to try it to compile it
> > now, or we are waiting some big patch from someone. Maybe I can help in
> some
> > part ? (have Win2000)
> >
> > Regards !
> >
>
> Ok, here is what hapened : I have cygwin in the path !!! In the config log
I
> found whole bunch of links to cygwin including gcc.
> I'll try to remove it and do the whole thing again.
>
> Regards !
>

I removed the cygwin from path, but it does not help !
It looks like "ac_config_links" does not work with win2000 (MinGW-2.0.0.3),
because none of the :   src/backend/port/dynloader.c   src/backend/port/pg_sema.c   src/backend/port/pg_shmem.c
src/include/dynloader.h  src/include/pg_config_os.h   src/Makefile.port
 
are not created(linked)
Acording to autoconf manual ac_config_links:  "Makes a symbolic link if
possible, otherwise a hard link."

After manualy linking files with :   ln src/makefiles/Makefile.win32 src/Makefile.port   ln
src/backend/port/dynloader/win32.csrc/backend/port/dynloader.c   ln src/backend/port/dynloader/win32.h
src/include/dynloader.h  ln src/include/port/win32.h src/include/pg_config_os.h   ln src/backend/port/sysv_sema.c
src/backend/port/pg_sema.c  ln src/backend/port/sysv_shmem.c src/backend/port/pg_shmem.c
 

it compiles !

I asume that this is not error in postgresql makefiles, but some problem
with minGW.
I'll try to figure it out, maybe question to minGW list would help.

Regards !



В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Andrew Dunstan"
Дата:
Сообщение: Re: Pre-allocation of shared memory ...
Следующее
От: Lamar Owen
Дата:
Сообщение: Re: Pre-allocation of shared memory ...