Перейти до

No Rule To Make Target `-lc_r' ...


Рекомендованные сообщения

Начнем по порядку (:

gw# uname -rs

FreeBSD 7.0-STABLE

 

gw# pkg_info | less

apache-2.2.6_2 Version 2.2 of Apache web server with prefork MPM.

atk-1.20.0 A GNOME accessibility toolkit (ATK)

autoconf-2.61_2 Automatically configure source code on many Un*x platforms

autoconf-wrapper-20071109 Wrapper script for GNU autoconf

automake-1.9.6_2 GNU Standards-compliant Makefile generator (1.9)

automake-wrapper-20071109 Wrapper script for GNU automake

bash-3.2.39 The GNU Project's Bourne Again SHell

bitstream-vera-1.10_4 Bitstream Vera TrueType font collection

ca_root_nss-3.11.7 The root certificate bundle from the Mozilla Project

cairo-1.4.10_1 Vector graphics library with cross-device output support

compat4x-i386-5.3_9 A convenience package to install the compat4x libraries

compat5x-i386-5.4.0.8_9 A convenience package to install the compat5x libraries

compositeproto-0.4 Composite extension headers

cvsup-without-gui-16.1h_3 General network file distribution system optimized for CVS

damageproto-1.1.0_2 Damage extension headers

db41-4.1.25_4 The Berkeley DB package, revision 4.1

encodings-1.0.2,1 X.Org Encoding fonts

expat-2.0.1 XML 1.0 parser written in C

fetchmail-6.3.8_4 Batch mail retrieval utility for IMAP/POP3/ETRN/ODMR

fixesproto-4.0 Fixes extension headers

font-bh-ttf-1.0.0 X.Org Bigelow & Holmes TTF font

font-misc-ethiopic-1.0.0 X.Org miscellaneous Ethiopic font

font-misc-meltho-1.0.0_1 X.Org miscellaneous Meltho font

font-util-1.0.1 Create an index of X font files in a directory

fontcacheproto-0.1.2 Fontcache extension headers

fontconfig-2.5.0,1 An XML-based font configuration API for X Windows

fontsproto-2.0.2 Fonts extension headers

freetype2-2.3.5 A free and portable TrueType font rendering engine

gettext-0.16.1_3 GNU gettext package

glib-2.14.2 Some useful routines of C programming (current stable versi

gmake-3.81_2 GNU version of 'make' utility

gnutls-2.0.2_1 GNU Transport Layer Security library

gtar-1.18_1 GNU version of the traditional tar archiver

hicolor-icon-theme-0.10_2 A high-color icon theme shell from the FreeDesktop project

inputproto-1.4.2.1 Input extension headers

isc-dhcp3-client-3.0.5 The ISC Dynamic Host Configuration Protocol client

isc-dhcp3-server-3.0.5_2 The ISC Dynamic Host Configuration Protocol server

jpeg-6b_4 IJG's jpeg compression utilities

kbproto-1.0.3 KB extension headers

libFS-1.0.0 The FS library

libICE-1.0.4,1 Inter Client Exchange library for X11

libSM-1.0.3,1 Session Management library for X11

libX11-1.1.3,1 X11 library

libXScrnSaver-1.1.2 The XScrnSaver library

libXTrap-1.0.0 The XTrap library

libXau-1.0.3_2 Authentication Protocol library for X11

libXaw-1.0.4,1 X Athena Widgets library

libXcomposite-0.4.0,1 X Composite extension library

libXcursor-1.1.9 X client-side cursor loading library

libXdamage-1.1.1 X Damage extension library

libXdmcp-1.0.2 X Display Manager Control Protocol library

libXevie-1.0.2 The Xevie library

libXext-1.0.3,1 X11 Extension library

libXfixes-4.0.3 X Fixes extension library

libXfont-1.3.1_2,1 X font libary

libXfontcache-1.0.4 The Xfontcache library

libXft-2.1.12 A client-sided font API for X applications

libXi-1.1.3,1 X Input extension library

libXinerama-1.0.2,1 X11 Xinerama library

libXmu-1.0.3,1 X Miscellaneous Utilities libraries

libXp-1.0.0,1 X print library

libXpm-3.5.7 X Pixmap library

libXprintAppUtil-1.0.1 The XprintAppUtil library

libXprintUtil-1.0.1 The XprintUtil library

libXrandr-1.2.2 X Resize and Rotate extension library

libXrender-0.9.4 X Render extension library

libXres-1.0.3_2 X Resource usage library

libXt-1.0.5 X Toolkit library

libXtst-1.0.3 X Test extension

libXv-1.0.3,1 X Video Extension library

libXvMC-1.0.4 X Video Extension Motion Compensation library

libXxf86dga-1.0.2 X DGA Extension

libXxf86dga-1.0.2 X DGA Extension

libXvMC-1.0.4 X Video Extension Motion Compensation library

libXxf86dga-1.0.2 X DGA Extension

libXxf86misc-1.0.1 X XF86-Misc Extension

libXxf86vm-1.0.1 X Vidmode Extension

libdmx-1.0.2 DMX extension library

libfontenc-1.0.4 The fontenc Library

libgcrypt-1.4.1 General purpose crypto library based on code used in GnuPG

libgpg-error-1.6 Common error values for all GnuPG components

libiconv-1.11_1 A character set conversion library

liboldX-1.0.1 Old X library

libtool-1.5.24 Generic shared library support script

libxkbfile-1.0.4 XKB file library

libxkbui-1.0.2 The xkbui library

libxml2-2.6.30 XML parser library for GNOME

localedata-5.4 Legacy locale data for FreeBSD 6+

lzo2-2.02_1 Portable speedy, lossless data compression library

m4-1.4.9,1 GNU m4

mc-4.6.1_6 Midnight Commander, a free Norton Commander Clone

mkfontdir-1.0.3 Create an index of X font files in a directory

mkfontscale-1.0.3 Creates an index of scalable font files for X

mysql-client-5.0.51a Multithreaded SQL database (client)

openssl-0.9.8g SSL and crypto library

openvpn-2.0.6_7 Secure IP/Ethernet tunnel daemon

pango-1.18.3 An open-source framework for the layout and rendering of i1

pcre-7.4 Perl Compatible Regular Expressions library

perl-5.8.8_1 Practical Extraction and Report Language

pkg-config-0.23_1 A utility to retrieve information about installed libraries

png-1.2.28 Library for manipulating PNG images

portupgrade-2.3.1,2 FreeBSD ports/packages administration and management tool s

postfix-2.4.6,1 A secure alternative to widely-used Sendmail

printproto-1.0.3 Print extension headers

randrproto-1.2.1 Randr extension headers

recordproto-1.13.2 RECORD extension headers

renderproto-0.9.3 RenderProto protocol headers

rsync-3.0.2 A network file distribution/synchronization utility

ruby-1.8.6.111_1,1 An object-oriented interpreted scripting language

ruby18-bdb-0.6.2 Ruby interface to Sleepycat's Berkeley DB revision 2 or lat

screen-4.0.3_1 A multi-screen window manager

scrnsaverproto-1.1.0 ScrnSaver extension headers

sudo-1.6.9.6 Allow others to run commands as root

trapproto-3.4.3 DEC-XTRAP extension headers

videoproto-2.2.2 Video extension headers

xextproto-7.0.2 XExt extension headers

xf86dgaproto-2.0.3 XFree86-DGA extension headers

xf86miscproto-0.9.2 XFree86-Misc extension headers

xf86vidmodeproto-2.2.2 XFree86-VidModeExtension extension headers

xineramaproto-1.1.2 Xinerama extension headers

xorg-fonts-truetype-7.3 X.Org TrueType fonts

xorg-fonts-truetype-7.3 X.Org TrueType fonts

xproto-7.0.10_1 X11 protocol headers

 

gw# cat ln_for_expat.sh

#!/bin/sh

ln -s /usr/local/bin/xmlwf /usr/bin/xmlwf

ln -s /usr/local/include/expat.h /usr/include/expat.h

ln -s /usr/local/include/expat_external.h /usr/include/expat_external.h

ln -s /usr/local/lib/libexpat.a /usr/lib/libexpat.a

ln -s /usr/local/lib/libexpat.la /usr/lib/libexpat.la

ln -s /usr/local/lib/libexpat.so.6 /usr/lib/libexpat.so.6

ln -s /usr/local/lib/libexpat.so.6 /usr/lib/libexpat.so

 

gw# ./ln_for_expat.sh

 

=================================================

 

Распаковываю исходники (stg-2.404.9.7.src.tgz),

захожу в /stg-2.404.9.7/projects/stargazer/,

правлю скрипт ./build для того, чтобы он не ругался на "семерку" :), а также одноименные скрипты в каталогах:

../convertor ; ../rscriptd ; ../sgauth; ../sgconf и ../sgonf_xml .

 

Итог:

gw# ./build | less

#############################################################################

Building STG 2.4 for FreeBSD 7

#############################################################################

Checking for -lexpat... yes

Checking for -lfbclient... no

Checking for -lmysqlclient... no

gmake -C /root/stargazer/stg-2.404.9.7/projects/stargazer/../../stglibs includes

gmake[1]: Entering directory `/root/stargazer/stg-2.404.9.7/stglibs'

