Ticket #16037: whois-4.7.27.txt

File whois-4.7.27.txt, 4.1 KB (added by ryandesign (Ryan Schmidt), 13 years ago)

my conversation with the developer about this issue (quoting removed)

Line 
1From: Ryan Schmidt <ryandesign@macports.org>
2Date: July 18, 2008 20:25:44 CDT
3To: Marco d'Itri <md@linux.it>
4Subject: whois 4.7.27: No rule to make target `install-pos'
5
6Hi Marco. whois 4.7.27 doesn't want to install on Mac OS X 10.5.4 with
7Xcode 3.1:
8
9
10$ port install whois
11--->  Fetching whois
12--->  Verifying checksum(s) for whois
13--->  Extracting whois
14--->  Applying patches to whois
15--->  Configuring whois
16--->  Building whois
17--->  Staging whois into destroot
18Error: Target org.macports.destroot returned: shell command " cd "/mp/var/macports/build/_Users_rschmidt_macports_dports_net_whois/work/whois-4.7.27" && make install prefix=/mp/var/macports/build/_Users_rschmidt_macports_dports_net_whois/work/destroot/mp DESTDIR=/mp/var/macports/build/_Users_rschmidt_macports_dports_net_whois/work/destroot " returned error 2
19Command output: install -d /mp/var/macports/build/_Users_rschmidt_macports_dports_net_whois/work/destroot/mp/bin/
20install -d /mp/var/macports/build/_Users_rschmidt_macports_dports_net_whois/work/destroot/mp/share/man/man1/
21install -m 0755 whois /mp/var/macports/build/_Users_rschmidt_macports_dports_net_whois/work/destroot/mp/bin/
22install -m 0644 whois.1 /mp/var/macports/build/_Users_rschmidt_macports_dports_net_whois/work/destroot/mp/share/man/man1/
23install -d /mp/var/macports/build/_Users_rschmidt_macports_dports_net_whois/work/destroot/mp/bin/
24install -d /mp/var/macports/build/_Users_rschmidt_macports_dports_net_whois/work/destroot/mp/share/man/man1/
25install -m 0755 mkpasswd /mp/var/macports/build/_Users_rschmidt_macports_dports_net_whois/work/destroot/mp/bin/
26install -m 0644 mkpasswd.1 /mp/var/macports/build/_Users_rschmidt_macports_dports_net_whois/work/destroot/mp/share/man/man1/
27cd po && make install-pos
28make[1]: *** No rule to make target `install-pos'.  Stop.
29make: *** [install-pos] Error 2
30
31Error: Status 1 encountered during processing.
32$
33
34
35
36============================================================================
37
38
39
40From: md@Linux.IT (Marco d'Itri)
41Date: July 19, 2008 03:27:51 CDT
42To: Ryan Schmidt <ryandesign@macports.org>
43Subject: Re: whois 4.7.27: No rule to make target `install-pos'
44
45Not my problem. The port needs to be updated.
46
47
48
49============================================================================
50
51
52
53From: Ryan Schmidt <ryandesign@macports.org>
54Date: July 19, 2008 20:15:38 CDT
55To: Marco d'Itri <md@Linux.IT>
56Subject: Re: whois 4.7.27: No rule to make target `install-pos'
57
58Sorry, I wasn't clear. I am the maintainer of the whois port for the
59MacPorts project, and I was attempting to update the port from 4.7.26
60to 4.7.27 but couldn't because of this problem.
61
62The problem also occurs outside of MacPorts. Here's how to reproduce it:
63
64
65$ tar xzf /path/to/whois_4.7.27.tar.gz
66$ cd whois-4.7.27
67$ patch -p0 < /path/to/patch-Makefile.diff
68patching file Makefile
69$ make
70cc   -g -O2 -MM -MG *.c > Makefile.depend
71perl -w make_ip_del.pl < ip_del_list > ip_del.h
72perl -w make_ip6_del.pl < ip6_del_list > ip6_del.h
73perl -w make_as_del.pl < as_del_list > as_del.h
74perl -w make_tld_serv.pl < tld_serv_list > tld_serv.h
75cc   -g -O2 -c whois.c
76cc   -g -O2 -c utils.c
77cc  -o whois whois.o utils.o
78cc   -g -O2 -c mkpasswd.c
79cc  -o mkpasswd mkpasswd.o utils.o
80$ sudo make install
81install -d /usr/local/bin/
82install -d /usr/local/share/man/man1/
83install -m 0755 whois /usr/local/bin/
84install -m 0644 whois.1 /usr/local/share/man/man1/
85install -d /usr/local/bin/
86install -d /usr/local/share/man/man1/
87install -m 0755 mkpasswd /usr/local/bin/
88install -m 0644 mkpasswd.1 /usr/local/share/man/man1/
89cd po && make install-pos
90make[1]: *** No rule to make target `install-pos'.  Stop.
91make: *** [install-pos] Error 2
92$
93
94
95The patch to the Makefile is the one I added here which is necessary to
96compile whois on Mac OS X:
97
98http://trac.macports.org/browser/trunk/dports/net/whois/files/patch-Makefile.diff?rev=35825
99
100
101
102============================================================================
103
104
105
106From: md@Linux.IT (Marco d'Itri)
107Date: July 19, 2008 20:20:27 CDT
108To: Ryan Schmidt <ryandesign@macports.org>
109Subject: Re: whois 4.7.27: No rule to make target `install-pos'
110
111If you cannot read and understand a makefile, you are wasting your and
112my time.