Solaris 2.6 patch or /usr/include/time.h?

Solaris 2.6 patch or /usr/include/time.h?

Post by Trang Ng » Fri, 28 Aug 1998 04:00:00



I am using Solaris 2.6 release 0.  I don't have any patch install into my
server.

I try to install Tcl8.0 in my server.  However, I got error messages.  I
think because
configure is  looking for tm.tm_tzadj, tm._tm_gmtoff.  tm is define as
struc in /usr/include/time.h, but there is no field as tm_tgmtoff,
tm_tzadj.  Therefore, I dont know
which patch is needed.
Thanks
Trang Ngo

 
 
 

Solaris 2.6 patch or /usr/include/time.h?

Post by Casper H.S. Dik - Network Security Engine » Sat, 29 Aug 1998 04:00:00


[[ PLEASE DON'T SEND ME EMAIL COPIES OF POSTINGS ]]


>I am using Solaris 2.6 release 0.  I don't have any patch install into my
>server.
>I try to install Tcl8.0 in my server.  However, I got error messages.  I
>think because
>configure is  looking for tm.tm_tzadj, tm._tm_gmtoff.  tm is define as
>struc in /usr/include/time.h, but there is no field as tm_tgmtoff,
>tm_tzadj.  Therefore, I dont know

How are you configuring it?

You shouldn't need a patch and if it doesnt' find those fields, it
should just continue to work and not complain.

Casper
--
Expressed in this posting are my opinions.  They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.

 
 
 

1. One more time: /usr/include/linux, /usr/include/asm

I just built a new glibc.  (Yes, I do that.)  Recalling that the
above-mentioned paths are (according to Linus and many others) not
supposed to be links to /usr/src/linux or any other kernel-kit-du-jour, I
resolved to be a good boy and get rid of those links.  For some reason I
expected that 'make install' for glibc would create directories there and
put into them whatever it wanted.  I recall that that was discussed....

No dice.  glibc 2.3.1 still installs headers into /usr/include/{VARIOUS}
which refer to /usr/include/linux and /usr/include/asm but does not supply
that to which they refer.  *sigh*  After rummaging through several long
threads in the archives, I still don't have an answer to the following:

1. What is supposed to be in /usr/include/linux and /usr/include/asm?
2. Where does the information come from?
3. Who is responsible for putting it there?

(Just to get my system back to a state in which I can compile userspace
stuff, I made the following assumptions:

1. Everything from linux/include/linux resp. linux/include/asm-$ARCH .
2. The kernel kit which supplied the headers used to build glibc.
3. The person building glibc.

IOW I just copied wholesale those two directories from the kernel kit
which I had nominated with configure --with-headers, to /usr/include.)

I note that the glibc 2.3.1 instructions *still* instruct the reader to
symlink these paths into "the 2.2 kernel sources".  (See "Specific advice
for GNU/Linux systems" in INSTALL.)  I'll happily submit a glibc bug
report, or documentation patches, or some such, just so long as someone
can give me answers which work both for the kernel and for the library.

--

MS Windows *is* user-friendly, but only for certain values of "user".

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. Looking for references

3. 2.6 FCS -> 2.6 5/98 upgrade fails because /usr moved to /usr:2.6

4. Masm+linux

5. Can't find usr/include using cc on Solaris 2.6

6. TCP or UDP?

7. gettimeofday prototype in /usr/include/sys/time.h on Solaris 2.4

8. Weird modem problem

9. Help - clashes between /usr/include and /usr/include/linux

10. /usr/include/string.h and /usr/include/strings.h

11. 2.6 Install: /usr/include/machine?

12. /usr/include vs /usr/include/sys

13. Help - clashes between /usr/include and /usr/include/linux