pkgsrc-Bugs archive

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

Re: pkg/32273 (pkgsrc/misc/screen SPARC/Solaris 10 Sun Studio 11 Compile Error)



On 12/10/05, rillig%netbsd.org@localhost <rillig%netbsd.org@localhost> wrote:
> Synopsis: pkgsrc/misc/screen SPARC/Solaris 10 Sun Studio 11 Compile Error
>
> What does your config.h show? Please run "grep ENV work*/screen*/config.h"
> after the configure phase and post the results here. My configuration shows
>

/usr/pkgsrc/misc/screen/work/screen-4.0.2# grep ENV config.h
 * If your system has setenv() and unsetenv() define USESETENV
#define USESETENV 1
 * functions, you may bring in our own code by defining NEEDPUTENV.
/* #undef NEEDPUTENV */


> And a ggrep -wr setenv /usr/include showed me that Solaris does not have
> a definition for setenv() anyway.

# /usr/include/stdlib.h

    183 #if defined(__EXTENSIONS__) || \
    184     (!defined(_STRICT_STDC) && !defined(__XOPEN_OR_POSIX)) || \
    185     defined(_XPG6)
    186 extern int posix_openpt(int);
    187 extern int setenv(const char *, const char *, int);
    188 extern int unsetenv(const char *);
    189 #endif



Home | Main Index | Thread Index | Old Index