In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
The file needs to be modified to compile through
# cd cmake-2.8.10.2/
# vi Utilities/cmlibarchive/libarchive/archive_write_disk_posix.c
Locate routine set_time_tru64. Change it so that it looks like:
# ifdef F_SETTIMES / * Tru64 * /
Static int
Set_time_tru64 (int fd, int mode, const char * name
Time_t atime, long atime_nsec
Time_t mtime, long mtime_nsec
Time_t ctime, long ctime_nsec)
{
Struct attr_timbuf tstamp
# if defined (_ _ hpux) & & defined (_ _ ia64)
Tstamp.atime.tv_sec = atime
Tstamp.atime.tv_nsec = atime_nsec
Tstamp.mtime.tv_sec = mtime
Tstamp.mtime.tv_nsec = mtime_nsec
Tstamp.ctime.tv_sec = ctime
Tstamp.ctime.tv_nsec = ctime_nsec
# else
Struct timeval times [3]
Times [0] .tv _ sec = atime
Times [0] .tv _ usec = atime_nsec / 1000
Times [1] .TV _ sec = mtime
Times [1] .TV _ usec = mtime_nsec / 1000
Times [2] .TV _ sec = ctime
Times [2] .TV _ usec = ctime_nsec / 1000
Tstamp.atime = times [0]
Tstamp.mtime = times [1]
Tstamp.ctime = times [2]
# endif
Return (fcntl (fd,F_SETTIMES,&tstamp))
}
# endif / * Tru64 * /
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.