I tested a xenofarm export from tonight and it failed with sources.h in Shuffler not being generated. Maybe my mingw make is broken...
/ Martin Nilsson (DivX Networks)
Previous text:
12769793 2005-01-07 12:04 /36 lines/ Brevbäraren Recipients: Pike (-) importmöte för mailinglistan Comment to 12753958 Subject: Re: Compiling only core pike
On Mon, 3 Jan 2005, Ashish Ranjan wrote:
Hi, i am 4 days old newbie to pike.I am in love with its c++ like syntax and clean design. But when i am trying to compile pike on mingw + msys on MS-Windows, i am unable to do so. I tried to compile it using --without-GTK after someone told me about it on irc, but even then it is giving error. Can anybody tell me how to compile CORE PIKE ( i mean to say, pike interpreter and only that portion of pike which is in ANSI C/C++) in mingw+msys.
Pike 7.7 should now compile cleanly under mingw+msys. Previously it got a bit confused since it couldn't determine if it was a POSIX or a win32 system.
If someone has compiled pike using mingw+msys then kindly tell me how to do so. If none has done it , then kindly atleast tell me how to compile pike in a minimal way stripped of almost all th features (may be ANSI C/C++ code only be there) .
To compile just type make at the top directory.
To minimize, use --without-<modulename> to configure (eg via CONFIGUREARGS).
Thanks in advance. bye :-) Ashish Ranjan ashishwave@yahoo.com
-- Henrik Grubbström grubba@roxen.com Roxen Internet Software AB
(12769793) /Brevbäraren/--------------------------------------------
Note that when I said "now", I really ment now, since I checked in a few MinGW-related fixes a few minutes before the message. I haven't checked if all the post modules generate code correctly, since I build from my ordinary sources. I do however know that GL/auto.c is generated correctly now (same "now" as above), and wasn't last night.
Ok, the problem is that the path rewrite when creating master.pike doesn't work for me. I get the "¤lib_prefix¤" (and friends) replaced with "" which causes the master to not load.
What does your posix_to_native.sh contain? What does uname say? mount?
Det ser ut att vara mellanslaget i Program Files som ställer till det.
posix_to_native innehåller
#!/bin/sh # Automatically generated by $Id: configure.in,v 1.871 2005/01/07 10:40:42 grubba Exp $. # MinGW-version. Do NOT edit. posix_name="`cat`" posix_prefix="/" native_prefix="/" case "$posix_name" in /*) ;; *) posix_name="`pwd`/$posix_name" ;; esac case "$posix_name" in /usr/bin C:/Program|/usr/bin C:/Program/*) posix_prefix="/usr/bin C:/Program" native_prefix="Files/MinGW/bin/" ;; /usr C:/Program|/usr C:/Program/*) posix_prefix="/usr C:/Program" native_prefix="Files/MinGW/" ;; /tmp|/tmp/*) posix_prefix="/tmp" native_prefix="C:/DOCUME~1/Nilsson/LOCALS~1/Temp/" ;; /h|/h/*) posix_prefix="/h" native_prefix="h:/" ;; /g|/g/*) posix_prefix="/g" native_prefix="g:/" ;; /f|/f/*) posix_prefix="/f" native_prefix="f:/" ;; /e|/e/*) posix_prefix="/e" native_prefix="e:/" ;; /d|/d/*) posix_prefix="/d" native_prefix="d:/" ;; /c|/c/*) posix_prefix="/c" native_prefix="c:/" ;; /bin C:/Program|/bin C:/Program/*) posix_prefix="/bin C:/Program" native_prefix="Files/MinGW/bin/" ;; /a|/a/*) posix_prefix="/a" native_prefix="a:/" ;; / C:/Program|/ C:/Program/*) posix_prefix="/ C:/Program" native_prefix="Files/MinGW/" ;; esac echo "$posix_name" | \ sed -e "s,^$posix_prefix,$native_prefix," | \ sed -e 's//////g'
uname ger MINGW32_NT-5.1 och mount ger
C:\DOCUME~1\Nilsson\LOCALS~1\Temp on /tmp type user (binmode,noumount) C:\Program Files\MinGW\bin on /usr/bin type user (binmode,cygexec,noumount) C:\Program Files\MinGW\bin on /bin type user (binmode,cygexec,noumount) C:\Program Files\MinGW on / type user (binmode,noumount) C:\Program Files\MinGW on /usr type user (binmode,noumount) a: on /a type user (binmode,noumount) c: on /c type user (binmode,noumount) d: on /d type user (binmode,noumount) e: on /e type user (binmode,noumount) f: on /f type user (binmode,noumount) g: on /g type user (binmode,noumount) h: on /h type user (binmode,noumount)
I now get
#!/bin/sh # Automatically generated by $Id: configure.in,v 1.872 2005/01/10 15:37:36 grubba Exp $. # MinGW-version. Do NOT edit. posix_name="`cat`" posix_prefix="/" native_prefix="/" case "$posix_name" in /*) ;; *) posix_name="`pwd`/$posix_name" ;; esac case "$posix_name" in esac echo "$posix_name" | \ sed -e "s,^$posix_prefix,$native_prefix," | \ sed -e 's//////g'
which of course doesn't work.
Oops, I forgot to m4-quote the brackets in a sed expression.
pike-devel@lists.lysator.liu.se