tuning FB 7.2 stable for lighhttpd

2010-07-06 Thread sonjaya
dear all 

I need triks to tune up FreeBSD 7.2 stable for lighhttpd+php and mysql, i feel 
so slow, my enggine is IBM Xseries 3250M2 + 4 g + 250 G 

My Regard's
SONJAYA
http://www.sharenupload.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Limit p2p with pf n altq

2006-09-26 Thread sonjaya
Dear all

 any one here have some sample script to limit
connection for p2p ( edonkey , kazza , etc ) with pf
also how to limit  some ip not port with pf .
sory if my question so newbie
thx 

My Regard's

SONJAYA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


error squid when using pf

2006-04-26 Thread sonjaya
hi all 

i try use pf for transparant proxy ( i get from here
http://www.benzedrine.cx/transquid.html )
when i configure manual to use proxy is working fine .
then i try to use pf for redirection connection to
proxy :
int_if=vr0
ext_if=xl0

rdr on $int_if inet proto tcp from any to any port www
- 127.0.0.1 port 3128

pass in on $int_if inet proto tcp from any to
127.0.0.1 port 3128 keep state
pass out on $ext_if inet proto tcp from any to any
port www keep stat

i always get error = Unable to determine IP address
from host name for www.domain.com such like error dns
but my dns resolver working fine .
what should i chek squid or my pf script 

thx 



My Regard's

SONJAYA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Monitoring e-mails by TCP

2006-03-18 Thread sonjaya
if you connection good link may be like this : 

1. create mail server in u bsd 
LAN---mailserver--firewall-- internet 
every clien set smtp to mailserver

2.If you don't want create mail server n still need
outside my server :
LAN -- firewall plus SMTP-- internet   
every clien set smtp to firewall 
3. if you connection slow : 
LAN ---(fetchmail+SMTP+firewall)--- internet 
You set fetchmail to download email from you hosting
email and set your client to retrive n send  email
from you firewall. 

ps: mail server ( Postfix, qmail, sendmail etc )

 Hi,
 
   I'm very newbie  on freeBSD.
   I have already installed the Firewall(ipfw) + NAT,
 Squid + Sarg and 
 Apache Http Server, and is working pretty well! :-)
   Now I have a need, and I don't know if I can do it
 with a  BSD solution!
 
   My e-mail server is outside of my network, is a
 comercial mail server.
   But, my e-mail trafic pass through a BSD server,
 the one I've 
 mentioned before.
 
   So, what do I need to do?
   I need to make a copy of all received and
 delivered e-mail through my 
 network!
   Is this possible? Is there a sofware (free or
 not), or a firewall 
 configuration to do it?
   I think it would be a kind of TCP monitor on 
 ports 25 and 110, like 
 some antivirus that scan e-mail trafic looking for
 virus!
 
   Any help is welcome!
 
 Best regard for all.
 Rodrigo Souza
 Sao Paulo - Brazil
 ___
 freebsd-questions@freebsd.org mailing list

http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 


My Regard's

SONJAYA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


error ltdl

2006-02-09 Thread sonjaya
dear all 

i use freebsd 6.0 to install openldap , when i
configure from source not port i get error such like
this the error :
ecking dependency style of cc... (cached) none
checking for cc depend flag... -M
checking for afopen in -ls... no
checking ltdl.h usability... no
checking ltdl.h presence... no
checking for ltdl.h... no
configure: error: could not locate libtool ltdl.h

how to solved that .

My regards

My Regard's

SONJAYA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


replace ms exchange n active directory

2006-02-01 Thread sonjaya
dear all

 i want replace my old xchange + active directory with
samba-ldap .last time i try i can't show my address
book at ms outlook which the   source of address book
from ldap server.
right now i will try using fb 6.0 but i need some
tutorial how to install samba-ldap in fb 6.0 .
if member in here please share with me and i will
create tutorial how to as report in this mailist.

thx 


My Regard's

SONJAYA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


error when makebuildworld

2005-08-15 Thread sonjaya
dear all 

 i try update my fb box ( 5.2 release to 5.3 stable) ,
i do it  like this 

