The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

форумы  помощь  поиск  регистрация  майллист  ВХОД  слежка  RSS
"помогите разобратся"
Вариант для распечатки Архивированная нить - только для чтения! 
Пред. тема | След. тема 
Форумы OpenNET: Виртуальная конференция (Public)
Изначальное сообщение [Проследить за развитием треда]

"помогите разобратся"
Сообщение от boffin emailИскать по авторуВ закладки on 08-Авг-02, 15:31  (MSK)
Здравствуйте все!
Решил поставить glib-2.0.6 но у меня ни чего не выходит :(
При запуске ./configure пишет ошибку:
configure: error***No iconv() implementation found in C library or libiconv

хотя libiconv у меня стоит версии 1.7_5!Ставил версию 1.8 и все тоже самое даже хуже не запускается Х сервер вообше :(
Подскажите что я делаю не так плз!
У меня стоит freebsd 4.6

  Рекомендовать в FAQ | Cообщить модератору | Наверх

 Оглавление

Индекс форумов | Темы | Пред. тема | След. тема
Сообщения по теме

1. "RE: помогите разобратся"
Сообщение от lavr emailИскать по авторуВ закладки on 08-Авг-02, 16:01  (MSK)
>Здравствуйте все!
>Решил поставить glib-2.0.6 но у меня ни чего не выходит :(
>При запуске ./configure пишет ошибку:
>configure: error***No iconv() implementation found in C library or libiconv
>
>хотя libiconv у меня стоит версии 1.7_5!Ставил версию 1.8 и все тоже
>самое даже хуже не запускается Х сервер вообше :(
>Подскажите что я делаю не так плз!
>У меня стоит freebsd 4.6

что(откуда) и как ставите, по шагам?
и что при этом в config.log

  Рекомендовать в FAQ | Cообщить модератору | Наверх

2. "спасибо за отклик! Расписываю пошагово!"
Сообщение от boffin emailИскать по авторуВ закладки on 08-Авг-02, 17:46  (MSK)
может долго, но подробно! не гневайтесь =)
Все ставить пытаюсь с исходников.
1. Решил установить gimp-1.2.3 (до этого не стоял)
скачал с gimp.org
./configure
система написала что нужно gtk 1.2.8 или более
2. Скачал от туда же gtk+-2.0.6
./configure
написала что не нашла пакет glib-2.0
3. Скачал glib-2.0.6
./configure
вот тут то и проблема возникает :(
а вот и config.log

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.53.  Invocation command line was

  $ ./configure

## --------- ##
## Platform. ##
## --------- ##

hostname = Berloga
uname -m = i386
uname -r = 4.6-RELEASE
uname -s = FreeBSD
uname -v = FreeBSD 4.6-RELEASE #0: Tue Jun 11 06:14:12 GMT 2002     murray@builder.freebsdmall.com:/usr/src/sys/compile/GENERIC

/usr/bin/uname -p = i386
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/games
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/X11R6/bin
PATH: /root/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1532: checking for a BSD-compatible install
configure:1586: result: /usr/bin/install -c
configure:1597: checking whether build environment is sane
configure:1640: result: yes
configure:1655: checking whether make sets ${MAKE}
configure:1675: result: yes
configure:1698: checking for working aclocal
configure:1709: result: missing
configure:1713: checking for working autoconf
configure:1724: result: missing
configure:1728: checking for working automake
configure:1739: result: missing
configure:1743: checking for working autoheader
configure:1754: result: missing
configure:1758: checking for working makeinfo
configure:1765: result: found
configure:1828: checking for gcc
configure:1844: found /usr/bin/gcc
configure:1854: result: gcc
configure:2098: checking for C compiler version
configure:2101: gcc --version </dev/null >&5
2.95.3
configure:2104: $? = 0
configure:2106: gcc -v </dev/null >&5
Using builtin specs.
gcc version 2.95.3 20010315 (release) [FreeBSD]
configure:2109: $? = 0
configure:2111: gcc -V </dev/null >&5
gcc: argument to `-V' is missing
configure:2114: $? = 1
configure:2140: checking for C compiler default output
configure:2143: gcc    conftest.c  >&5
configure:2146: $? = 0
configure:2179: result: a.out
configure:2184: checking whether the C compiler works
configure:2190: ./a.out
configure:2193: $? = 0
configure:2208: result: yes
configure:2215: checking whether we are cross compiling
configure:2217: result: no
configure:2220: checking for suffix of executables
configure:2222: gcc -o conftest    conftest.c  >&5
configure:2225: $? = 0
configure:2247: result:
configure:2253: checking for suffix of object files
configure:2277: gcc -c   conftest.c >&5
configure:2280: $? = 0
configure:2299: result: o
configure:2303: checking whether we are using the GNU C compiler
configure:2330: gcc -c   conftest.c >&5
configure:2333: $? = 0
configure:2336: test -s conftest.o
configure:2339: $? = 0
configure:2351: result: yes
configure:2357: checking whether gcc accepts -g
configure:2381: gcc -c -g  conftest.c >&5
configure:2384: $? = 0
configure:2387: test -s conftest.o
configure:2390: $? = 0
configure:2400: result: yes
configure:2427: gcc -c -g -O2  conftest.c >&5
conftest.c:2: syntax error before `me'
configure:2430: $? = 1
configure: failed program was:
#ifndef __cplusplus
  choke me
#endif
configure:2613: checking build system type
configure:2631: result: i386-unknown-freebsd4.6
configure:2639: checking host system type
configure:2653: result: i386-unknown-freebsd4.6
configure:2683: checking for ld used by GCC
configure:2746: result: /usr/libexec/elf/ld
configure:2755: checking if the linker (/usr/libexec/elf/ld) is GNU ld
GNU ld version 2.11.2 20010719 [FreeBSD] (with BFD 2.11.2 20010719 [FreeBSD])
configure:2767: result: yes
configure:2772: checking for /usr/libexec/elf/ld option to reload object files
configure:2779: result: -r
configure:2784: checking for BSD-compatible nm
configure:2820: result: /usr/bin/nm -B
configure:2823: checking whether ln -s works
configure:2827: result: yes
configure:2834: checking how to recognise dependant libraries
configure:3012: result: pass_all
configure:3025: checking command to parse /usr/bin/nm -B output
configure:3106: gcc -c -g -O2  conftest.c >&5
configure:3109: $? = 0
configure:3113: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGISTW][ABCDGISTW]*\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' \> conftest.nm
configure:3116: $? = 0
configure:3168: gcc -o conftest -g -O2   conftest.c conftstm.o >&5
configure:3171: $? = 0
configure:3215: result: ok
configure:3224: checking how to run the C preprocessor
configure:3250: gcc -E  conftest.c
configure:3256: $? = 0
configure:3283: gcc -E  conftest.c
configure:3279: ac_nonexistent.h: No such file or directory
configure:3289: $? = 1
configure: failed program was:
#line 3278 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure:3326: result: gcc -E
configure:3341: gcc -E  conftest.c
configure:3347: $? = 0
configure:3374: gcc -E  conftest.c
configure:3370: ac_nonexistent.h: No such file or directory
configure:3380: $? = 1
configure: failed program was:
#line 3369 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure:3420: checking for ANSI C header files
configure:3434: gcc -E  conftest.c
configure:3440: $? = 0
configure:3525: gcc -o conftest -g -O2   conftest.c  >&5
configure:3528: $? = 0
configure:3530: ./conftest
configure:3533: $? = 0
configure:3547: result: yes
configure:3571: checking for sys/types.h
configure:3584: gcc -c -g -O2  conftest.c >&5
configure:3587: $? = 0
configure:3590: test -s conftest.o
configure:3593: $? = 0
configure:3603: result: yes
configure:3571: checking for sys/stat.h
configure:3584: gcc -c -g -O2  conftest.c >&5
configure:3587: $? = 0
configure:3590: test -s conftest.o
configure:3593: $? = 0
configure:3603: result: yes
configure:3571: checking for stdlib.h
configure:3584: gcc -c -g -O2  conftest.c >&5
configure:3587: $? = 0
configure:3590: test -s conftest.o
configure:3593: $? = 0
configure:3603: result: yes
configure:3571: checking for string.h
configure:3584: gcc -c -g -O2  conftest.c >&5
configure:3587: $? = 0
configure:3590: test -s conftest.o
configure:3593: $? = 0
configure:3603: result: yes
configure:3571: checking for memory.h
configure:3584: gcc -c -g -O2  conftest.c >&5
configure:3587: $? = 0
configure:3590: test -s conftest.o
configure:3593: $? = 0
configure:3603: result: yes
configure:3571: checking for strings.h
configure:3584: gcc -c -g -O2  conftest.c >&5
configure:3587: $? = 0
configure:3590: test -s conftest.o
configure:3593: $? = 0
configure:3603: result: yes
configure:3571: checking for inttypes.h
configure:3584: gcc -c -g -O2  conftest.c >&5
configure:3587: $? = 0
configure:3590: test -s conftest.o
configure:3593: $? = 0
configure:3603: result: yes
configure:3571: checking for stdint.h
configure:3584: gcc -c -g -O2  conftest.c >&5
configure:3612: stdint.h: No such file or directory
configure:3587: $? = 1
configure: failed program was:
#line 3576 "configure"
#include "confdefs.h"
#include <stdio.h>
#if HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#if HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#if STDC_HEADERS
# include <stdlib.h>
# include <stddef.h>
#else
# if HAVE_STDLIB_H
#  include <stdlib.h>
# endif
#endif
#if HAVE_STRING_H
# if !STDC_HEADERS && HAVE_MEMORY_H
#  include <memory.h>
# endif
# include <string.h>
#endif
#if HAVE_STRINGS_H
# include <strings.h>
#endif
#if HAVE_INTTYPES_H
# include <inttypes.h>
#else
# if HAVE_STDINT_H
#  include <stdint.h>
# endif
#endif
#if HAVE_UNISTD_H
# include <unistd.h>
#endif

#include <stdint.h>
configure:3603: result: no
configure:3571: checking for unistd.h
configure:3584: gcc -c -g -O2  conftest.c >&5
configure:3587: $? = 0
configure:3590: test -s conftest.o
configure:3593: $? = 0
configure:3603: result: yes
configure:3629: checking dlfcn.h usability
configure:3638: gcc -c -g -O2  conftest.c >&5
configure:3641: $? = 0
configure:3644: test -s conftest.o
configure:3647: $? = 0
configure:3656: result: yes
configure:3660: checking dlfcn.h presence
configure:3667: gcc -E  conftest.c
configure:3673: $? = 0
configure:3691: result: yes
configure:3709: checking for dlfcn.h
configure:3716: result: yes
configure:3913: checking for ranlib
configure:3929: found /usr/bin/ranlib
configure:3940: result: ranlib
configure:3993: checking for strip
configure:4009: found /usr/bin/strip
configure:4020: result: strip
configure:4231: checking for objdir
configure:4242: result: .libs
configure:4259: checking for gcc option to produce PIC
configure:4409: result: -fPIC
configure:4413: checking if gcc PIC flag -fPIC works
configure:4439: gcc -c -g -O2 -fPIC -DPIC  conftest.c >&5
configure:4442: $? = 0
configure:4445: test -s conftest.o
configure:4448: $? = 0
configure:4485: result: yes
configure:4501: checking if gcc static flag -static works
configure:4528: gcc -o conftest -g -O2   -static conftest.c  >&5
configure:4531: $? = 0
configure:4534: test -s conftest
configure:4537: $? = 0
configure:4552: result: yes
configure:4564: checking if gcc supports -c -o file.o
configure:4586: gcc -c -g -O2 -o out/conftest2.o  conftest.c >&5
configure:4608: result: yes
configure:4613: checking if gcc supports -c -o file.lo
configure:4643: gcc -c -g -O2 -c -o conftest.lo  conftest.c >&5
configure:4646: $? = 0
configure:4649: test -s conftest.lo
configure:4652: $? = 0
configure:4673: result: yes
configure:4704: checking if gcc supports -fno-rtti -fno-exceptions
configure:4729: gcc -c -g -O2 -fno-rtti -fno-exceptions -c conftest.c  conftest.c >&5
configure:4732: $? = 0
configure:4735: test -s conftest.o
configure:4738: $? = 0
configure:4754: result: yes
configure:4765: checking whether the linker (/usr/libexec/elf/ld) supports shared libraries
configure:5445: result: yes
configure:5450: checking how to hardcode library paths into programs
configure:5474: result: immediate
configure:5479: checking whether stripping libraries is possible
configure:5484: result: yes
configure:5495: checking dynamic linker characteristics
configure:5888: result: freebsd4.6 ld.so
configure:5893: checking if libtool supports shared libraries
configure:5895: result: yes
configure:5898: checking whether to build shared libraries
configure:5919: result: yes
configure:5922: checking whether to build static libraries
configure:5926: result: no
configure:6588: checking whether -lc should be explicitly linked in
configure:6596: gcc -c -g -O2  conftest.c >&5
configure:6599: $? = 0
configure:6613: gcc -shared conftest.o  -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| grep  -lc  \>/dev/null 2\>\&1
configure:6616: $? = 1
configure:6629: result: yes
configure:7209: checking whether to enable maintainer-specific portions of Makefiles
configure:7218: result: no
configure:7235: checking for some Win32 platform
configure:7245: result: no
configure:7258: checking for native Win32
configure:7269: result: no
configure:7450: checking whether build environment is sane
configure:7493: result: yes
configure:7498: checking for strerror in -lcposix
configure:7531: gcc -o conftest -g -O2   conftest.c -lcposix   >&5
/usr/libexec/elf/ld: cannot find -lcposix
configure:7534: $? = 1
configure: failed program was:
#line 7505 "configure"
#include "confdefs.h"

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char strerror ();
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
strerror ();
  ;
  return 0;
}
configure:7551: result: no
configure:7562: checking for gcc option to accept ANSI C
configure:7627: gcc  -c -g -O2  conftest.c >&5
configure:7630: $? = 0
configure:7633: test -s conftest.o
configure:7636: $? = 0
configure:7650: result: none needed
configure:7673: checking for a BSD-compatible install
configure:7727: result: /usr/bin/install -c
configure:7738: checking whether make sets ${MAKE}
configure:7758: result: yes
configure:7809: checking for pkg-config
configure:7827: found /usr/local/bin/pkg-config
configure:7840: result: /usr/local/bin/pkg-config
configure:7857: checking for glib-2.0 >= 2.0.6 atk >= 1.0.1 pango >= 1.0.1
configure:7896: error: Library requirements (glib-2.0 >= 2.0.6 atk >= 1.0.1 pango >= 1.0.1) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i386-unknown-freebsd4.6
ac_cv_build_alias=i386-unknown-freebsd4.6
ac_cv_c_compiler_gnu=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_exeext=
ac_cv_header_dlfcn_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=no
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=i386-unknown-freebsd4.6
ac_cv_host_alias=i386-unknown-freebsd4.6
ac_cv_lib_cposix_strerror=no
ac_cv_objext=o
ac_cv_path_PKG_CONFIG=/usr/local/bin/pkg-config
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_cc_g=yes
ac_cv_prog_make_make_set=yes
am_cv_prog_cc_stdc=
lt_cv_archive_cmds_need_lc=yes
lt_cv_compiler_c_o=yes
lt_cv_compiler_o_lo=yes
lt_cv_deplibs_check_method=pass_all
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
lt_cv_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/  {\"\1\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \([^ ]*\) \([^ ]*\)$/  {"\2", (lt_ptr) \&\2},/p'\'''
lt_cv_global_symbol_to_cdecl='sed -n -e '\''s/^. .* \(.*\)$/extern char \1;/p'\'''
lt_cv_ld_reload_flag=-r
lt_cv_path_LD=/usr/libexec/elf/ld
lt_cv_path_NM='/usr/bin/nm -B'
lt_cv_prog_cc_can_build_shared=yes
lt_cv_prog_cc_no_builtin=
lt_cv_prog_cc_pic=' -fPIC'
lt_cv_prog_cc_pic_works=yes
lt_cv_prog_cc_shlib=
lt_cv_prog_cc_static=-static
lt_cv_prog_cc_static_works=yes
lt_cv_prog_cc_wl=-Wl,
lt_cv_prog_gnu_ld=yes
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGISTW][ABCDGISTW]*\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p'\'''
lt_cv_sys_path_separator=:

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define GETTEXT_PACKAGE "gtk20"
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_UNISTD_H 1
#define HAVE_DLFCN_H 1
#define GTK_COMPILED_WITH_DEBUGGING "minimum"

configure: exit 1

  Рекомендовать в FAQ | Cообщить модератору | Наверх

3. "RE: спасибо за отклик! Расписываю пошагово!"
Сообщение от lavr emailИскать по авторуВ закладки on 08-Авг-02, 18:53  (MSK)
>может долго, но подробно! не гневайтесь =)
>Все ставить пытаюсь с исходников.

все понятно, совет такой, если опыта самостоятельной сборки нет, лучше
начать с портов:

cd /usr/ports/graphics
ls -la | grep gimp

либо
cd gimp-devel
make
make install
все зависимые пакеты и в свою очередь их зависимости будут собираться
из портов автоматически

либо тоже самое но
cd gimp1
make
make install

зависимости можно смотреть в Makefile и

http://www.freebsd.org/ports/
http://www.FreeBSD.org/cgi/ports.cgi?query=gimp&stype=all

иначе, необходимо самостоятельно установить массу гнутых утилит:
gmake/m4/autoconf/...
массу библиотек и инструментов, при этом отдавая себе отчет как и куда
они ставятся, самостоятельно делать нужные патчи, не забывать после
установки библиотек запускать ldconfig -m, а configure запускать с
нужными опциями по месторасположению библиотек, инклюдов и прочее,
в случае успешного завершения configure - создания Makefiles, компилировать используя gmake, в случае неудачного завершения - править
configure под FreeBSD и свою конфигурацию системы

  Рекомендовать в FAQ | Cообщить модератору | Наверх

4. "спасибо "
Сообщение от boffin emailИскать по авторуВ закладки on 08-Авг-02, 19:11  (MSK)
да я вот и хотел попробовать сам все поставить чтобы понять что для чего нужно :(
придется тады ставить с портов :( ну я так и ни чему не научусь и не буду отдавать отчет если все будет ставится само сабой :(
Или я не прав, а просто тороплю события? =)
  Рекомендовать в FAQ | Cообщить модератору | Наверх

5. "RE: спасибо "
Сообщение от lavr emailИскать по авторуВ закладки on 08-Авг-02, 19:32  (MSK)
>да я вот и хотел попробовать сам все поставить чтобы понять что
>для чего нужно :(
>придется тады ставить с портов :( ну я так и ни чему
>не научусь и не буду отдавать отчет если все будет ставится
>само сабой :(
>Или я не прав, а просто тороплю события? =)

даже и не знаю что сказать...

оно конечно верно, но только уж сразу пошла попытка с gimp'а :(
обычно все раскручивается начиная с компилятора, и дальше уже само
пошло-поехало, после того как джентельменский набор гнутого SDK
установлен, включая binutils, filesutils, textutils и разный прочий
хлам, дело доходит до сборки X11R6, после чего оконные менеджеры,
GTK, QT, разные x'овые утилиты и x-apps, ну и как результат ImageMagic,
GIMP. Те сам по себе процесс довольно длительный по времени от нескольких
дней до месяца, потом обычно уже есть готовые Makefiles и общий скрипт
сборки, эту технологию обычно на коммерческих OS проходишь, после чего
в Linux/FreeBSD пользуешь для наполнения системы частично rpm и pkg,
а все важное из srpms и портов под себя, с нужными себе правками.
Почему с компилятора как бы идет основа, потому что последовательно
и вся зависимость, структура вырисовывается и понимание какой софт:
зачем, для чего и почему
Хотя, можно и с gimp'а начать, только иметь ввиду что в каждом sources
придется читать документацию и что к чему, и все это время.

  Рекомендовать в FAQ | Cообщить модератору | Наверх


Удалить

Индекс форумов | Темы | Пред. тема | След. тема
Пожалуйста, прежде чем написать сообщение, ознакомьтесь с данными рекомендациями.




Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2025 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру