[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[mhc:01507] Re: Problem building mhc cvs and snap20010625
From: sen_ml@xxxxxxxxxxx
Subject: [mhc:01503] Problem building mhc cvs and snap20010625
Date: Wed, 12 Dec 2001 14:46:49 +0900 (JST)
Message-ID: <20011212.144649.68545905@xxxxxxxxxxxxxx>
> I'm trying to make a package for mhc for NetBSD, but I'm having
> problems with the configuration step.
:
> ruby configure.rb --pilot-link-lib=/usr/pkg/lib --pilot-link-inc=/usr/pkg/include
:
> In /usr/pkg/lib .. checking for pi_socket() in -lpisock... no
> ######################################################
> Fatal: could not find pisock .. aborting.
> Fatal: option --pilot-link-lib or --help may help you.
> ######################################################
This is a dirty patch for using on NetBSD:
*** mhc-make.rb.org Tue Apr 10 10:16:21 2001
--- mhc-make.rb Wed Dec 12 15:28:01 2001
***************
*** 355,361 ****
search_path .each{|lib_path|
print "In #{lib_path} .. "
! $LDFLAGS = "-L#{lib_path}"
if have_library(libname, funcname)
found_lib_path = lib_path
break
--- 355,361 ----
search_path .each{|lib_path|
print "In #{lib_path} .. "
! $LDFLAGS = "-L#{lib_path} -R#{lib_path}"
if have_library(libname, funcname)
found_lib_path = lib_path
break
***************
*** 364,370 ****
$LDFLAGS = ldflags
if found_lib_path
! @macros['@@MHC_LDFLAGS@@'] += " -L#{found_lib_path} "
@macros[macroname] = found_lib_path
elsif abort
search_abort(libname, macroname)
--- 364,370 ----
$LDFLAGS = ldflags
if found_lib_path
! @macros['@@MHC_LDFLAGS@@'] += " -L#{found_lib_path} -R#{found_lib_path}"
@macros[macroname] = found_lib_path
elsif abort
search_abort(libname, macroname)
--
NOGUCHI Yusuke, <y-noguchi@xxxxxxxxxxxxx>
NEC Laboratories, Network Laboratory
Personal Network Technology Group
Phone: +8-44-856-2082 (NEC Int:8-272-3250)
FAX: +8-44-856-8494