|
From: Angel P. <ang...@ya...> - 2011-07-12 06:43:20
|
Hi,
Succeed to track the problem to sys::program-name
in current lisp (sys::program-name) returns "lisp.exe", but not full path.
Succeed to go further with this change -
diff -r 1f2d73266dc5 src/execname.c
--- a/src/execname.c Fri Jul 08 12:00:45 2011 -0400
+++ b/src/execname.c Tue Jul 12 09:30:26 2011 +0300
@@ -133,7 +133,7 @@
# endif
executable_name = (char*) malloc(MAXPATHLEN);
if (executable_name == NULL) { errno = ENOMEM; goto notfound; }
- if (realpath(program_name,executable_name) == NULL) {
+ if (realpath(program_name,executable_name) == NULL && errno!=ENOTDIR ) {
free(executable_name); goto notfound;
}
#if defined(UNIX_CYGWIN32)
but nowmake fails on
make[1]: Entering directory `/cygdrive/c/packages/clisp/build/syscalls'
gcc -I/cygdrive/c/packages/clisp/build/gllib -I/cygdrive/c/packages/clisp/build -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations
-Wno-sign-compare -Wno-format-nonliteral -O2 -fexpensive-optimizations -falign-functions=4 -DENABLE_UNICODE -DDYNAMIC_FFI -DDYNAMIC_MODULES -I. -DDLL_EXPORT -DPIC -I/cygd
rive/c/packages/clisp/build/linkkit \
-c calls.m.c -o calls.o
/cygdrive/c/packages/clisp/modules/syscalls/calls.c:74: warning: `FMTID_SummaryInformation' initialized and declared `extern'
/cygdrive/c/packages/clisp/modules/syscalls/calls.c:76: warning: `FMTID_UserDefinedProperties' initialized and declared `extern'
/cygdrive/c/packages/clisp/modules/syscalls/calls.c: In function `C_subr_posix_system_info':
/cygdrive/c/packages/clisp/modules/syscalls/calls.c:3616: error: called object is not a function
make[1]: *** [calls.o] Error 1
make[1]: Leaving directory `/cygdrive/c/packages/clisp/build/syscalls'
make: *** [syscalls] Error 2
Regards, AngelP
________________________________
From: Sam Steingold <sd...@gn...>
To: cli...@li...; Angel Popov <ang...@ya...>
Sent: Friday, July 8, 2011 7:10 PM
Subject: Re: Build on cygwin/windows has failed
> * Angel Popov <nat...@ln...> [2011-07-08 08:11:17 -0700]:
>
> Sorry, the last configure was executed in wrong directory,
>
> the real output is
>
> config.status: creating config.h
> configure: ** I18N (Done)
looks like success to me.
problem solved?
--
Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031
http://mideasttruth.com http://openvotingconsortium.org http://truepeace.org
http://honestreporting.com http://thereligionofpeace.com
usually: can't pay ==> don't buy. software: can't buy ==> don't pay |