Re: need help installing something

2003-09-21 Thread Matthew Seaman
On Sun, Sep 21, 2003 at 12:21:22AM -0400, ALIAS wrote:
 i am trying to install this program called glib-2.2.3 and it need a program 
 that i don't have so i downloaded it and installed it. it's called 
 libiconv-1.9.1 it says in the readme file that after installing it i should 
 do the following.

The secret to a quiet life with FreeBSD is to use the ports system.  I
can tell you now that if you're trying to compile and install
something that requires a Gnome environment by hand, you will go
slowly insane trying to resolve all of the dependencies.  Or maybe you
will go speedily insane.

Chances are the application that you eventually want to install is
already available in ports.  In which case, you can get the whole damn
thing downloaded, patched for FreeBSD, compiled and installed *and*
the same automatically for all of it's dependencies by a simple two
word command issued from the appropriate place in the ports tree.
Viz: 'make install'.

To learn more about using the ports system see:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html

There's also been a very good set of articles by Dru Lavigne on
O'Reilly's OnLamp site which takes the beginner through some of the
finer points of maintaining a system using FreeBSD ports and
associated tools:

http://www.onlamp.com/pub/ct/15
http://www.onlamp.com/pub/a/bsd/2003/08/07/FreeBSD_Basics.html
http://www.onlamp.com/pub/a/bsd/2003/08/28/FreeBSD_Basics.html
http://www.onlamp.com/pub/a/bsd/2003/09/18/FreeBSD_Basics.html

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


need help installing something

2003-09-20 Thread ALIAS
i am trying to install this program called glib-2.2.3 and it need a program 
that i don't have so i downloaded it and installed it. it's called 
libiconv-1.9.1 it says in the readme file that after installing it i should 
do the following.

After installing GNU libiconv for the first time, it is recommended to
recompile and reinstall GNU gettext, so that it can take advantage of
libiconv.

On systems other than GNU/Linux, the iconv program will be internationalized
only if GNU gettext has been built and installed before GNU libiconv. This
means that the first time GNU libiconv is installed, we have a circular
dependency between the GNU libiconv and GNU gettext packages, which can be
resolved by building and installing either
  - first libiconv, then gettext, then libiconv again,
or (on systems supporting shared libraries, excluding AIX)
  - first gettext, then libiconv, then gettext again.
Recall that before building a package for the second time, you need to erase
the traces of the first build by running make distclean.

This library can be built and installed in two variants:

  - The library mode. This works on all systems, and uses a library
    `libiconv.so' and a header file `iconv.h'. (Both are installed
    through make install.)

    To use it, simply #include iconv.h and use the functions.

    To use it in an autoconfiguring package:
    - If you don't use automake, append m4/iconv.m4 to your aclocal.m4
      file.
    - If you do use automake, add m4/iconv.m4 to your m4 macro repository.
    - Add to the link command line of libraries and executables that use
      the functions the placeholder @LIBICONV@ (or, if using libtool for
      the link, @LTLIBICONV@). If you use automake, the right place for
      these additions are the *_LDADD variables.
    Note that 'iconv.m4' is also part of the GNU gettext package, which
    installs it in /usr/local/share/aclocal/iconv.m4.

  - The libc plug/override mode. This works on GNU/Linux, Solaris and OSF/1
    systems only. It is a way to get good iconv support without having
    glibc-2.1.
    It installs a library `libiconv_plug.so'. This library can be used with
    LD_PRELOAD, to override the iconv* functions present in the C library.

    On GNU/Linux and Solaris:
        $ export LD_PRELOAD=/usr/local/lib/libiconv_plug.so

    On OSF/1:
        $ export _RLD_LIST=/usr/local/lib/libiconv_plug.so:DEFAULT

    A program's source need not be modified, the program need not even be
    recompiled. Just set the LD_PRELOAD environment variable, that's it!


Distribution:
    ftp://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.8.tar.gz

Homepage:
    http://www.gnu.org/software/libiconv/

Bug reports to:
    [EMAIL PROTECTED]


Bruno Haible [EMAIL PROTECTED]

i sent this email to someone and he suggested that i do the following

cd /usr/ports/devel/gettext  make install

after i typed the command in the install file started downloading a bunch of 
stuff from the net then it was compiling and it said that something was out 
of date and i should do the following, make deinstall and make reinstall i 
did that and i tried to install libiconv-1.9.1 and it says the following.

configure: error:***No iconv implementation found in C library or libiconv

what should i do now?? can someone please help.


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]