Страница 1 из 1

новый порт - www/mod_auth_ntlm_winbind - грабли сборки

Добавлено: 2008-07-03 14:04:45
Alex Keda
сабж. имею на выводе такое:

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

orion# cd /usr/ports/www/mod_auth_ntlm_winbind/
orion# make
===>  Vulnerability check disabled, database not found
===>  Extracting for mod_auth_ntlm_winbind-0.0.0
=> MD5 Checksum OK for mod_auth_ntlm_winbind-0.0.0.tar.gz.
=> SHA256 Checksum OK for mod_auth_ntlm_winbind-0.0.0.tar.gz.
===>  Patching for mod_auth_ntlm_winbind-0.0.0
===>   mod_auth_ntlm_winbind-0.0.0 depends on file: /usr/local/bin/smbclient - found
===>   mod_auth_ntlm_winbind-0.0.0 depends on file: /usr/local/sbin/apxs - found
===>  Configuring for mod_auth_ntlm_winbind-0.0.0
configure: WARNING: you should use --build, --host, --target
checking for i386-portbld-freebsd7.0-gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 ANSI C... none needed
checking how to run the C preprocessor... cc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for apxs2... no
checking for apxs... /usr/local/sbin/apxs
checking for httpd... /usr/local/sbin/httpd
Building for Apache 2.
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 for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking nss_common.h usability... no
checking nss_common.h presence... no
checking for nss_common.h... no
checking nss.h usability... yes
checking nss.h presence... yes
checking for nss.h... yes
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for short... yes
checking size of short... 2
configure: creating ./config.status
config.status: creating Makefile
===>  Building for mod_auth_ntlm_winbind-0.0.0
make: don't know how to make all. Stop
*** Error code 2

Stop in /usr/ports/www/mod_auth_ntlm_winbind.
orion#    
идеи есть?

Re: новый порт - www/mod_auth_ntlm_winbind - грабли сборки

Добавлено: 2008-07-03 14:12:41
paradox_
ну не знает оно цели all
нужно просто make
порт кривой

Re: новый порт - www/mod_auth_ntlm_winbind - грабли сборки

Добавлено: 2008-07-03 14:14:58
manefesto
возмодно надо собирать с помощью GMAKE
Попробуй в Makefile

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

GMAKE=yes
Надеюсь оно

Re: новый порт - www/mod_auth_ntlm_winbind - грабли сборки

Добавлено: 2008-07-03 14:27:27
Alex Keda
тоже самое, тока ругаться начинает по русски =)
правильно опция звучит как

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

USE_GMAKE = yes

Re: новый порт - www/mod_auth_ntlm_winbind - грабли сборки

Добавлено: 2008-07-03 14:28:00
Alex Keda
руками, кстати, собирается без проблем.

Re: новый порт - www/mod_auth_ntlm_winbind - грабли сборки

Добавлено: 2008-07-03 14:32:24
manefesto
слушай....
попробуй

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

make config
cd work/<name_port>
make
Просто получается что make криво стартует с криво, либо криво отрабатывает ./configure

Re: новый порт - www/mod_auth_ntlm_winbind - грабли сборки

Добавлено: 2008-07-03 14:34:14
Alex Keda
ты о чём...
я этот порт рисую... нету там конфига...

Re: новый порт - www/mod_auth_ntlm_winbind - грабли сборки

Добавлено: 2008-07-03 14:47:49
manefesto
я понял что ты рисуешь.
Но как ты хочешь отдебажить на чем у тебя затык.
а блин....ступил...
есть вроде make configure, если я не ошибаюсь которая запускать ./configure с необходимыми параметрами.
===================
А что аналогии с другими портами не получается сделать???

Re: новый порт - www/mod_auth_ntlm_winbind - грабли сборки

Добавлено: 2008-07-05 9:39:45
Alex Keda
вопщем без идей...
значит надо править мейк-файл - добавлять цель...

Re: новый порт - www/mod_auth_ntlm_winbind - грабли сборки

Добавлено: 2008-07-05 20:44:14
manefesto
слушай...а как установить твой порт в своё дерево....как работать с shar файлами ?
а то порт хочу нарисовать...

Re: новый порт - www/mod_auth_ntlm_winbind - грабли сборки

Добавлено: 2008-07-05 20:56:37
Alex Keda

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

cd /usr/ports
sh /path/to/file
ты лучше по этому бы подсказал =)))

Re: новый порт - www/mod_auth_ntlm_winbind - грабли сборки

Добавлено: 2008-07-06 7:06:53
manefesto
щас себе поставлю и смотреть буду.

Re: новый порт - www/mod_auth_ntlm_winbind - грабли сборки

Добавлено: 2008-07-06 17:20:49
bakake
Там на сайте у себя афтар написал что еще и цели инсталл в макефайле нет. Пилить по-любому крупным рашпилем :)

Re: новый порт - www/mod_auth_ntlm_winbind - грабли сборки

Добавлено: 2008-07-06 17:55:22
Alex Keda
ясно...
тогда завтра распилю...

Re: новый порт - www/mod_auth_ntlm_winbind - грабли сборки

Добавлено: 2008-07-06 18:21:45
manefesto
вообщем посмотрел немного.
Для всех остальных портов www/mod_*
в основном есть цель all для make.
Вариант это поправить work/<port name>/Makefile и добавить цель all или найти как в /usr/port/Mk/bsd* указать не собирать цель all.
Пока что пошел первым путем. Результат пока нулевой. Никогда не правил make файлы сорцов

Re: новый порт - www/mod_auth_ntlm_winbind - грабли сборки

Добавлено: 2008-07-06 18:32:51
manefesto

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

 15 $(SODIR)mod_auth_ntlm_winbind.so: $(MOD_NTLM_WINBIND_SRC)
 16     $(APXS) $(APXS_FLAGS) -Wc,-Wall -c $(MOD_NTLM_WINBIND_SRC)
+ 17 all: $(SODIR)mod_auth_ntlm_winbind.so
 18 install: $(SODIR)mod_auth_ntlm_winbind.so
но почему то ставит модуль в корень