]> jfr.im git - irc.git/blob - software/!RELEASES/ircservices/achurch.org/services/lists/ircservices-coding/2004/003058.html
RELEASE -> !RELEASE
[irc.git] / software / !RELEASES / ircservices / achurch.org / services / lists / ircservices-coding / 2004 / 003058.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
2 <HTML>
3 <HEAD>
4 <TITLE> [IRCServices Coding] A couple of FreeBSD notes..
5 </TITLE>
6 <LINK REL="Index" HREF="index.html" >
7 <LINK REL="made" HREF="mailto:ircservices-coding%40ircservices.za.net?Subject=%5BIRCServices%20Coding%5D%20A%20couple%20of%20FreeBSD%20notes..&In-Reply-To=">
8 <META NAME="robots" CONTENT="index,nofollow">
9 <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
10 <LINK REL="Previous" HREF="003056.html">
11 <LINK REL="Next" HREF="003059.html">
12 </HEAD>
13 <BODY BGCOLOR="#ffffff">
14 <H1>[IRCServices Coding] A couple of FreeBSD notes..</H1>
15 <B>Craig McLure</B>
16 <A HREF="mailto:ircservices-coding%40ircservices.za.net?Subject=%5BIRCServices%20Coding%5D%20A%20couple%20of%20FreeBSD%20notes..&In-Reply-To="
17 TITLE="[IRCServices Coding] A couple of FreeBSD notes..">Craig at frostycoolslug.com
18 </A><BR>
19 <I>Thu Jul 22 10:18:42 PDT 2004</I>
20 <P><UL>
21 <LI>Previous message: <A HREF="003056.html">[IRCServices Coding] A couple of FreeBSD notes..
22 </A></li>
23 <LI>Next message: <A HREF="003059.html">[IRCServices Coding] A couple of FreeBSD notes..
24 </A></li>
25 <LI> <B>Messages sorted by:</B>
26 <a href="date.html#3058">[ date ]</a>
27 <a href="thread.html#3058">[ thread ]</a>
28 <a href="subject.html#3058">[ subject ]</a>
29 <a href="author.html#3058">[ author ]</a>
30 </LI>
31 </UL>
32 <HR>
33 <!--beginarticle-->
34 <PRE>i did a gmake clean, and removed Makefile.inc, re-ran ./configure.. and although -d wasnt in cp anymore, -ldl was still appearing in the newly generated Makefile.inc
35
36 /****************************************
37 * Craig &quot;FrostyCoolSlug&quot; McLure
38 * <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">Craig at FrostyCoolSlug.com</A>
39 * InspIRCd - <A HREF="http://www.inspircd.org">http://www.inspircd.org</A>
40 * ChatSpike - <A HREF="http://www.chatspike.net">http://www.chatspike.net</A>
41 ****************************************/
42
43
44 /****************************************
45 * From - Sean Kelly &lt;<A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">smkelly at zombie.org</A>&gt;
46 * To - IRC Services Coding Mailing List &lt;<A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">ircservices-coding at ircservices.za.net</A>&gt;
47 * Sent - 2004-07-21 02:58:46
48 * Subject - Re: [IRCServices Coding] A couple of FreeBSD notes..
49 ****************************************/
50
51 /****** - Begin Original Message - ******/
52
53 &gt;<i>On Tue, Jul 20, 2004 at 01:16:38AM +0100, Craig McLure wrote:
54 </I>&gt;&gt;<i> FreeBSD greymatter 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0
55 </I>&gt;&gt;<i> gcc version 3.3.3 [FreeBSD] 20031106
56 </I>&gt;&gt;<i> GNU Make 3.80
57 </I>&gt;<i>
58 </I>&gt;<i>After reading your e-mail, I tested a build of IRCServices 5.0.36 on
59 </I>&gt;<i>FreeBSD 5.2-CURRENT (as of Jun 12).
60 </I>&gt;<i>
61 </I>&gt;&gt;<i> I had a couple of problems when compiling services under FreeBSD, the first was when compiling, services uses LIBS = -ldl in Makefile.inc, when in fact it needs to be -Ldl (capitol L)
62 </I>&gt;<i>
63 </I>&gt;<i>Did you copy this source tree from Linux or some other OS and neglect to do
64 </I>&gt;<i>a `gmake clean` and rerun configure? FreeBSD 5 (and 4) have no need for libdl
65 </I>&gt;<i>in order to use the dl*() functions necessary for the modules in IRCServices.
66 </I>&gt;<i>
67 </I>&gt;<i>Changing -ldl to -Ldl works because the -L argument sets a library search
68 </I>&gt;<i>path. A valid use of -L would be something like -L/usr/local/lib or
69 </I>&gt;<i>-L/usr/home/smkelly/mylibs/. You should just omit the -Ldl or -ldl bit
70 </I>&gt;<i>altogether.
71 </I>&gt;<i>
72 </I>&gt;&gt;<i> also, in make install, -d isnt a valid param when using /bin/cp (when copying &quot;data/helpfiles&quot;)
73 </I>&gt;<i>
74 </I>&gt;<i>You need to do a `gmake clean` and run ./configure again. The configure
75 </I>&gt;<i>file specifically sets ${CP_ALL} to not contain a -d argument on FreeBSD.
76 </I>&gt;<i>It only adds the -d on CYGWIN and Linux. Note that in my `gmake install`
77 </I>&gt;<i>output below, there is no -d in the cp line.
78 </I>&gt;<i>
79 </I>&gt;<i>gmake[1]: Entering directory `/usr/home/smkelly/ircservices-5.0.36/data'
80 </I>&gt;<i>/bin/cp -pr helpfiles &quot;/usr/home/smkelly/ircservices/lib&quot;
81 </I>&gt;<i>chmod -R 700 &quot;/usr/home/smkelly/ircservices/lib/helpfiles&quot;
82 </I>&gt;<i>find &quot;/usr/home/smkelly/ircservices/lib/helpfiles&quot; -type f -exec chmod 600 '{}' \;
83 </I>&gt;<i>
84 </I>&gt;<i>Doing a `gmake clean` and rerunning ./configure should solve your problems.
85 </I>&gt;<i>
86 </I>&gt;<i>--
87 </I>&gt;<i>Sean Kelly | PGP KeyID: D2E5E296
88 </I>&gt;<i><A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">smkelly at zombie.org</A> | <A HREF="http://www.zombie.org">http://www.zombie.org</A>
89 </I>&gt;<i>-----BEGIN PGP SIGNATURE-----
90 </I>&gt;<i>Version: GnuPG v1.2.4 (FreeBSD)
91 </I>&gt;<i>
92 </I>&gt;<i>iD8DBQFA/c3VPm7A9NLl4pYRAqyDAKCxNyM73mP7alfojCPOyyKCnKozpgCgvhTp
93 </I>&gt;<i>6/6QSy71P1CaZNt5x/PeQfk=
94 </I>&gt;<i>=30UZ
95 </I>&gt;<i>-----END PGP SIGNATURE-----
96 </I>&gt;<i>
97 </I>&gt;<i>------------------------------------------------------------------
98 </I>&gt;<i>To unsubscribe or change your subscription options, visit:
99 </I>&gt;<i><A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">http://www.ircservices.za.net/mailman/listinfo/ircservices-coding</A>
100 </I>&gt;<i>
101 </I>
102 /******* - End Original Message - *******/
103
104
105
106
107
108 </PRE>
109
110 <!--endarticle-->
111 <HR>
112 <P><UL>
113 <!--threads-->
114 <LI>Previous message: <A HREF="003056.html">[IRCServices Coding] A couple of FreeBSD notes..
115 </A></li>
116 <LI>Next message: <A HREF="003059.html">[IRCServices Coding] A couple of FreeBSD notes..
117 </A></li>
118 <LI> <B>Messages sorted by:</B>
119 <a href="date.html#3058">[ date ]</a>
120 <a href="thread.html#3058">[ thread ]</a>
121 <a href="subject.html#3058">[ subject ]</a>
122 <a href="author.html#3058">[ author ]</a>
123 </LI>
124 </UL>
125
126 </body></html>