1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 3.2//EN">
4 <TITLE> [IRCServices Coding] A couple of FreeBSD notes..
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">
13 <BODY BGCOLOR=
"#ffffff">
14 <H1>[IRCServices Coding] A couple of FreeBSD notes..
</H1>
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
19 <I>Thu Jul
22 10:
18:
42 PDT
2004</I>
21 <LI>Previous message:
<A HREF=
"003056.html">[IRCServices Coding] A couple of FreeBSD notes..
23 <LI>Next message:
<A HREF=
"003059.html">[IRCServices Coding] A couple of FreeBSD notes..
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>
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
36 /****************************************
37 * Craig
"FrostyCoolSlug
" 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 ****************************************/
44 /****************************************
45 * From - Sean Kelly
<<A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">smkelly at zombie.org
</A>>
46 * To - IRC Services Coding Mailing List
<<A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">ircservices-coding at ircservices.za.net
</A>>
47 * Sent -
2004-
07-
21 02:
58:
46
48 * Subject - Re: [IRCServices Coding] A couple of FreeBSD notes..
49 ****************************************/
51 /****** - Begin Original Message - ******/
53 ><i>On Tue, Jul
20,
2004 at
01:
16:
38AM +
0100, Craig McLure wrote:
54 </I>>><i> FreeBSD greymatter
5.2.1-RELEASE FreeBSD
5.2.1-RELEASE #
0
55 </I>>><i> gcc version
3.3.3 [FreeBSD]
20031106
56 </I>>><i> GNU Make
3.80
58 </I>><i>After reading your e-mail, I tested a build of IRCServices
5.0.36 on
59 </I>><i>FreeBSD
5.2-CURRENT (as of Jun
12).
61 </I>>><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)
63 </I>><i>Did you copy this source tree from Linux or some other OS and neglect to do
64 </I>><i>a `gmake clean` and rerun configure? FreeBSD
5 (and
4) have no need for libdl
65 </I>><i>in order to use the dl*() functions necessary for the modules in IRCServices.
67 </I>><i>Changing -ldl to -Ldl works because the -L argument sets a library search
68 </I>><i>path. A valid use of -L would be something like -L/usr/local/lib or
69 </I>><i>-L/usr/home/smkelly/mylibs/. You should just omit the -Ldl or -ldl bit
70 </I>><i>altogether.
72 </I>>><i> also, in make install, -d isnt a valid param when using /bin/cp (when copying
"data/helpfiles
")
74 </I>><i>You need to do a `gmake clean` and run ./configure again. The configure
75 </I>><i>file specifically sets ${CP_ALL} to not contain a -d argument on FreeBSD.
76 </I>><i>It only adds the -d on CYGWIN and Linux. Note that in my `gmake install`
77 </I>><i>output below, there is no -d in the cp line.
79 </I>><i>gmake[
1]: Entering directory `/usr/home/smkelly/ircservices-
5.0.36/data'
80 </I>><i>/bin/cp -pr helpfiles
"/usr/home/smkelly/ircservices/lib
"
81 </I>><i>chmod -R
700 "/usr/home/smkelly/ircservices/lib/helpfiles
"
82 </I>><i>find
"/usr/home/smkelly/ircservices/lib/helpfiles
" -type f -exec chmod
600 '{}' \;
84 </I>><i>Doing a `gmake clean` and rerunning ./configure should solve your problems.
87 </I>><i>Sean Kelly | PGP KeyID: D2E5E296
88 </I>><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>><i>-----BEGIN PGP SIGNATURE-----
90 </I>><i>Version: GnuPG v1.2
.4 (FreeBSD)
92 </I>><i>iD8DBQFA/c3VPm7A9NLl4pYRAqyDAKCxNyM73mP7alfojCPOyyKCnKozpgCgvhTp
93 </I>><i>6/
6QSy71P1CaZNt5x/PeQfk=
95 </I>><i>-----END PGP SIGNATURE-----
97 </I>><i>------------------------------------------------------------------
98 </I>><i>To unsubscribe or change your subscription options, visit:
99 </I>><i><A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">http://www.ircservices.za.net/mailman/listinfo/ircservices-coding
</A>
102 /******* - End Original Message - *******/
114 <LI>Previous message:
<A HREF=
"003056.html">[IRCServices Coding] A couple of FreeBSD notes..
116 <LI>Next message:
<A HREF=
"003059.html">[IRCServices Coding] A couple of FreeBSD notes..
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>