Re: glib compile problem



Replying to myself, it seems like it required gettext which was missing on my machine.
Should glib install dependent packages such as gettext?
Maybe I'm wrong here.

thanks,

Ganbold

Ganbold wrote:
Hi,

When I'm trying to install mc from ports in today's CURRENT machine I've got following errors:
It fails in glib20 configure script. Also I saw a lot of "sh: environment corrupt; missing value for"
messages.

..
sh: environment corrupt; missing value for LC_ALL
sh: environment corrupt; missing value for LC_NUMERIC
i486-portbld-freebsd7.0
checking for gcc... cc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
===> Script "configure" failed unexpectedly.
Please run the gnomelogalyzer, available from
"http://www.freebsd.org/gnome/gnomelogalyzer.sh";, which will diagnose the
problem and suggest a solution. If - and only if - the gnomelogalyzer cannot
solve the problem, report the build failure to the FreeBSD GNOME team at
gnome@xxxxxxxxxxx, and attach (a)
"/usr/ports/devel/glib20/work/glib-2.12.12/config.log", (b) the output of the
failed make command, and (c) the gnomelogalyzer output. Also, it might be a
good idea to provide an overview of all packages installed on your system
(i.e. an `ls /var/db/pkg`). Put your attachment up on any website,
copy-and-paste into http://freebsd-gnome.pastebin.com, or use send-pr(1) with
the attachment. Try to avoid sending any attachments to the mailing list
(gnome@xxxxxxxxxxx), because attachments sent to FreeBSD mailing lists are
usually discarded by the mailing list software.
*** Error code 1

Stop in /usr/ports/devel/glib20.
*** Error code 1

Stop in /usr/ports/devel/glib20.

And the config.log says:

configure:3499: $? = 0
configure:3506: cc -V >&5
cc: '-V' option must have argument
configure:3509: $? = 1
configure:3532: checking for C compiler default output file name
configure:3559: cc -O1 -pipe -I/usr/local/include -L/usr/local/lib -lintl conftest.c >&5
/usr/bin/ld: cannot find -lintl
configure:3562: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "glib"
| #define PACKAGE_TARNAME "glib"
| #define PACKAGE_VERSION "2.12.12"
| #define PACKAGE_STRING "glib 2.12.12"
| #define PACKAGE_BUGREPORT "http://bugzilla.gnome.org/enter_bug.cgi?product=glib";
| #define GLIB_MAJOR_VERSION 2
| #define GLIB_MINOR_VERSION 12
| #define GLIB_MICRO_VERSION 12
| #define GLIB_INTERFACE_AGE 12
| #define GLIB_BINARY_AGE 1212
| #define G_COMPILED_WITH_DEBUGGING "minimum"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3600: error: C compiler cannot create executables
See `config.log' for more details.

Anybody has solved this issue before?

thanks,

Ganbold



--
I profoundly believe it takes a lot of practice to become a moral slob. -- William F. Buckley
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: glib compile problem
    ... Should glib install dependent packages such as gettext? ... When I'm trying to install mc from ports in today's CURRENT machine I've got following errors: ... Also I saw a lot of "sh: environment corrupt; missing value for" ... because attachments sent to FreeBSD mailing lists are ...
    (freebsd-current)
  • Re: glib compile problem
    ... Should glib install dependent packages such as gettext? ... When I'm trying to install mc from ports in today's CURRENT machine I've got following errors: ... because attachments sent to FreeBSD mailing lists are ... FreeBSD GNOME Team - FreeBSD Multimedia Hat ...
    (freebsd-current)
  • HP C7280 Scan Startup Causes "HP CUE--Scanning Flow Component Is Not Responding"
    ... "newer" online full install version for Vista 64-bit. ... Some Google research revealed verifying and/or adding a missing ... Neither a physical search in the folder nor a Vista file search found ... HP refused to look in or do anything in the Registry. ...
    (comp.sys.hp.hardware)
  • To Wes/Others, was: Re: How get *MANUAL* XP Updates?
    ... > regsvr32 Qmgrprxy.dll ... I didn't notice the missing directory as I ... install is not feasable due to the "recovery CD's" issue. ... Can I extract the whole folder from the Recovery console (yes I ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: fedora-list Digest, Vol 37, Issue 157
    ... yum update -> Missing Dependency for libdevmapper.so.1.02 ... Re: Wide screen LCD ... Roadnav install ?? ... AIR, the fix was an selinux=0 on the kernel command line, where its been carried forward to this day. ...
    (Fedora)