utmp.h && utmpx.h --> не ставится sessreg

Проблемы с установкой, настройкой и работой системных и сетевых программ.

Модераторы: GRooVE, alexco

Правила форума
Убедительная просьба юзать теги [code] при оформлении листингов.
Сообщения не оформленные должным образом имеют все шансы быть незамеченными.
Аватара пользователя
dekloper
ст. лейтенант
Сообщения: 1331
Зарегистрирован: 2008-02-24 15:43:19
Откуда: давно здесь сидим..
Контактная информация:

utmp.h && utmpx.h --> не ставится sessreg

Непрочитанное сообщение dekloper » 2011-03-20 12:36:11

подскажите, что случилось с заголовком utmpx.h ?..
я так понимаю, именно ввиду его отсутствия, вот такая фигня

Код: Выделить всё

===>  Installing for xorg-7.5.1
===>   xorg-7.5.1 depends on file: /usr/local/libdata/pkgconfig/dri.pc - found
===>   xorg-7.5.1 depends on file: /usr/local/libdata/pkgconfig/xbitmaps.pc - found
===>   xorg-7.5.1 depends on file: /usr/local/lib/X11/icons/handhelds/cursors/X_cursor - found
===>   xorg-7.5.1 depends on file: /usr/local/share/X11/doc/hardcopy/BDF/bdf.PS.gz - found
===>   xorg-7.5.1 depends on file: /usr/local/libdata/xorg/apps - not found
===>    Verifying install for /usr/local/libdata/xorg/apps in /usr/ports/x11/xorg-apps
===>  Installing for xorg-apps-7.5.1
===>   xorg-apps-7.5.1 depends on executable: appres - found
===>   xorg-apps-7.5.1 depends on executable: bitmap - found
===>   xorg-apps-7.5.1 depends on executable: dga - found
===>   xorg-apps-7.5.1 depends on executable: iceauth - found
===>   xorg-apps-7.5.1 depends on executable: luit - found
===>   xorg-apps-7.5.1 depends on executable: mkfontdir - found
===>   xorg-apps-7.5.1 depends on executable: mkfontscale - found
===>   xorg-apps-7.5.1 depends on executable: sessreg - not found
===>    Verifying install for sessreg in /usr/ports/x11/sessreg
===>  Building for sessreg-1.0.6
make  all-am
  CCLD   sessreg
*** Error code 1

Stop in /tmp/usr/ports/x11/sessreg/work/sessreg-1.0.6.
*** Error code 1
 
система - STABLE 8.2, сорс (ОСи и портов) - вчерашнего стягивания\компиляния..

