]>
Commit | Line | Data |
---|---|---|
3bd189cb JR |
1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> |
2 | <HTML> | |
3 | <HEAD> | |
4 | <TITLE> [IRCServices Coding] Re: EOF in backquote substitution error during | |
5 | ./configure | |
6 | </TITLE> | |
7 | <LINK REL="Index" HREF="index.html" > | |
8 | <LINK REL="made" HREF="mailto:ircservices-coding%40ircservices.za.net?Subject=%5BIRCServices%20Coding%5D%20Re%3A%20EOF%20in%20backquote%20substitution%20error%20during%0A%09./configure&In-Reply-To="> | |
9 | <META NAME="robots" CONTENT="index,nofollow"> | |
10 | <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> | |
11 | <LINK REL="Previous" HREF="002814.html"> | |
12 | <LINK REL="Next" HREF="002810.html"> | |
13 | </HEAD> | |
14 | <BODY BGCOLOR="#ffffff"> | |
15 | <H1>[IRCServices Coding] Re: EOF in backquote substitution error during | |
16 | ./configure</H1> | |
17 | <B>Arathorn</B> | |
18 | <A HREF="mailto:ircservices-coding%40ircservices.za.net?Subject=%5BIRCServices%20Coding%5D%20Re%3A%20EOF%20in%20backquote%20substitution%20error%20during%0A%09./configure&In-Reply-To=" | |
19 | TITLE="[IRCServices Coding] Re: EOF in backquote substitution error during | |
20 | ./configure">arathorn at theonering.net | |
21 | </A><BR> | |
22 | <I>Tue Nov 18 03:54:17 PST 2003</I> | |
23 | <P><UL> | |
24 | <LI>Previous message: <A HREF="002814.html">[IRCServices Coding] EOF in backquote substitution error during | |
25 | ./configure | |
26 | </A></li> | |
27 | <LI>Next message: <A HREF="002810.html">[IRCServices Coding] REHASH functionality question | |
28 | </A></li> | |
29 | <LI> <B>Messages sorted by:</B> | |
30 | <a href="date.html#2809">[ date ]</a> | |
31 | <a href="thread.html#2809">[ thread ]</a> | |
32 | <a href="subject.html#2809">[ subject ]</a> | |
33 | <a href="author.html#2809">[ author ]</a> | |
34 | </LI> | |
35 | </UL> | |
36 | <HR> | |
37 | <!--beginarticle--> | |
38 | <PRE>David, | |
39 | ||
40 | Andrew confirmed that there are some bugs in ./configure which only | |
41 | surface if you're using a deprecated compiler. The IRC Services Coding | |
42 | list seems to have swallowed the remainder of the mails on the subject - | |
43 | i'm forwarding the most relevant one again. 5.0.24 has this problem, no | |
44 | matter how you came to it (either by patching from whatever version or | |
45 | by expanding the neat tarball). | |
46 | ||
47 | The below patch fixes the problem for me, but it's completely unsupported | |
48 | of course - to apply it, copy the text starting at the line that begins | |
49 | 'diff -ur' through to just above my .sig - and paste it into a text file | |
50 | (making sure the lines don't wrap or anything). Save the file as | |
51 | ircservices-5.0.24-gccfix.patch or similar, and then apply to your 5.0.24 | |
52 | source tree with a: | |
53 | ||
54 | cd /usr/local/src/ircservices-5.0.24 (or wherever it lives) | |
55 | patch -p1 < ~/ircservices-5.0.24-gccfix.patch (or wherever the patch is) | |
56 | ||
57 | and then you should be able to configure; make; make install correctly. | |
58 | Or alternatively wait until the official fix in the next version :) | |
59 | ||
60 | A. | |
61 | ||
62 | ________________________________________________________________ | |
63 | Matthew Hodgson <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">arathorn at theonering.net</A> Tel: +44 7968 722968 | |
64 | Arathorn: Co-Sysadmin, TheOneRing.net® | |
65 | ||
66 | ---------- Forwarded message ---------- | |
67 | Date: Sat, 15 Nov 2003 02:05:19 +0000 (GMT) | |
68 | From: Arathorn <<A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">arathorn at theonering.net</A>> | |
69 | To: Andrew Church <<A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">achurch at achurch.org</A>> | |
70 | Cc: <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">arathorn at theonering.net</A>, <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">ircservices-coding at ircservices.za.net</A> | |
71 | Subject: Re: [PATCH] Fix of rogue unescaped backtick in configure in 5.0.24 | |
72 | ||
73 | Hmm, turns out that I was a little premature in sending in that one-line | |
74 | patch - unless I'm completely missing something, the configure script | |
75 | doesn't actually end up setting the CC or DEF_CC_FLAGS variables after | |
76 | warning about deprecation. Not sure whether this is because the | |
77 | deprecation is being enforced more strongly than the warnings suggest, but | |
78 | I expanded the tweak to the following in order to get it to build | |
79 | sensibly. For what it's worth, gcc 2.95.4 has never presented any | |
80 | problems for me with ircservices (since 4.3.3 or so) - so perhaps it might | |
81 | also be considerable as 'officially supported' in addition to 2.95.3 and | |
82 | ><i>3.2? Debian stable has a fairly decent reputation, after all. | |
83 | </I> | |
84 | diff -ur ircservices-5.0.24/configure ircservices-5.0.24-fixed/configure | |
85 | --- ircservices-5.0.24/configure Wed Nov 5 01:46:59 2003 | |
86 | +++ ircservices-5.0.24-fixed/configure Fri Nov 14 21:01:23 2003 | |
87 | @@ -875,7 +875,7 @@ | |
88 | elif test $vmajor -lt 3 -a $version != 2.95.3 || test $vmajor = 3 -a $vminor -lt 2 ; then | |
89 | cat <<EOT | |
90 | ||
91 | -WARNING: Your version of GCC was detected as `$version'. As of Services | |
92 | +WARNING: Your version of GCC was detected as \`$version'. As of Services | |
93 | 5.0.23, versions of GCC earlier than 3.2, other than 2.95.3, | |
94 | have been deprecated. This and future releases of Services 5.0 | |
95 | will still work, though some error messages will lose | |
96 | @@ -885,6 +885,9 @@ | |
97 | EOT | |
98 | echo2 "Press Enter to continue: " | |
99 | read dummy | |
100 | + CC=gcc | |
101 | + DEF_CC_FLAGS=`def_cc_flags $CC` | |
102 | + log using \`gcc\' | |
103 | WARNED_OLD_GCC=1 | |
104 | else # version okay | |
105 | echo "great, found gcc!" | |
106 | ||
107 | ||
108 | ________________________________________________________________ | |
109 | Matthew Hodgson <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">arathorn at theonering.net</A> Tel: +44 7968 722968 | |
110 | Arathorn: Co-Sysadmin, TheOneRing.net® | |
111 | ||
112 | On Sat, 15 Nov 2003, Andrew Church wrote: | |
113 | ||
114 | ><i> Thanks, fixed. Silly little details... | |
115 | </I>><i> | |
116 | </I>><i> (For the record, I use a homebrew mail reader which can't handle | |
117 | </I>><i> attachments. If I do get attachments I can decode them with pine, but I | |
118 | </I>><i> prefer patches inline so I can look at them without having to do so.) | |
119 | </I>><i> | |
120 | </I>><i> --Andrew Church | |
121 | </I>><i> <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">achurch at achurch.org</A> | |
122 | </I>><i> <A HREF="http://achurch.org/">http://achurch.org/</A> | |
123 | </I>><i> | |
124 | </I>><i> >Well, I just had another chance to look more carefully at the configure | |
125 | </I>><i> >script - looks like there's a rogue unescaped backtick in the deprecation | |
126 | </I>><i> >warning text block: | |
127 | </I>><i> > | |
128 | </I>><i> > | |
129 | </I>><i> >diff -ur ircservices-5.0.24-orig/configure ircservices-5.0.24/configure | |
130 | </I>><i> >--- ircservices-5.0.24-orig/configure Wed Nov 5 01:46:59 2003 | |
131 | </I>><i> >+++ ircservices-5.0.24/configure Fri Nov 14 17:04:08 2003 | |
132 | </I>><i> >@@ -875,7 +875,7 @@ | |
133 | </I>><i> > elif test $vmajor -lt 3 -a $version != 2.95.3 || test $vmajor = 3 -a $vminor -lt 2 ; then | |
134 | </I>><i> > cat <<EOT | |
135 | </I>><i> > | |
136 | </I>><i> >-WARNING: Your version of GCC was detected as `$version'. As of Services | |
137 | </I>><i> >+WARNING: Your version of GCC was detected as \`$version'. As of Services | |
138 | </I>><i> > 5.0.23, versions of GCC earlier than 3.2, other than 2.95.3, | |
139 | </I>><i> > have been deprecated. This and future releases of Services 5.0 | |
140 | </I>><i> > will still work, though some error messages will lose | |
141 | </I>><i> > | |
142 | </I>><i> > | |
143 | </I>><i> > | |
144 | </I>><i> >(due to pine insisting on base64'ing mime attachments, i haven't attached | |
145 | </I>><i> >the file as Andrew's mail system doesn't seem to approve of base64. - | |
146 | </I>><i> >apologies if this mail shows up twice for anyone.) | |
147 | </I>><i> > | |
148 | </I>><i> >________________________________________________________________ | |
149 | </I>><i> >Matthew Hodgson <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">arathorn at theonering.net</A> Tel: +44 7968 722968 | |
150 | </I>><i> > Arathorn: Co-Sysadmin, TheOneRing.netŽ® | |
151 | </I>><i> > | |
152 | </I>><i> >On Wed, 12 Nov 2003, Arathorn wrote: | |
153 | </I>><i> > | |
154 | </I>><i> >> Hi Andy, | |
155 | </I>><i> >> | |
156 | </I>><i> >> Just tried to upgrade to 5.0.24 on my Debian Woody production server | |
157 | </I>><i> >> running gcc 2.95.4. I appreciate that this is <3.2 and !=2.95.3, but I | |
158 | </I>><i> >> didn't expect ./configure to completely keel over on me (and hoped to be | |
159 | </I>><i> >> able to use a -force configure option of some kind to get it to compile | |
160 | </I>><i> >> anyway). | |
161 | </I>><i> >> | |
162 | </I>><i> >> Here's the stderr & stdio - the configure.log is attached: | |
163 | </I>><i> >> | |
164 | </I>><i> >> pe1650 18# gcc -v | |
165 | </I>><i> >> Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs | |
166 | </I>><i> >> gcc version 2.95.4 20011002 (Debian prerelease) | |
167 | </I>><i> >> pe1650 19# ./configure -ignore-cache | |
168 | </I>><i> >> | |
169 | </I>><i> >> Beginning IRC Services configuration. | |
170 | </I>><i> >> | |
171 | </I>><i> >> In what directory do you want the binaries to be installed? | |
172 | </I>><i> >> Press Return for the default, or enter a new value. | |
173 | </I>><i> >> [/usr/local/sbin] /usr/local/sbin/ircservices-5.0.24-unr | |
174 | </I>><i> >> | |
175 | </I>><i> >> Where do you want the data files to be installed? | |
176 | </I>><i> >> [/usr/local/sbin/ircservices-5.0.24-unr/lib] /usr/local/lib/ircservices-5.0 | |
177 | </I>><i> >> | |
178 | </I>><i> >> End of interactive configuration. | |
179 | </I>><i> >> | |
180 | </I>><i> >> Checking sanity of /bin/sh... high. | |
181 | </I>><i> >> Searching for a suitable compiler... ./configure: command substitution: | |
182 | </I>><i> >> line 1: unexpected EOF while looking for matching `'' | |
183 | </I>><i> >> ./configure: command substitution: line 8: syntax error: unexpected end of file | |
184 | </I>><i> >> | |
185 | </I>><i> >> WARNING: Your version of GCC was detected as Press Enter to continue: | |
186 | </I>><i> >> | |
187 | </I>><i> >> | |
188 | </I>><i> >> | |
189 | </I>><i> >> Testing default compiler flags ()... no luck! Using no flags. | |
190 | </I>><i> >> If you know what flags you want, use the -cflags option to configure. | |
191 | </I>><i> >> Let's see what libraries we need... | |
192 | </I>><i> >> Checking if we can use dynamic modules... no. | |
193 | </I>><i> >> Checking whether ranlib exists... yes. | |
194 | </I>><i> >> Looking for an 8-bit integer type... | |
195 | </I>><i> >> *** WHOA THERE! *** | |
196 | </I>><i> >> | |
197 | </I>><i> >> We suddenly couldn't compile using the C compiler we already tested! | |
198 | </I>><i> >> The command line we used was: | |
199 | </I>><i> >> conf-tmp/test.c -o conf-tmp/test | |
200 | </I>><i> >> Please try to fix this; if you can't, mail <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">achurch at achurch.org</A> | |
201 | </I>><i> >> with information about your system, the output from this script, | |
202 | </I>><i> >> and the `configure.log' file generated by this script. | |
203 | </I>><i> >> | |
204 | </I>><i> >> ________________________________________________________________ | |
205 | </I>><i> >> Matthew Hodgson <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">arathorn at theonering.net</A> Tel: +44 7968 722968 | |
206 | </I>><i> >> Arathorn: Co-Sysadmin, TheOneRing.netŽ® | |
207 | </I>><i> >> | |
208 | </I>><i> >> On Tue, 11 Nov 2003, Andrew Church wrote: | |
209 | </I>><i> >> | |
210 | </I>><i> >> > Services 5.0.24 has been released, and can be downloaded from: | |
211 | </I>><i> >> > | |
212 | </I>><i> >> > <A HREF="ftp://ftp.esper.net/ircservices/">ftp://ftp.esper.net/ircservices/</A> (USA, California) | |
213 | </I>><i> >> > | |
214 | </I>><i> >> > d8f808b04744e9db365ebb23f7d04078 ircservices-5.0.24.tar.gz | |
215 | </I>><i> >> > e2415db90e2c9f3391268b8d48ef40d1 ircservices-5.0.24.diff.gz | |
216 | </I>><i> >> > 07d0785f095de88f87de8b4d97024558 ircservices-5.0.24-1.i386.rpm | |
217 | </I>><i> >> > 0235352278f534a818699281fcc7ba83 ircservices_5.0.24-1_i386.deb | |
218 | </I>><i> >> > | |
219 | </I>><i> >> > ftp.ircservices.za.net and the other mirrors should have it shortly. | |
220 | </I>><i> >> > | |
221 | </I>><i> >> > This release includes a workaround for those who were unable to | |
222 | </I>><i> >> > compile 5.0.23; however, please note that being unable to compile means | |
223 | </I>><i> >> > that your compiler is outdated, and you should upgrade it (or have the | |
224 | </I>><i> >> > server administrator upgrade it) as soon as possible. Support for such | |
225 | </I>><i> >> > compilers will be removed entirely in a future version. | |
226 | </I>><i> >> > | |
227 | </I>><i> >> > Changes in version 5.0.24 | |
228 | </I>><i> >> > ------------------------- | |
229 | </I>><i> >> > 2003/11/11 Fixed a warning in convert-db compilation. | |
230 | </I>><i> >> > 2003/11/11 Fixed bugs in convert-db causing some nickname and channel | |
231 | </I>><i> >> > settings (timezone, language, channel and memo limits) | |
232 | </I>><i> >> > to not be initialized properly. | |
233 | </I>><i> >> > 2003/11/11 Added -tzfile, -no-timezones, and -reset-memo-limits | |
234 | </I>><i> >> > options to the Cygnus database converter in convert-db. | |
235 | </I>><i> >> > 2003/11/05 Databases can now be exported in XML from the command line | |
236 | </I>><i> >> > (-export option). | |
237 | </I>><i> >> > 2003/11/05 GCC versions earlier than 3.2 (except 2.95.3) are now | |
238 | </I>><i> >> > deprecated. Variadic macros workaround added for | |
239 | </I>><i> >> > problem reported by Ali Sor <<A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">alisor at softhome.net</A>> | |
240 | </I>><i> >> > 2003/11/05 Channel last-used time is now updated properly for the | |
241 | </I>><i> >> > first user to enter the channel if the user has auto-op | |
242 | </I>><i> >> > privileges. Reported by <<A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">saman at alkol.org</A>> | |
243 | </I>><i> >> > | |
244 | </I>><i> >> > --Andrew Church | |
245 | </I>><i> >> > <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">achurch at achurch.org</A> | |
246 | </I>><i> >> > <A HREF="http://achurch.org/">http://achurch.org/</A> | |
247 | </I>><i> >> > ------------------------------------------------------------------ | |
248 | </I>><i> >> > To unsubscribe or change your subscription options, visit: | |
249 | </I>><i> >> > <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">http://www.ircservices.za.net/mailman/listinfo/ircservices</A> | |
250 | </I>><i> >> > | |
251 | </I>><i> >> > | |
252 | </I>><i> | |
253 | </I>><i> | |
254 | </I> | |
255 | </PRE> | |
256 | ||
257 | <!--endarticle--> | |
258 | <HR> | |
259 | <P><UL> | |
260 | <!--threads--> | |
261 | <LI>Previous message: <A HREF="002814.html">[IRCServices Coding] EOF in backquote substitution error during | |
262 | ./configure | |
263 | </A></li> | |
264 | <LI>Next message: <A HREF="002810.html">[IRCServices Coding] REHASH functionality question | |
265 | </A></li> | |
266 | <LI> <B>Messages sorted by:</B> | |
267 | <a href="date.html#2809">[ date ]</a> | |
268 | <a href="thread.html#2809">[ thread ]</a> | |
269 | <a href="subject.html#2809">[ subject ]</a> | |
270 | <a href="author.html#2809">[ author ]</a> | |
271 | </LI> | |
272 | </UL> | |
273 | ||
274 | </body></html> |