gmake includes -C stg_logger.lib

gmake[2]: Entering directory `/root/stargazer/stg-2.404.9.7/stglibs/stg_logger.lib'

cp stg_logger.h /root/stargazer/stg-2.404.9.7/projects/stargazer/../../include

gmake[2]: Leaving directory `/root/stargazer/stg-2.404.9.7/stglibs/stg_logger.lib'

gmake includes -C stg_locker.lib

gmake[2]: Entering directory `/root/stargazer/stg-2.404.9.7/stglibs/stg_locker.lib'

cp stg_locker.h /root/stargazer/stg-2.404.9.7/projects/stargazer/../../include

gmake[2]: Leaving directory `/root/stargazer/stg-2.404.9.7/stglibs/stg_locker.lib'

gmake includes -C crypto.lib

gmake[2]: Entering directory `/root/stargazer/stg-2.404.9.7/stglibs/crypto.lib'

cp ag_md5.h blowfish.h /root/stargazer/stg-2.404.9.7/projects/stargazer/../../include

gmake[2]: Leaving directory `/root/stargazer/stg-2.404.9.7/stglibs/crypto.lib'

gmake includes -C common.lib

gmake[2]: Entering directory `/root/stargazer/stg-2.404.9.7/stglibs/common.lib'

cp debug.h stg_error.h common.h /root/stargazer/stg-2.404.9.7/projects/stargazer/../../include

gmake[2]: Leaving directory `/root/stargazer/stg-2.404.9.7/stglibs/common.lib'

