|
#1
| |||
| |||
| compiling unpv12e source
I picked up a copy of Stevens' "UNIX Network Programming" volume 1. I have downloaded the source code and I am trying to build this on a G4 with Mac OS X (10.1). Does anyone know how to get "configure" to recognize the host type?
|
|
#2
| |||
| |||
|
cp /usr/libexec/config.* . make sure you are in the directory that you untarred so that the config files will be copied to the directory and when you run ./configure then your host type will be seen. Justin |
|
#3
| |||
| |||
|
That did the trick! Regards, Theron |
|
#4
| |||
| |||
| compiling unpv12e source (again)
I just recently bought Steven's "Unix Network Programming" book, and I'm also having trouble getting the supplied source to work. This previous solution given does not work with 10.2.3 because there aren't any config files in /usr/libexec I can get the configure to pass by sending it a --host ppc, but then nothing inside will make. Any ideas?? >cp /usr/libexec/config.* . > > make sure you are in the directory that you >untarred so that the config files will be copied >to the directory and when you run ./configure >then your host type will be seen. |
|
#5
| |||
| |||
| Better late than never
Since this thread shows up at the top of a google search for the obvious thing one might search for trying to build the examples from Stevens, even though the question is almost a decade old here's the new, 10.5 leopard answer: 1. download, ungzip, and untar unpv12e.tar.gz from the net. 2. cd to the unpv12e directory 3. cp /usr/share/automake-1.10/config.* . (note that the automake version may change) 4. ./configure 5. cd lib 6. Edit the file lib/mcast_join.c replacing IPV6_ADD_MEMBERSHIP with IPV6_JOIN_GROUP 7. Edit the file lib/mcast_leave.c replacing IPV6_DROP_MEMBERSHIP with IPV6_LEAVE_GROUP 8. Still in the lib directory: make [and just to help google a little more, these are the instructions howto for building the example programs supplied with Richard Stevens, Unix Network Programming on Apple Macintosh Mac OS X 10.5 leopard tiger panther] |
| The Following User Says Thank You to freereg For This Useful Post: | ||
nixgeek (August 18th, 2008) | ||
|
#6
| ||||
| ||||
|
Ah! Good to know. Thanks for sharing the update, freereg.
__________________ • Apple iMac G5 17" (2 GHz G5) - Mac OS X 10.4.11/Ubuntu 9.10 • Asus Eee PC 901 (1.6 GHz Atom N270) - Ubuntu Netbook Remix 9.04 • Apple Macintosh Quadra 650 (33 MHz MC68040) - Mac OS 8.1 • "JHVH-1" (2 GHz AMD Athlon XP 2400+) - Slackware 13 • "Kidbuntu" (2.8 GHz Celeron D 335) - Ubuntu 9.04 |
![]() |
| Bookmarks |
| Thread Tools | |
|
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Apple Public Source License Now FSF Approved | Easter | Apple News, Rumors & Discussion | 0 | August 10th, 2003 11:35 AM |
| FINK vs. compiling from scratch | ksignorini | Unix & X11 | 4 | July 28th, 2002 12:14 PM |
| Compiling Java Source Code | RockyMorris | Software Programming & Web Scripting | 2 | May 23rd, 2002 02:17 PM |
| Problems compiling PHP | Fahrvergnuugen | Mac OS X System & Mac Software | 1 | December 8th, 2001 10:48 PM |