]> jfr.im git - irc.git/blame - software/!RELEASES/ircservices/achurch.org/services/lists/ircservices-coding/2003/002809.html
RELEASE -> !RELEASE
[irc.git] / software / !RELEASES / ircservices / achurch.org / services / lists / ircservices-coding / 2003 / 002809.html
CommitLineData
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
40Andrew confirmed that there are some bugs in ./configure which only
41surface if you're using a deprecated compiler. The IRC Services Coding
42list seems to have swallowed the remainder of the mails on the subject -
43i'm forwarding the most relevant one again. 5.0.24 has this problem, no
44matter how you came to it (either by patching from whatever version or
45by expanding the neat tarball).
46
47The below patch fixes the problem for me, but it's completely unsupported
48of 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
51ircservices-5.0.24-gccfix.patch or similar, and then apply to your 5.0.24
52source tree with a:
53
54cd /usr/local/src/ircservices-5.0.24 (or wherever it lives)
55patch -p1 &lt; ~/ircservices-5.0.24-gccfix.patch (or wherever the patch is)
56
57and then you should be able to configure; make; make install correctly.
58Or alternatively wait until the official fix in the next version :)
59
60A.
61
62________________________________________________________________
63Matthew 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&#174;
65
66---------- Forwarded message ----------
67Date: Sat, 15 Nov 2003 02:05:19 +0000 (GMT)
68From: Arathorn &lt;<A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">arathorn at theonering.net</A>&gt;
69To: Andrew Church &lt;<A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">achurch at achurch.org</A>&gt;
70Cc: <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>
71Subject: Re: [PATCH] Fix of rogue unescaped backtick in configure in 5.0.24
72
73Hmm, turns out that I was a little premature in sending in that one-line
74patch - unless I'm completely missing something, the configure script
75doesn't actually end up setting the CC or DEF_CC_FLAGS variables after
76warning about deprecation. Not sure whether this is because the
77deprecation is being enforced more strongly than the warnings suggest, but
78I expanded the tweak to the following in order to get it to build
79sensibly. For what it's worth, gcc 2.95.4 has never presented any
80problems for me with ircservices (since 4.3.3 or so) - so perhaps it might
81also be considerable as 'officially supported' in addition to 2.95.3 and
82&gt;<i>3.2? Debian stable has a fairly decent reputation, after all.
83</I>
84diff -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 &lt;&lt;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 &quot;Press Enter to continue: &quot;
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 &quot;great, found gcc!&quot;
106
107
108________________________________________________________________
109Matthew 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&#174;
111
112On Sat, 15 Nov 2003, Andrew Church wrote:
113
114&gt;<i> Thanks, fixed. Silly little details...
115</I>&gt;<i>
116</I>&gt;<i> (For the record, I use a homebrew mail reader which can't handle
117</I>&gt;<i> attachments. If I do get attachments I can decode them with pine, but I
118</I>&gt;<i> prefer patches inline so I can look at them without having to do so.)
119</I>&gt;<i>
120</I>&gt;<i> --Andrew Church
121</I>&gt;<i> <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">achurch at achurch.org</A>
122</I>&gt;<i> <A HREF="http://achurch.org/">http://achurch.org/</A>
123</I>&gt;<i>
124</I>&gt;<i> &gt;Well, I just had another chance to look more carefully at the configure
125</I>&gt;<i> &gt;script - looks like there's a rogue unescaped backtick in the deprecation
126</I>&gt;<i> &gt;warning text block:
127</I>&gt;<i> &gt;
128</I>&gt;<i> &gt;
129</I>&gt;<i> &gt;diff -ur ircservices-5.0.24-orig/configure ircservices-5.0.24/configure
130</I>&gt;<i> &gt;--- ircservices-5.0.24-orig/configure Wed Nov 5 01:46:59 2003
131</I>&gt;<i> &gt;+++ ircservices-5.0.24/configure Fri Nov 14 17:04:08 2003
132</I>&gt;<i> &gt;@@ -875,7 +875,7 @@
133</I>&gt;<i> &gt; elif test $vmajor -lt 3 -a $version != 2.95.3 || test $vmajor = 3 -a $vminor -lt 2 ; then
134</I>&gt;<i> &gt; cat &lt;&lt;EOT
135</I>&gt;<i> &gt;
136</I>&gt;<i> &gt;-WARNING: Your version of GCC was detected as `$version'. As of Services
137</I>&gt;<i> &gt;+WARNING: Your version of GCC was detected as \`$version'. As of Services
138</I>&gt;<i> &gt; 5.0.23, versions of GCC earlier than 3.2, other than 2.95.3,
139</I>&gt;<i> &gt; have been deprecated. This and future releases of Services 5.0
140</I>&gt;<i> &gt; will still work, though some error messages will lose
141</I>&gt;<i> &gt;
142</I>&gt;<i> &gt;
143</I>&gt;<i> &gt;
144</I>&gt;<i> &gt;(due to pine insisting on base64'ing mime attachments, i haven't attached
145</I>&gt;<i> &gt;the file as Andrew's mail system doesn't seem to approve of base64. -
146</I>&gt;<i> &gt;apologies if this mail shows up twice for anyone.)
147</I>&gt;<i> &gt;
148</I>&gt;<i> &gt;________________________________________________________________
149</I>&gt;<i> &gt;Matthew Hodgson <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">arathorn at theonering.net</A> Tel: +44 7968 722968
150</I>&gt;<i> &gt; Arathorn: Co-Sysadmin, TheOneRing.net&#142;&#174;
151</I>&gt;<i> &gt;
152</I>&gt;<i> &gt;On Wed, 12 Nov 2003, Arathorn wrote:
153</I>&gt;<i> &gt;
154</I>&gt;<i> &gt;&gt; Hi Andy,
155</I>&gt;<i> &gt;&gt;
156</I>&gt;<i> &gt;&gt; Just tried to upgrade to 5.0.24 on my Debian Woody production server
157</I>&gt;<i> &gt;&gt; running gcc 2.95.4. I appreciate that this is &lt;3.2 and !=2.95.3, but I
158</I>&gt;<i> &gt;&gt; didn't expect ./configure to completely keel over on me (and hoped to be
159</I>&gt;<i> &gt;&gt; able to use a -force configure option of some kind to get it to compile
160</I>&gt;<i> &gt;&gt; anyway).
161</I>&gt;<i> &gt;&gt;
162</I>&gt;<i> &gt;&gt; Here's the stderr &amp; stdio - the configure.log is attached:
163</I>&gt;<i> &gt;&gt;
164</I>&gt;<i> &gt;&gt; pe1650 18# gcc -v
165</I>&gt;<i> &gt;&gt; Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs
166</I>&gt;<i> &gt;&gt; gcc version 2.95.4 20011002 (Debian prerelease)
167</I>&gt;<i> &gt;&gt; pe1650 19# ./configure -ignore-cache
168</I>&gt;<i> &gt;&gt;
169</I>&gt;<i> &gt;&gt; Beginning IRC Services configuration.
170</I>&gt;<i> &gt;&gt;
171</I>&gt;<i> &gt;&gt; In what directory do you want the binaries to be installed?
172</I>&gt;<i> &gt;&gt; Press Return for the default, or enter a new value.
173</I>&gt;<i> &gt;&gt; [/usr/local/sbin] /usr/local/sbin/ircservices-5.0.24-unr
174</I>&gt;<i> &gt;&gt;
175</I>&gt;<i> &gt;&gt; Where do you want the data files to be installed?
176</I>&gt;<i> &gt;&gt; [/usr/local/sbin/ircservices-5.0.24-unr/lib] /usr/local/lib/ircservices-5.0
177</I>&gt;<i> &gt;&gt;
178</I>&gt;<i> &gt;&gt; End of interactive configuration.
179</I>&gt;<i> &gt;&gt;
180</I>&gt;<i> &gt;&gt; Checking sanity of /bin/sh... high.
181</I>&gt;<i> &gt;&gt; Searching for a suitable compiler... ./configure: command substitution:
182</I>&gt;<i> &gt;&gt; line 1: unexpected EOF while looking for matching `''
183</I>&gt;<i> &gt;&gt; ./configure: command substitution: line 8: syntax error: unexpected end of file
184</I>&gt;<i> &gt;&gt;
185</I>&gt;<i> &gt;&gt; WARNING: Your version of GCC was detected as Press Enter to continue:
186</I>&gt;<i> &gt;&gt;
187</I>&gt;<i> &gt;&gt;
188</I>&gt;<i> &gt;&gt;
189</I>&gt;<i> &gt;&gt; Testing default compiler flags ()... no luck! Using no flags.
190</I>&gt;<i> &gt;&gt; If you know what flags you want, use the -cflags option to configure.
191</I>&gt;<i> &gt;&gt; Let's see what libraries we need...
192</I>&gt;<i> &gt;&gt; Checking if we can use dynamic modules... no.
193</I>&gt;<i> &gt;&gt; Checking whether ranlib exists... yes.
194</I>&gt;<i> &gt;&gt; Looking for an 8-bit integer type...
195</I>&gt;<i> &gt;&gt; *** WHOA THERE! ***
196</I>&gt;<i> &gt;&gt;
197</I>&gt;<i> &gt;&gt; We suddenly couldn't compile using the C compiler we already tested!
198</I>&gt;<i> &gt;&gt; The command line we used was:
199</I>&gt;<i> &gt;&gt; conf-tmp/test.c -o conf-tmp/test
200</I>&gt;<i> &gt;&gt; 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>&gt;<i> &gt;&gt; with information about your system, the output from this script,
202</I>&gt;<i> &gt;&gt; and the `configure.log' file generated by this script.
203</I>&gt;<i> &gt;&gt;
204</I>&gt;<i> &gt;&gt; ________________________________________________________________
205</I>&gt;<i> &gt;&gt; Matthew Hodgson <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">arathorn at theonering.net</A> Tel: +44 7968 722968
206</I>&gt;<i> &gt;&gt; Arathorn: Co-Sysadmin, TheOneRing.net&#142;&#174;
207</I>&gt;<i> &gt;&gt;
208</I>&gt;<i> &gt;&gt; On Tue, 11 Nov 2003, Andrew Church wrote:
209</I>&gt;<i> &gt;&gt;
210</I>&gt;<i> &gt;&gt; &gt; Services 5.0.24 has been released, and can be downloaded from:
211</I>&gt;<i> &gt;&gt; &gt;
212</I>&gt;<i> &gt;&gt; &gt; <A HREF="ftp://ftp.esper.net/ircservices/">ftp://ftp.esper.net/ircservices/</A> (USA, California)
213</I>&gt;<i> &gt;&gt; &gt;
214</I>&gt;<i> &gt;&gt; &gt; d8f808b04744e9db365ebb23f7d04078 ircservices-5.0.24.tar.gz
215</I>&gt;<i> &gt;&gt; &gt; e2415db90e2c9f3391268b8d48ef40d1 ircservices-5.0.24.diff.gz
216</I>&gt;<i> &gt;&gt; &gt; 07d0785f095de88f87de8b4d97024558 ircservices-5.0.24-1.i386.rpm
217</I>&gt;<i> &gt;&gt; &gt; 0235352278f534a818699281fcc7ba83 ircservices_5.0.24-1_i386.deb
218</I>&gt;<i> &gt;&gt; &gt;
219</I>&gt;<i> &gt;&gt; &gt; ftp.ircservices.za.net and the other mirrors should have it shortly.
220</I>&gt;<i> &gt;&gt; &gt;
221</I>&gt;<i> &gt;&gt; &gt; This release includes a workaround for those who were unable to
222</I>&gt;<i> &gt;&gt; &gt; compile 5.0.23; however, please note that being unable to compile means
223</I>&gt;<i> &gt;&gt; &gt; that your compiler is outdated, and you should upgrade it (or have the
224</I>&gt;<i> &gt;&gt; &gt; server administrator upgrade it) as soon as possible. Support for such
225</I>&gt;<i> &gt;&gt; &gt; compilers will be removed entirely in a future version.
226</I>&gt;<i> &gt;&gt; &gt;
227</I>&gt;<i> &gt;&gt; &gt; Changes in version 5.0.24
228</I>&gt;<i> &gt;&gt; &gt; -------------------------
229</I>&gt;<i> &gt;&gt; &gt; 2003/11/11 Fixed a warning in convert-db compilation.
230</I>&gt;<i> &gt;&gt; &gt; 2003/11/11 Fixed bugs in convert-db causing some nickname and channel
231</I>&gt;<i> &gt;&gt; &gt; settings (timezone, language, channel and memo limits)
232</I>&gt;<i> &gt;&gt; &gt; to not be initialized properly.
233</I>&gt;<i> &gt;&gt; &gt; 2003/11/11 Added -tzfile, -no-timezones, and -reset-memo-limits
234</I>&gt;<i> &gt;&gt; &gt; options to the Cygnus database converter in convert-db.
235</I>&gt;<i> &gt;&gt; &gt; 2003/11/05 Databases can now be exported in XML from the command line
236</I>&gt;<i> &gt;&gt; &gt; (-export option).
237</I>&gt;<i> &gt;&gt; &gt; 2003/11/05 GCC versions earlier than 3.2 (except 2.95.3) are now
238</I>&gt;<i> &gt;&gt; &gt; deprecated. Variadic macros workaround added for
239</I>&gt;<i> &gt;&gt; &gt; problem reported by Ali Sor &lt;<A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">alisor at softhome.net</A>&gt;
240</I>&gt;<i> &gt;&gt; &gt; 2003/11/05 Channel last-used time is now updated properly for the
241</I>&gt;<i> &gt;&gt; &gt; first user to enter the channel if the user has auto-op
242</I>&gt;<i> &gt;&gt; &gt; privileges. Reported by &lt;<A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">saman at alkol.org</A>&gt;
243</I>&gt;<i> &gt;&gt; &gt;
244</I>&gt;<i> &gt;&gt; &gt; --Andrew Church
245</I>&gt;<i> &gt;&gt; &gt; <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">achurch at achurch.org</A>
246</I>&gt;<i> &gt;&gt; &gt; <A HREF="http://achurch.org/">http://achurch.org/</A>
247</I>&gt;<i> &gt;&gt; &gt; ------------------------------------------------------------------
248</I>&gt;<i> &gt;&gt; &gt; To unsubscribe or change your subscription options, visit:
249</I>&gt;<i> &gt;&gt; &gt; <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">http://www.ircservices.za.net/mailman/listinfo/ircservices</A>
250</I>&gt;<i> &gt;&gt; &gt;
251</I>&gt;<i> &gt;&gt; &gt;
252</I>&gt;<i>
253</I>&gt;<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>