1. i made update all source of my kernel to 5.3 with
cvsup ( #cvsup -g -L 2 fileconf-CVS) 
2. #mergemaster -p 
3.make buildworld
and i get error like this  

WARNING: type @@ invalid
mkmagic: could not find any magic files!
*** Error code 1

Stop in /usr/cvsup/src/lib/libmagic.
*** Error code 1

Stop in /usr/cvsup/src/lib.
*** Error code 1

Stop in /usr/cvsup/src.
*** Error code 1

Stop in /usr/cvsup/src.
*** Error code 1

Stop in /usr/cvsup/src.
*** Error code 1

Stop in /usr/cvsup/src.
PAG_ROUTER# 

how i solved that problem ?

and second question : where i get manual for upgrade
my fb box from 5.2 release to 5.3 stable ?
thx before and now my fb 5.2 box still on because if i
reboot will never up againt .
my regard


SONJAYA

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


usb modem

2005-03-29 Thread sonjaya
dear all 
 i have usb modem and detect in my freebsd 5.3 , i
just want know how to configure that usb modem be
dial-up an dial-in .
thx 


SONJAYA

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


error net-snmp 5.2 rc3

2004-11-08 Thread sonjaya
dear all 

i try instal net-snmp.5.2 rc3 at my freebsd 5.2
release and install like usually:
#./configure 
bla
blac
#make
bla 
bla
terface_common.o /dev/null 21
mv -f if-mib/data_access/.libs/interface_common.lo
if-mib/data_access/interface_common.lo
/bin/sh ../../libtool --mode=compile gcc
-I../../include -I. -I../../agent
-I../../agent/mibgroup  -I../../snmplib   -g -O2
-Dfreebsd5 -c -o if-mib/data_access/interface_ioctl.lo
if-mib/data_access/interface_ioctl.c
rm -f if-mib/data_access/.libs/interface_ioctl.lo
gcc -I../../include -I. -I../../agent
-I../../agent/mibgroup -I../../snmplib -g -O2
-Dfreebsd5 -c if-mib/data_access/interface_ioctl.c 
-fPIC -DPIC -o
if-mib/data_access/.libs/interface_ioctl.lo
if-mib/data_access/interface_ioctl.c: In function
`netsnmp_access_interface_ioctl_ifindex_get':
if-mib/data_access/interface_ioctl.c:388: error:
structure has no member named `ifr_ifindex'
*** Error code 1

Stop in
/usr/local/src/net-snmp-5.2.rc3/agent/mibgroup.
*** Error code 1

Stop in /usr/local/src/net-snmp-5.2.rc3/agent.
*** Error code 1

Stop in /usr/local/src/net-snmp-5.2.rc3.

stop at there, what should i do to fix that .
thx 


=
SONJAYA

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


error when make in net-snmp

2004-11-04 Thread sonjaya
Dear all 
i try install net-snmp from source with this options
#./configure --prefix=/usr/local/net-snmp 
bla 
bla 
then 
#make 
bla bla 

-I./.. -I.. -g -O2 -Dfreebsd5 -c mibII/tcpTable.c 
-fPIC -DPIC -o mibII/.libs/tcpTable.lo
mibII/tcpTable.c: In function `tcpTable_next_entry':
mibII/tcpTable.c:419: error: structure has no member
named `inp_list'
mibII/tcpTable.c: In function `tcpTable_free':
mibII/tcpTable.c:429: error: structure has no member
named `inp_list'
mibII/tcpTable.c: In function `tcpTable_load':
mibII/tcpTable.c:698: error: structure has no member
named `xt_tp'
mibII/tcpTable.c:702: error: structure has no member
named `xt_inp'
*** Error code 1

Stop in /usr/local/src/net-snmp-5.1/agent/mibgroup.
*** Error code 1

Stop in /usr/local/src/net-snmp-5.1/agent.
*** Error code 1

Stop in /usr/local/src/net-snmp-5.1.
PAG_ROUTER#
-
i trys use ucd-snmp 4.2.6

same  get error like this bellow 


gcc -g -O2 -Dfreebsd5 -I. -I.. -I. -I./.. -c scapi.c 
-fPIC -DPIC -o .libs/scapi.lo
scapi.c: In function `sc_encrypt':
scapi.c:612: error: incompatible type for argument 1
of `memset'
scapi.c: In function `sc_decrypt':
scapi.c:725: error: incompatible type for argument 1
of `memset'
*** Error code 1

Stop in /usr/local/src/ucd-snmp-4.2.6/snmplib.
*** Error code 1

Stop in /usr/local/src/ucd-snmp-4.2.6.
PAG_ROUTER#

what should i do i do it in linux box is no problem 




=
SONJAYA

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: options FAST_IPSEC

2004-11-02 Thread sonjaya
is solved now 

thank's
--- Joost Bekkers [EMAIL PROTECTED] wrote:

 On Mon, Nov 01, 2004 at 10:16:47PM -0800, sonjaya
 wrote:
  
   i try use options VPN di my kernel ( Freebsd 5.2
  release) , and i use options FAST_IPSEC , but
 every
  make depend get error like this bellow :
  
  
  xform_ipcomp.o(.text+0x16f): undefined reference
 to
  `M_XDATA'
  xform_ipcomp.o(.text+0x194): undefined reference
 to
  `crypto_freereq'
  xform_ipcomp.o(.text+0x271): undefined reference
 to
  `crypto_dispatch'
  ...
  xform_ipcomp.o(.text+0xcd6): undefined reference
 to
  `crypto_freereq'
  *** Error code 1
  
 
 Did you inlcude 'device crypto'?
 
 see /sys/conf/NOTES for details.
 
 -- 
 greetz Joost
 [EMAIL PROTECTED]
 


=
SONJAYA

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ipnat.rules

2004-11-02 Thread sonjaya
dear all 

after i finish add in my kernel ipnat , i use this
sample script :
/etc/ipnat.rules :
map rl0 172.18.5.11/255.255.0.0  - 0.0.0.0/32 proxy
port ftp ftp/tcp ssh
map rl0 172.18.5.11/255.255.0.0 - 0.0.0.0/32 portmap
tcp/udp auto

in here my net :

lan--NAT server---internet


my question is :

1.how i must set ipnat.rules only some ip get nat
other can not user .
because if some pc station use the gateway my server
that pcstation get nat .

may be like this :
lan(non-nat)-|
lan(nat)-|---NAT Server---INternet

2. how i set the map rule in ipnat.rules , that lan do
not  have righ to nat to directly to proxy .

i'm so sory if my question is basic , because i new in
freebsd
thx






=
SONJAYA

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


message in my server

2004-11-02 Thread sonjaya
Dear all

i see in monitor my server  , like this message:

reply from 00:30:84:40:f6:3a on rl0
arp: 172.18.14.40 is on rl1 but got reply from
00:30:84:40:f3:ea on rl0
arp: 172.18.14.11 is on rl1 but got reply from
00:40:ca:2e:60:df on rl0
arp: 172.18.9.5 is on rl1 but got reply from
00:30:84:40:f0:74 on rl0
arp: 172.18.5.80 is on rl1 but got reply from
00:30:4f:1b:c0:19 on rl0
arp: 172.18.13.52 is on rl1 but got reply from
00:50:ba:c3:a2:6a on rl0
arp: 172.18.2.141 is on rl1 but got reply from
00:40:ca:2e:61:b8 on rl0
arp: 172.18.5.11 is on rl1 but got reply from
00:30:84:3c:9c:27 on rl0
arp: 172.18.5.11 is on rl1 but got reply from
00:30:84:3c:9c:27 on rl0
arp: 172.18.2.141 is on rl1 but got reply from
00:40:ca:2e:61:b8 on rl0
arp: 172.18.3.228 is on rl1 but got reply from
00:30:4f:1d:0d:2c on rl0
arp: 172.18.5.11 is on rl1 but got reply from
00:30:84:3c:9c:27 on rl0
arp: 172.18.3.17 is on rl1 but got reply from
00:01:03:c1:6b:65 on rl0
arp: 172.18.3.17 is on rl1 but got reply from
00:01:03:c1:6b:65 on rl0
arp: 172.18.3.17 is on rl1 but got reply from
00:01:03:c1:6b:65 on rl0
arp: 172.18.2.215 is on rl1 but got reply from
00:c0:26:64:10:22 on rl0
arp: 172.18.13.52 is on rl1 but got reply from
00:50:ba:c3:a2:6a on rl0
arp: 172.18.2.215 is on rl1 but got reply from
00:c0:26:64:10:22 on rl0
arp: 172.18.2.215 is on rl1 but got reply from
00:c0:26:64:10:22 on rl0
arp: 172.18.3.17 is on rl1 but got reply from
00:01:03:c1:6b:65 on rl0
arp: 172.18.2.215 is on rl1 but got reply from
00:c0:26:64:10:22 on rl0
arp: 172.18.3.17 is on rl1 but got reply from
00:01:03:c1:6b:65 on rl0
arp: 172.18.2.215 is on rl1 but got reply from
00:c0:26:64:10:22 on rl0

how i dismis this message in my server because make
the  log files bigger .
thx 

=
SONJAYA

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


nATd

2004-11-01 Thread sonjaya
Dear all 

 i ussually use iptables for NAT in my linux box , but
in freebsd i newbies , how to configure freebsd be NAT
server , i search i get 3 option :
1.use ipfw 
2.use NATD
3.use ipnat 

how to use that all with whis network :
192.168.1.1/24
lan-1freebsd--internet 

thx 





=
SONJAYA

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


options FAST_IPSEC

2004-11-01 Thread sonjaya
dear all


 i try use options VPN di my kernel ( Freebsd 5.2
release) , and i use options FAST_IPSEC , but every
make depend get error like this bellow :


xform_ipcomp.o(.text+0x16f): undefined reference to
`M_XDATA'
xform_ipcomp.o(.text+0x194): undefined reference to
`crypto_freereq'
xform_ipcomp.o(.text+0x271): undefined reference to
`crypto_dispatch'
xform_ipcomp.o: In function `ipcomp_input_cb':
xform_ipcomp.o(.text+0x36b): undefined reference to
`crypto_dispatch'
xform_ipcomp.o(.text+0x3f5): undefined reference to
`M_XDATA'
xform_ipcomp.o(.text+0x40a): undefined reference to
`crypto_freereq'
xform_ipcomp.o(.text+0x5c9): undefined reference to
`M_XDATA'
xform_ipcomp.o(.text+0x5dd): undefined reference to
`crypto_freereq'
xform_ipcomp.o: In function `ipcomp_output':
xform_ipcomp.o(.text+0x842): undefined reference to
`crypto_getreq'
xform_ipcomp.o(.text+0x8a9): undefined reference to
`M_XDATA'
xform_ipcomp.o(.text+0x8e6): undefined reference to
`crypto_freereq'
xform_ipcomp.o(.text+0x97e): undefined reference to
`crypto_dispatch'
xform_ipcomp.o: In function `ipcomp_output_cb':
xform_ipcomp.o(.text+0xac8): undefined reference to
`crypto_dispatch'
xform_ipcomp.o(.text+0xbf6): undefined reference to
`M_XDATA'
xform_ipcomp.o(.text+0xc06): undefined reference to
`crypto_freereq'
xform_ipcomp.o(.text+0xcc6): undefined reference to
`M_XDATA'
xform_ipcomp.o(.text+0xcd6): undefined reference to
`crypto_freereq'
*** Error code 1

Stop in /usr/src/sys/i386/compile/PAG.


=
SONJAYA

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ipfilter

2004-10-29 Thread sonjaya
dear all 
i try use ipnat in my kernel i use this :
options IPFILTER
options IPFILTER_LOG

this is correct because when i try make after make
depend i get error 

what should i do  ?


thx


=
SONJAYA

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ipfilter

2004-10-29 Thread sonjaya
here the log 
./../../contrib/ipfilter/netinet/ip_fil.c: In function
`fr_check_wrapper':
../../../contrib/ipfilter/netinet/ip_fil.c:319: error:
`PFIL_OUT' undeclared (first use in this function)
../../../contrib/ipfilter/netinet/ip_fil.c:319: error:
(Each undeclared identifier is reported only once
../../../contrib/ipfilter/netinet/ip_fil.c:319: error:
for each function it appears in.)
../../../contrib/ipfilter/netinet/ip_fil.c: In
function `fr_check_wrapper6':
../../../contrib/ipfilter/netinet/ip_fil.c:329: error:
`PFIL_OUT' undeclared (first use in this function)
../../../contrib/ipfilter/netinet/ip_fil.c: In
function `iplattach':
../../../contrib/ipfilter/netinet/ip_fil.c:376:
warning: unused variable `ph_inet'
../../../contrib/ipfilter/netinet/ip_fil.c:378:
warning: unused variable `ph_inet6'
../../../contrib/ipfilter/netinet/ip_fil.c: At top
level:
../../../contrib/ipfilter/netinet/ip_fil.c:317:
warning: `fr_check_wrapper' defined but not used
../../../contrib/ipfilter/netinet/ip_fil.c:327:
warning: `fr_check_wrapper6' defined but not used
*** Error code 1

Stop in /usr/src/sys/i386/compile/MTC.

--- Kris Kennaway [EMAIL PROTECTED] wrote:

 On Fri, Oct 29, 2004 at 06:15:27PM -0700, sonjaya
 wrote:
  dear all 
  i try use ipnat in my kernel i use this :
  options IPFILTER
  options IPFILTER_LOG
  
  this is correct because when i try make after make
  depend i get error 
  
  what should i do  ?
 
 Show us the error.
 
 Kris
 

 ATTACHMENT part 2 application/pgp-signature 



=
SONJAYA

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


remove watchdog

2004-10-17 Thread sonjaya
dear all 

i have recomplie kernel , after reboot i get message :
rl0 watchdog timeout,rl1 watchdog timeout  , always
repeat and repeat againt how to disable this i don't
seen options in my GENERIC kernel 
thx 


=
SONJAYA

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


router in freebsd 5.2

2004-10-13 Thread sonjaya
dear all

i newbie  in freebsd ,
i wan create router in freebsd 5.2 here my topolgi 

lan(1)--lan(2)--lan(3)gw--internet

lan(1)= 192.168.1.1/24
lan(2)= 172.18.2.1/16 
lan(3)= 172.18.1.1/16 
gw= 202.158.xx.xx

1. I wan't i can't access  from lan(1) to lan(2) ,
also to lan(3) ( ping , etc ) 
2. In lan(2) can go direct to gw ( internet) with
default gw 172.18.1.1 
3.i want make  lan(1) connect direct to internet by 
gw(172.18.2.1)see point no.2 
4. lan(3) linux router+NAT(IPtables) , lan(2) Freebsd
5.2 , lan(1) microsoft net 

i follow step in here  : 
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/dialup-firewall/article.html



here my rc.conf ( lan(2)) 
rl0=172.18.2.1/16
rl1=192.168.1.1/24


hostname=gw.rt-rw.net
defaultrouter=172.18.1.1
ifconfig_rl0=inet 172.18.5.1  netmask 255.255.0.0
ifconfig_rl1=inet 192.168.1.1  netmask 255.255.255.0
firewall_enable=YES
firewall_type=OPEN
firewall_script=/etc/fw1
router_flags=-q
router=/sbin/routed
router_enable=YES
gateway_enable=YES

and here my firewall script ( /etc/fw1)

# Define the firewall command (as in /etc/rc.firewall)
for easy
# reference.  Helps to make it easier to read.
fwcmd=/sbin/ipfw

# Define our outside interface.  With userland-ppp
this
# defaults to tun0.
oif=rl0

# Define our inside interface.  This is usually your
network
# card.  Be sure to change this to match your own
network
# interface.
iif=rl1

# Force a flushing of the current rules before we
reload.
$fwcmd -f flush

# Check the state of all packets.
$fwcmd add check-state
# Stop spoofing on the outside interface.
$fwcmd add deny ip from any to any in via $oif not
verrevpath

# Allow all connections that we initiate, and keep
their state.
# but deny established connections that don't have a
dynamic rule.
$fwcmd add allow ip from me to any out via $oif
keep-state
$fwcmd add deny tcp from any to any established in via
$oif

# Allow all connections within our network.
$fwcmd add allow ip from any to any via $iif

# Allow all local traffic.
$fwcmd add allow all from any to any via lo0
$fwcmd add deny all from any to 127.0.0.0/8
$fwcmd add deny ip from 127.0.0.0/8 to any

# Allow internet users to connect to the port 22 and
80.
# This example specifically allows connections to the
sshd and a
# webserver.
$fwcmd add allow tcp from any to me dst-port 22,80 in
via $oif setup keep-state

# Allow ICMP packets: remove type 8 if you don't want
your host
# to be pingable.
$fwcmd add allow icmp from any to any via $oif
icmptypes 0,3,8,11,12

# Deny and log all the rest.
$fwcmd add deny log ip from any to any

until now i can ping from lan(1) to lan(3) , ofcourse
lan(1) can not acces to internet .

may in here can  tell me what should , thx 





 

=
SONJAYA

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


old way and new way still same error

2004-10-13 Thread sonjaya
 dear all 
 
  i try make new kernel for my machine freebsd ,i
 ussualy do that whit this 
 gw-mtc# cd /usr/src/sys/i386/conf/
 gw-mtc# /usr/sbin/config BANDOENG3
 Kernel build directory is ../compile/BANDOENG3
 Don't forget to do a ``make depend''
 gw-mtc# cd ../compile/BANDOENG3/
 gw-mtc# make depend
 rm -f .olddep
 if [ -f .depend ]; then mv .depend .olddep; fi
 make _kernel-depend
 cc -c -O -pipe -mcpu=pentiumpro -Wall
 -Wredundant-decls -Wnested-externs
 -Wstrict-prototypes
 -Wmissing-prototypes -Wpointer-arith -Winline
 -Wcast-qual -fformat-extensions -std=c99 -g
 -nostdinc
 -I- -I. -I../../.. -I../../../contrib/dev/acpica
 -I../../../contrib/altq -I../../../contrib/ipfilter
 -I../../../contrib/pf -I../../../contrib/dev/ath
 -I../../../contrib/dev/ath/freebsd
 -I../../../contrib/ngatm -D_KERNEL -include
 opt_global.h -finline-limit=8000 --param
 inline-unit-growth=100 --param
 large-function-growth=1000 -mno-align-long-strings
 -mpreferred-stack-boundary=2 -ffreestanding
 ../../../i386/i386/genassym.c
 cc1: error: invalid parameter `inline-unit-growth'
 cc1: error: invalid parameter
 `large-function-growth'
 *** Error code 1
 
 Stop in /usr/src/sys/i386/compile/BANDOENG3.
 *** Error code 1
 
 Stop in /usr/src/sys/i386/compile/BANDOENG3.
 gw-mtc#
 
 
 i do another way like in freebsd handbook :
 gw-mtc# rm -rf /usr/obj/*
 gw-mtc# cd /usr/src/
 gw-mtc# make buildkernel KERNCONF=BANDOENG3
 cd /usr/src/sys/modules;

MAKEOBJDIRPREFIX=/usr/obj/usr/src/sys/BANDOENG3/modules
 KMODDIR=/boot/kernel DEBUG_FLAGS=-g MACHINE=i386
 KERNBUILDDIR=/usr/obj/usr/src/sys/BANDOENG3 make 
 cleandir
 +for: not found
 *** Error code 127
 
 Stop in /usr/src/sys/modules.
 *** Error code 1
 
 Stop in /usr/obj/usr/src/sys/BANDOENG3.
 *** Error code 1
 
 Stop in /usr/src.
 *** Error code 1
 
 Stop in /usr/src.
 gw-mtc#
 
 
 any body here what should i fix it, i doit cvsup
 every
 morning and get problem like this .
 thc
 

 


=
SONJAYA

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


error when install from ports

2004-07-27 Thread sonjaya
my bsd box is :  freebsd 5.2 current i386 
 
 
  here my detail insatll when i try install from ports
  
 # /usr/ports/database/db42/
 #make 
 --cut--
 checking for strip... strip
 checking for strip... /usr/bin/strip
 checking for a BSD-compatible install... /usr/bin/install -c -o root 
-g wheel
 checking for C compiler default output... configure: error: C 
compiler cannot create executables
 configure:3687: checking for C compiler default output
 configure:3690: cc -O -pipe -mcpu=pentiumpro  -D_THREAD_SAFE  
-lpthread conftest.c  5
 /usr/bin/ld: cannot find -lpthread -- hwo to solved this 

 
what should i do , because some friend told me to downgrade my freebsd to  4.10 , i 
can do that because my bsd box have been online and serve many comp.
 
thank's
 
 


SONJAYA
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]