[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: setenv, unsetenv, SetEnvironmentVariable

From: Pawel Kot
Subject: Re: setenv, unsetenv, SetEnvironmentVariable
Date: Mon, 24 Aug 2009 08:03:22 +0200


On Mon, Aug 24, 2009 at 06:11, Martin
Schumacher<address@hidden> wrote:
> Dear Pawel,

Please answer to the mailing list. There's a bigger chance that
someone there already tried this under Solaris.

> Thanks for getting back to me on this so quickly.
> I am trying to do this on Sun SPARC, Solaris 9, (It is NOT Linux).

I know. You mentioned it in the original posting.

> Attached is the output for the commands :
> ./configure (configure.log)
> and "gmake" (gmake.log).
> (I found some source code for setenv.c, and inserted this into the compat.c 
> file, and inserted this code into the compat.c file, (because the getenv() 
> and setenv() functions would not compile with an undefined call to the 
> "SetEnvironmentVariable"

No wonder. As previously said this is Windows API function. No chance
to have it under Solaris. However I googled the solution. Could you
please also show your generated config.h file?

> This seemed to work, and the gmake command went further but again failed with 
> a getopt_long error, (see the gmake_getopt.log)

This needs more work. Apparently with the last change in build system,
getopt dir was excluded from build. Will look into it later on today.

take care,
Pawel Kot

reply via email to

[Prev in Thread] Current Thread [Next in Thread]