Carlos,
Thanks for the reply. I downloaded just the Streaming Server port from the FreeBSD web site, I haven't upgraded my entire ports tree. But, if I understand this particular problem, the only factors are the actual patch file and the file being patched, so as long as those are in sync, it should work. Is the port posted on the FreeBSD web the latest? The web access to cvs shows the port I am using at revision 1.35. Has something else fundamental changed like make itself or the patch utility since 6.0 was released? As far as why I am still on 6.0, please chalk it up to admin laziness. I know it is time to upgrade, but I usually like to skip a version or two and then do the work of rebuilding my production server from scratch. Just need to find that free weekend to rebuild and install all the apps I depend on. Thanks a lot for the response, if I thought that my outdated version of FreeBSd was causing this problem, I would not have bugged you about this. I am only hoping that once this compiles it will work for me, as the older version of DSS that I have installed at the moment has pretty much stopped working.

Jason

Carlos A. M. dos Santos wrote:
On Mon, Oct 13, 2008 at 12:35 AM, Jason <[EMAIL PROTECTED]> wrote:
nork,
  I am trying to install this port on FreeBSD 6.0. I am getting this error
when I run "make all". Any ideas? I tried to execute the rest of the patch
by hand, but don't really know enough to do that ;-)
  The reject file is pasted below the actual error from the make file.

Jason

# Error on make all

===>  Applying distribution patches for DarwinStreamingServer-6.0.3
===>  Applying FreeBSD patches for DarwinStreamingServer-6.0.3
1 out of 3 hunks failed--saving rejects to
CommonUtilitiesLib/OSHeaders.h.rej
=> Patch patch-CommonUtilitiesLib::OSHeaders.h failed to apply cleanly.
=> Patch(es) patch-Buildit applied cleanly.
*** Error code 1

Stop in /usr/ports/net/DarwinStreamingServer.


# CommonUtilitiesLib/OSHeaders.h.rej

***************
*** 27,37 ****
 #define OSHeaders_H
 #include <limits.h>

 #define kSInt16_Max USHRT_MAX
 #define kUInt16_Max USHRT_MAX

 #define kSInt32_Max LONG_MAX
 #define kUInt32_Max ULONG_MAX

 #define kSInt64_Max LONG_LONG_MAX
 #define kUInt64_Max ULONG_LONG_MAX
--- 27,46 ----
 #define OSHeaders_H
 #include <limits.h>

+ #ifdef __amd64__
+ #define CPU_64BIT
+ #endif
+
 #define kSInt16_Max USHRT_MAX
 #define kUInt16_Max USHRT_MAX

+ #ifdef CPU_64BIT
+ #define kSInt32_Max INT_MAX
+ #define kUInt32_Max UINT_MAX
+ #else
 #define kSInt32_Max LONG_MAX
 #define kUInt32_Max ULONG_MAX
+ #endif

 #define kSInt64_Max LONG_LONG_MAX
 #define kUInt64_Max ULONG_LONG_MAX

I could not reproduce it here (FreeBSD 8.0-CURRENT + ports tree
updated yesterday):

# cd /usr/ports/net/DarwinStreamingServer/
# make patch
===>  Vulnerability check disabled, database not found
=> DarwinStreamingSrvr6.0.3-Source.tar doesn't seem to exist in
/local/FreeBSD/ports-distfiles/.
=> Attempting to fetch from http://dss.macosforge.org/downloads/.
fetch: http://dss.macosforge.org/downloads/DarwinStreamingSrvr6.0.3-Source.tar:
Moved Temporarily
=> Attempting to fetch from
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/nork/.
DarwinStreamingSrvr6.0.3-Source.tar           100% of   31 MB   98 kBps 00m00s
=> dss-6.0.3.patch doesn't seem to exist in /local/FreeBSD/ports-distfiles/.
=> Attempting to fetch from http://www.abrahamsson.com/.
dss-6.0.3.patch                               100% of   14 kB   17 kBps
===>  Extracting for DarwinStreamingServer-6.0.3
=> MD5 Checksum OK for DarwinStreamingSrvr6.0.3-Source.tar.
=> SHA256 Checksum OK for DarwinStreamingSrvr6.0.3-Source.tar.
=> MD5 Checksum OK for dss-6.0.3.patch.
=> SHA256 Checksum OK for dss-6.0.3.patch.
===>   DarwinStreamingServer-6.0.3 depends on file:
/usr/local/bin/perl5.8.8 - found
===>  Patching for DarwinStreamingServer-6.0.3
===>   DarwinStreamingServer-6.0.3 depends on file:
/usr/local/bin/perl5.8.8 - found
===>  Applying distribution patches for DarwinStreamingServer-6.0.3
===>  Applying FreeBSD patches for DarwinStreamingServer-6.0.3
#

Are you sure that your ports tree is up-to-date?

BTW, FreeBSD 6.0 was declared "end of life" a long time ago. Do you
have any particular reason to keep using it?


_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to