надыбал вот здеся такой патчик, но в данном случае он уже не актуальный, всё там уже поправлено..
но грабли не исчезли.. :(
ТОВАгИЩИ! БгАТЬЯ И СЕСТгЫ! ДОЛОЙ гАВНОДУШИЕ!

Хостинговая компания Host-Food.ru
Хостинг HostFood.ru
 

Услуги хостинговой компании Host-Food.ru

Хостинг HostFood.ru

Тарифы на хостинг в России, от 12 рублей: https://www.host-food.ru/tariffs/hosting/
Тарифы на виртуальные сервера (VPS/VDS/KVM) в РФ, от 189 руб.: https://www.host-food.ru/tariffs/virtualny-server-vps/
Выделенные сервера, Россия, Москва, от 2000 рублей (HP Proliant G5, Intel Xeon E5430 (2.66GHz, Quad-Core, 12Mb), 8Gb RAM, 2x300Gb SAS HDD, P400i, 512Mb, BBU):
https://www.host-food.ru/tariffs/vydelennyi-server-ds/
Недорогие домены в популярных зонах: https://www.host-food.ru/domains/

Аватара пользователя
hizel
дядя поня
Сообщения: 9032
Зарегистрирован: 2007-06-29 10:05:02
Откуда: Выборг

Re: utmp.h && utmpx.h --> не ставится sessreg

Непрочитанное сообщение hizel » 2011-03-20 17:31:09

в логе не вижу ничо о utmpx, freebsd прыгнуло на utmpx в -CURRENT
В дурацкие игры он не играет. Он просто жуткий, чу-чу, паровозик, и зовут его Блейн. Блейн --- это Боль.

Аватара пользователя
dekloper
ст. лейтенант
Сообщения: 1331
Зарегистрирован: 2008-02-24 15:43:19
Откуда: давно здесь сидим..
Контактная информация:

Re: utmp.h && utmpx.h --> не ставится sessreg

Непрочитанное сообщение dekloper » 2011-03-20 21:22:50

hizel писал(а):freebsd прыгнуло на utmpx в -CURRENT
тем более, странно
вот лог конфигуряния

Код: Выделить всё

ports/x11/sessreg>make install                                                   ===>  Vulnerability check disabled, database not found
===>  License check disabled, port has not defined LICENSE
===>  Extracting for sessreg-1.0.6
=> SHA256 Checksum OK for xorg/app/sessreg-1.0.6.tar.bz2.
===>  Patching for sessreg-1.0.6
===>   sessreg-1.0.6 depends on file: /usr/local/share/aclocal/xorg-macros.m4 - found
===>   sessreg-1.0.6 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found
===>   sessreg-1.0.6 depends on file: /usr/local/bin/automake-1.11 - found
===>   sessreg-1.0.6 depends on file: /usr/local/bin/autoconf-2.68 - found
===>   sessreg-1.0.6 depends on executable: pkg-config - found
===>  Configuring for sessreg-1.0.6
/usr/local/share/aclocal/smpeg.m4:13: warning: underquoted definition of AM_PATH_SMPEG
/usr/local/share/aclocal/smpeg.m4:13:   run info '(automake)Extending aclocal'
/usr/local/share/aclocal/smpeg.m4:13:   or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
checking build system type... i386-portbld-freebsd8.2
checking host system type... i386-portbld-freebsd8.2
checking for gcc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cpp
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking dependency style of cc... gcc3
checking whether to enable maintainer-specific portions of Makefiles... no
checking for cc option to accept ISO C99... -std=gnu99
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gcc... (cached) cc
checking whether we are using the GNU C compiler... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ISO C89... (cached) none needed
checking for cc option to accept ISO C99... (cached) -std=gnu99
checking lastlog.h usability... no
checking lastlog.h presence... no
checking for lastlog.h... no
checking utmp.h usability... yes
checking utmp.h presence... yes
checking for utmp.h... yes
checking utmpx.h usability... yes
checking utmpx.h presence... yes
checking for utmpx.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for struct utmpx.ut_syslen... no
checking for updwtmpx... no
checking for utmpxname... no
checking for SESSREG... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
===>  Building for sessreg-1.0.6
make  all-am
  CC     sessreg.o
  CCLD   sessreg
sessreg.o(.text+0xec): In function `UtmpxIdOpen':
: undefined reference to `setutxent'
sessreg.o(.text+0xf1): In function `UtmpxIdOpen':
: undefined reference to `getutxent'
sessreg.o(.text+0x121): In function `UtmpxIdOpen':
: undefined reference to `endutxent'
sessreg.o(.text+0x131): In function `UtmpxIdOpen':
: undefined reference to `endutxent'
sessreg.o(.text+0xa7f): In function `main':
: undefined reference to `setutxent'
sessreg.o(.text+0xa8d): In function `main':
: undefined reference to `getutxid'
sessreg.o(.text+0xa95): In function `main':
: undefined reference to `pututxline'
sessreg.o(.text+0xa9a): In function `main':
: undefined reference to `endutxent'
sessreg.o(.text+0xb87): In function `main':
: undefined reference to `getutxent'
sessreg.o(.text+0xbc9): In function `main':
: undefined reference to `endutxent'
*** Error code 1

Stop in /usr/_pub_nfs/ports/x11/sessreg/work/sessreg-1.0.6.
*** Error code 1

Stop in /usr/_pub_nfs/ports/x11/sessreg/work/sessreg-1.0.6.
*** Error code 1

почему то в config.h, все, касаемо utmpx было выставлено в 1
я их пробывал убирать, как то так:

Код: Выделить всё

/* Define to 1 if you have the `updwtmpx' function. */
#undef HAVE_UPDWTMPX

/* Define to 1 if you have the `utmpxname' function. */
#undef HAVE_UTMPXNAME

/* Define to 1 if you have the <utmpx.h> header file. */
#define HAVE_UTMPX_H 0

/* utmpx structure includes ut_syslen field */
#define HAVE_UTMPX_UT_SYSLEN 0

/* Define to 1 if you have the <utmp.h> header file. */
#define HAVE_UTMP_H 1
все равно таже фигня
ТОВАгИЩИ! БгАТЬЯ И СЕСТгЫ! ДОЛОЙ гАВНОДУШИЕ!