gmake includes -C script_executer.lib

gmake[2]: Entering directory `/root/stargazer/stg-2.404.9.7/stglibs/script_executer.lib'

cp script_executer.h /root/stargazer/stg-2.404.9.7/projects/stargazer/../../include

gmake[2]: Leaving directory `/root/stargazer/stg-2.404.9.7/stglibs/script_executer.lib'

gmake includes -C conffiles.lib

gmake[2]: Entering directory `/root/stargazer/stg-2.404.9.7/stglibs/conffiles.lib'

cp conffiles.h /root/stargazer/stg-2.404.9.7/projects/stargazer/../../include

gmake[2]: Leaving directory `/root/stargazer/stg-2.404.9.7/stglibs/conffiles.lib'

gmake includes -C hostallow.lib

gmake[2]: Entering directory `/root/stargazer/stg-2.404.9.7/stglibs/hostallow.lib'

cp hostallow.h /root/stargazer/stg-2.404.9.7/projects/stargazer/../../include

gmake[2]: Leaving directory `/root/stargazer/stg-2.404.9.7/stglibs/hostallow.lib'

gmake includes -C pinger.lib

gmake[2]: Entering directory `/root/stargazer/stg-2.404.9.7/stglibs/pinger.lib'

cp pinger.h /root/stargazer/stg-2.404.9.7/projects/stargazer/../../include

gmake[2]: Leaving directory `/root/stargazer/stg-2.404.9.7/stglibs/pinger.lib'

gmake includes -C dotconfpp.lib

gmake[2]: Entering directory `/root/stargazer/stg-2.404.9.7/stglibs/dotconfpp.lib'

cp dotconfpp.h mempool.h /root/stargazer/stg-2.404.9.7/projects/stargazer/../../include

gmake[2]: Leaving directory `/root/stargazer/stg-2.404.9.7/stglibs/dotconfpp.lib'

gmake[1]: Leaving directory `/root/stargazer/stg-2.404.9.7/stglibs'

gmake -C /root/stargazer/stg-2.404.9.7/projects/stargazer/../../stglibs

gmake[1]: Entering directory `/root/stargazer/stg-2.404.9.7/stglibs'

gmake -C stg_logger.lib

:../Makefile.in:85: deps: No such file or directory

script_executer.cpp: In function 'int ScriptExec(const std::string&)':

script_executer.cpp:49: warning: type-punning to incomplete type might break strict-aliasing rules

../Makefile.in:85: deps: No such file or directory

../Makefile.in:85: deps: No such file or directory

../Makefile.in:85: deps: No such file or directory

../Makefile.in:85: deps: No such file or directory

../../Makefile.in:35: deps: No such file or directory

../../Makefile.in:35: deps: No such file or directory

inetaccess.cpp: In member function 'int AUTH_IA::PacketProcessor(char*, int, uint32_t, uint16_t, int, user_iter*)':

inetaccess.cpp:837: warning: 'ret' may be used uninitialized in this function

gmake[2]: *** No rule to make target `-lc_r', needed by `mod_auth_ia.so'. Stop.

gmake[1]: *** [authorization/inetaccess] Error 2

gmake: *** [plugins] Error 2

 

Подскажите пожайлуста, что я упустил? :)

Ссылка на сообщение
Поделиться на других сайтах

Создайте аккаунт или войдите в него для комментирования

Вы должны быть пользователем, чтобы оставить комментарий

Создать аккаунт

Зарегистрируйтесь для получения аккаунта. Это просто!

Зарегистрировать аккаунт

Вхід

Уже зарегистрированы? Войдите здесь.

Войти сейчас
  • Зараз на сторінці   0 користувачів

    Немає користувачів, що переглядають цю сторінку.

×
×
  • Створити нове...