--===============1863626486==
Content-Type: multipart/signed; boundary="nextPart1277692.ahKREzYI5E";
protocol="application/pgp-signature"; micalg=pgp-sha1
Content-Transfer-Encoding: 7bit

--nextPart1277692.ahKREzYI5E
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Thursday 28 December 2006 11:15, Beech Rintoul wrote:
> I'm attempting to update the FreeBSD port of proftpd. While building the
> new mod_wrap2 I get the following error:
>
> gmake[2]: Entering directory
> `/usr/ports/ftp/proftpd/work/proftpd-1.3.1rc1/contrib/mod_wrap2'
> cc -DHAVE_CONFIG_H -DFREEBSD7_0 -DFREEBSD7 -I. -I../.. -I../../include -=

O2
> -fno-strict-aliasing -pipe -Wall -c mod_wrap2.c
> In file included from mod_wrap2.h:35,
> from mod_wrap2.c:25:
> ../../include/conf.h:57:21: libintl.h: No such file or directory
> gmake[2]: *** [mod_wrap2.o] Error 1
> gmake[2]: Leaving directory
> `/usr/ports/ftp/proftpd/work/proftpd-1.3.1rc1/contrib/mod_wrap2'
> cp: ../contrib/mod_wrap2/mod_wrap2.o: No such file or directory
> gmake[1]: *** [static] Error 1
> gmake[1]: Leaving directory
> `/usr/ports/ftp/proftpd/work/proftpd-1.3.1rc1/modules'
> gmake: *** [modules] Error 2
> *** Error code 2
>
> I tried adding #include to config.h, but it didn't help. That
> header is in the the path, what do I need to do to get mod_wrap2 to see i=

t?

I fixed the build with the following patches:

=2D-- contrib/mod_wrap2/Makefile.in.orig Wed Sep 6 15:11:47 2006
+++ contrib/mod_wrap2/Makefile.in Thu Dec 28 11:41:24 2006
@@ -13,7 +13,7 @@
MODULE_NAME=3Dmod_wrap2
=20
# Necessary redefinitions
=2DINCLUDES=3D-I. -I../.. -I../../include
+INCLUDES=3D-I. -I../.. -I../../include -I/usr/local/include
CPPFLAGS=3D -DHAVE_CONFIG_H $(DEFAULT_PATHS) $(PLATFORM) $(INCLUDES)
LDFLAGS=3D-L../../lib

=2D-- lib/getopt.c.orig Thu Feb 28 10:30:01 2002
+++ lib/getopt.c Tue Dec 26 13:39:53 2006
@@ -76,7 +76,7 @@
# endif
#endif
=20
=2D#ifndef _
+#if defined(PR_USE_NLS) && !defined(_)
/* This is for other GNU distributions with internationalized messages.
When compiling libc, the _ macro is predefined. */
# ifdef HAVE_LIBINTL_H
@@ -85,6 +85,8 @@
# else
# define _(msgid) (msgid)
# endif
+#else
+# define _(msgid) (msgid)
#endif
=20
/* This version of `getopt' appears to the caller like standard Unix `geto=
pt'

That fixed earlier problems, but now I'm getting:

cc -L./lib -L/usr/local/lib -L/usr/local/lib -o ftptop utils/ftptop.o=20
utils/scoreboard.o -lncurses -lsupp
=2E/lib/libsupp.a(getopt.o)(.text+0x5c5): In function `_getopt_internal':
: undefined reference to `libintl_gettext'
=2E/lib/libsupp.a(getopt.o)(.text+0x687): In function `_getopt_internal':
: undefined reference to `libintl_gettext'
=2E/lib/libsupp.a(getopt.o)(.text+0x8b1): In function `_getopt_internal':
: undefined reference to `libintl_gettext'
=2E/lib/libsupp.a(getopt.o)(.text+0xa3a): In function `_getopt_internal':
: undefined reference to `libintl_gettext'
=2E/lib/libsupp.a(getopt.o)(.text+0xa99): In function `_getopt_internal':
: undefined reference to `libintl_gettext'
=2E/lib/libsupp.a(getopt.o)(.text+0xb04): more undefined references to=20
`libintl_gettext' follow
gmake: *** [ftptop] Error 1
*** Error code 2

I could use some help here.

TIA,

Beech

=2D-=20
=2D------------------------------------------------------------------------=
=2D-------------
Beech Rintoul - Sys. Administrator - beech@alaskaparadise.com
/"\ ASCII Ribbon Campaign | Alaska Paradise Travel
\ / - NO HTML/RTF in e-mail | 201 East 9Th Avenue Ste.310
X - NO Word docs in e-mail | Anchorage, AK 99501
/ \ - Please visit Alaska Paradise - http://www.alaskaparadise.com
=2D------------------------------------------------------------------------=
=2D-------------












--nextPart1277692.ahKREzYI5E
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)

iD8DBQBFlDeip5D0B1NlT4URAsiHAJ9FQyUM+4e6AcO+dkDIpW WoEKxptACfcRYM
r4HHJKRP6pfV2VxX6sbIN9E=
=ubF/
-----END PGP SIGNATURE-----

--nextPart1277692.ahKREzYI5E--


--===============1863626486==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?p...rge&CID=DEVDEV
--===============1863626486==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ProFTPD Users List
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html
--===============1863626486==--