bsdconfig not able to get packages from freebsd ftp site

2015-02-19 Thread gahn
 hi all:
i am trying install packages with bsdconfig on freebsd 10.1 and failed.
it stuck at the following message for a while :
Attempting to update repository catalogue from selected media
finally it gave up with following message:
No pkg(8) database found

thanks.
_dave

 
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


failed to complie webkit-gtk2: Cannot allocate memory

2014-03-07 Thread gahn
hi all:

i am trying to compile webkit-gtk2 and stuck on error:

===

ar: warning: can't mmap file: libWebCore_la-SVGFEDisplacementMapElement.o: 
Cannot allocate memory
ar: warning: can't mmap file: libWebCore_la-SVGFEDropShadowElement.o: Cannot 
allocate memory
ar: warning: can't mmap file: libWebCore_la-SVGFEFloodElement.o: Cannot 
allocate memory
[...]
ar: warning: can't mmap file: libWebCore_la-JSNamedNodeMap.o: Cannot allocate 
memory
ar: warning: can't mmap file: libWebCore_la-JSNavigator.o: Cannot allocate 
memory
ar: warning: can't mmap file: libWebCore_la-JSNavigatorUserMediaError.o: Cannot 
allocate memory
ar: warning: can't mmap file: 
libWebCore_la-JSNavigatorUserMediaErrorCallback.o: Cannot allocate memory
[...]
ar: warning: can't mmap file: libWebCore_la-JSWebSocket.o: Cannot allocate 
memory
ar: warning: can't mmap file: libWebCore_la-glslang.o: Cannot allocate memory
ar: warning: can't mmap file: libWebCore_la-glslang_tab.o: Cannot allocate 
memory
ar: warning: can't mmap file: libWebCore_la-JSRequestAnimationFrameCallback.o: 
Cannot allocate memory
ar: warning: can't mmap file: libWebCore_la-JSHTMLShadowElement.o: Cannot 
allocate memory
ranlib: fatal: realloc failed: Cannot allocate memory
gmake[1]: *** [libWebCore.la] Error 70
gmake[1]: Leaving directory `/usr/ports/www/webkit-gtk2/work/webkit-1.8.3'
gmake: *** [all] Error 2
=== Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** [do-build] Error code 1

Stop in /usr/ports/www/webkit-gtk2.
*** [build] Error code 1

Stop in /usr/ports/www/webkit-gtk2.
===


i checked my kernel shared memory and it seem to be pretty big by default:

root@giraffe:/usr/ports # sysctl -a | grep -E shmmax|shmall
kern.ipc.shmall: 131072
kern.ipc.shmmax: 536870912

thanks help.
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Fw: pkgng and pkgdb

2014-02-25 Thread gahn


hi, all:

i used to use pkgdb -Ff along with old wonderful pkg_whatever to keep my 
freebsd station healthy. but i was told the new era of pkg is coming and so i 
made switch to pkgng.

the question is: what is the equivalent of pkgdb -Ff? for pkg?

for pkgdb -Ff, i am especially fond of its ability to fix those duplicated 
registrations. is the pkg check -dB -av the same as that pkgdb -Ff?

thanks.
___
freebsd-questi...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


compilation

2013-07-27 Thread gahn
hi all:

need your experts' opinions, i tried to compile customized kernel for 8.3 but 
failed miserably:

linking kernel.debug
dcons_crom.o(.text+0x388): In function `dcons_crom_post_busreset':
/usr/src/sys/dev/dcons/dcons_crom.c:145: undefined reference to `crom_add_chunk'
dcons_crom.o(.text+0x3a0):/usr/src/sys/dev/dcons/dcons_crom.c:146: undefined 
reference to `crom_add_entry'
dcons_crom.o(.text+0x3be):/usr/src/sys/dev/dcons/dcons_crom.c:147: undefined 
reference to `crom_add_simple_text'
dcons_crom.o(.text+0x3d6):/usr/src/sys/dev/dcons/dcons_crom.c:148: undefined 
reference to `crom_add_entry'
dcons_crom.o(.text+0x3f7):/usr/src/sys/dev/dcons/dcons_crom.c:149: undefined 
reference to `crom_add_simple_text'
dcons_crom.o(.text+0x412):/usr/src/sys/dev/dcons/dcons_crom.c:150: undefined 
reference to `crom_add_entry'
dcons_crom.o(.text+0x430):/usr/src/sys/dev/dcons/dcons_crom.c:151: undefined 
reference to `crom_add_entry'
dcons_crom.o(.text+0x467):/usr/src/sys/dev/dcons/dcons_crom.c:128: undefined 
reference to `crom_add_entry'
dcons_crom.o(.text+0x485):/usr/src/sys/dev/dcons/dcons_crom.c:129: undefined 
reference to `crom_add_entry'
umass.o(.text+0xf9): In function `umass_detach':
/usr/src/sys/dev/usb/storage/umass.c:2180: undefined reference to 
`xpt_bus_deregister'
umass.o(.text+0x120):/usr/src/sys/dev/usb/storage/umass.c:2183: undefined 
reference to `cam_sim_free'
umass.o(.text+0xcfd): In function `umass_std_transform':
/usr/src/sys/dev/usb/storage/umass.c:3018: undefined reference to `xpt_done'
umass.o(.text+0xd1c):/usr/src/sys/dev/usb/storage/umass.c:3022: undefined 
reference to `xpt_done'
umass.o(.text+0xd8a): In function `umass_cam_quirk_cb':
/usr/src/sys/dev/usb/storage/umass.c:2733: undefined reference to `xpt_done'
umass.o(.text+0xe13): In function `umass_command_start':
/usr/src/sys/dev/usb/storage/umass.c:1611: undefined reference to `xpt_done'
umass.o(.text+0xf48): In function `umass_cam_sense_cb':
/usr/src/sys/dev/usb/storage/umass.c:2707: undefined reference to `xpt_done'
umass.o(.text+0xf92):/usr/src/sys/dev/usb/storage/umass.c:2714: more undefined 
references to `xpt_done' follow
umass.o(.text+0x245e): In function `umass_cam_action':
/usr/src/sys/dev/usb/storage/umass.c:2497: undefined reference to 
`cam_calc_geometry'
umass.o(.text+0x2466):/usr/src/sys/dev/usb/storage/umass.c:2498: undefined 
reference to `xpt_done'
umass.o(.text+0x24d2):/usr/src/sys/dev/usb/storage/umass.c:2508: undefined 
reference to `xpt_done'
umass.o(.text+0x2556):/usr/src/sys/dev/usb/storage/umass.c:2518: undefined 
reference to `xpt_done'
umass.o(.text+0x2d86): In function `umass_attach':
/usr/src/sys/dev/usb/storage/umass.c:2115: undefined reference to 
`cam_simq_alloc'
umass.o(.text+0x2dd5):/usr/src/sys/dev/usb/storage/umass.c:2119: undefined 
reference to `cam_sim_alloc'
umass.o(.text+0x2de7):/usr/src/sys/dev/usb/storage/umass.c:2132: undefined 
reference to `cam_simq_free'
umass.o(.text+0x2e4c):/usr/src/sys/dev/usb/storage/umass.c:2141: undefined 
reference to `xpt_bus_register'
*** Error code 1

Stop in /usr/obj/usr/src/sys/giraffe.
*** Error code 1

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

Stop in /usr/src.



any help would be greatly appreciated.

_dave
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: compilation

2013-07-27 Thread gahn
thank freddie!





 From: Freddie Cash fjwc...@gmail.com
To: gahn ipfr...@yahoo.com 
Cc: FreeBSD-Current freebsd-current@freebsd.org 
Sent: Saturday, July 27, 2013 9:23 PM
Subject: Re: compilation
 


umass requires SCSI support. Bert you removed scbus, da, and similar.
On 2013-07-27 6:00 PM, gahn ipfr...@yahoo.com wrote:

hi all:

need your experts' opinions, i tried to compile customized kernel for 8.3 but 
failed miserably:

linking kernel.debug
dcons_crom.o(.text+0x388): In function `dcons_crom_post_busreset':
/usr/src/sys/dev/dcons/dcons_crom.c:145: undefined reference to 
`crom_add_chunk'
dcons_crom.o(.text+0x3a0):/usr/src/sys/dev/dcons/dcons_crom.c:146: undefined 
reference to `crom_add_entry'
dcons_crom.o(.text+0x3be):/usr/src/sys/dev/dcons/dcons_crom.c:147: undefined 
reference to `crom_add_simple_text'
dcons_crom.o(.text+0x3d6):/usr/src/sys/dev/dcons/dcons_crom.c:148: undefined 
reference to `crom_add_entry'
dcons_crom.o(.text+0x3f7):/usr/src/sys/dev/dcons/dcons_crom.c:149: undefined 
reference to `crom_add_simple_text'
dcons_crom.o(.text+0x412):/usr/src/sys/dev/dcons/dcons_crom.c:150: undefined 
reference to `crom_add_entry'
dcons_crom.o(.text+0x430):/usr/src/sys/dev/dcons/dcons_crom.c:151: undefined 
reference to `crom_add_entry'
dcons_crom.o(.text+0x467):/usr/src/sys/dev/dcons/dcons_crom.c:128: undefined 
reference to `crom_add_entry'
dcons_crom.o(.text+0x485):/usr/src/sys/dev/dcons/dcons_crom.c:129: undefined 
reference to `crom_add_entry'
umass.o(.text+0xf9): In function `umass_detach':
/usr/src/sys/dev/usb/storage/umass.c:2180: undefined reference to 
`xpt_bus_deregister'
umass.o(.text+0x120):/usr/src/sys/dev/usb/storage/umass.c:2183: undefined 
reference to `cam_sim_free'
umass.o(.text+0xcfd): In function `umass_std_transform':
/usr/src/sys/dev/usb/storage/umass.c:3018: undefined reference to `xpt_done'
umass.o(.text+0xd1c):/usr/src/sys/dev/usb/storage/umass.c:3022: undefined 
reference to `xpt_done'
umass.o(.text+0xd8a): In function `umass_cam_quirk_cb':
/usr/src/sys/dev/usb/storage/umass.c:2733: undefined reference to `xpt_done'
umass.o(.text+0xe13): In function `umass_command_start':
/usr/src/sys/dev/usb/storage/umass.c:1611: undefined reference to `xpt_done'
umass.o(.text+0xf48): In function `umass_cam_sense_cb':
/usr/src/sys/dev/usb/storage/umass.c:2707: undefined reference to `xpt_done'
umass.o(.text+0xf92):/usr/src/sys/dev/usb/storage/umass.c:2714: more undefined 
references to `xpt_done' follow
umass.o(.text+0x245e): In function `umass_cam_action':
/usr/src/sys/dev/usb/storage/umass.c:2497: undefined reference to 
`cam_calc_geometry'
umass.o(.text+0x2466):/usr/src/sys/dev/usb/storage/umass.c:2498: undefined 
reference to `xpt_done'
umass.o(.text+0x24d2):/usr/src/sys/dev/usb/storage/umass.c:2508: undefined 
reference to `xpt_done'
umass.o(.text+0x2556):/usr/src/sys/dev/usb/storage/umass.c:2518: undefined 
reference to `xpt_done'
umass.o(.text+0x2d86): In function `umass_attach':
/usr/src/sys/dev/usb/storage/umass.c:2115: undefined reference to 
`cam_simq_alloc'
umass.o(.text+0x2dd5):/usr/src/sys/dev/usb/storage/umass.c:2119: undefined 
reference to `cam_sim_alloc'
umass.o(.text+0x2de7):/usr/src/sys/dev/usb/storage/umass.c:2132: undefined 
reference to `cam_simq_free'
umass.o(.text+0x2e4c):/usr/src/sys/dev/usb/storage/umass.c:2141: undefined 
reference to `xpt_bus_register'
*** Error code 1

Stop in /usr/obj/usr/src/sys/giraffe.
*** Error code 1

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

Stop in /usr/src.



any help would be greatly appreciated.

_dave
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: compiling glib20 failed

2012-04-04 Thread gahn
hi, sergey:

thanks for the great tip. i think messed up with this xz thing. last year i 
played with xz since a package i was trying to install wouldn't use xz package 
coming with the base system. 


now i disabled those under /usr/local/lib and the system is back to normal.

best regards

_gahn



- Original Message -
From: Sergey Kandaurov pluk...@gmail.com
To: gahn ipfr...@yahoo.com
Cc: free bsd freebsd-current@freebsd.org; freebsd general questions 
freebsd-questi...@freebsd.org
Sent: Wednesday, April 4, 2012 2:31 AM
Subject: Re: compiling glib20 failed

On 4 April 2012 07:02, gahn ipfr...@yahoo.com wrote:
 hi gurus:

 i got problem with compiling glib20:

 ===   glib-2.28.8_4 depends on file: /usr/local/bin/perl5.10.1 - found
 /libexec/ld-elf.so.1: /usr/local/lib/liblzma.so.5: version XZ_5.0 required by 
 /usr/bin/xz not defined
 ===  Missing license file for LGPL20 in 
 /usr/ports/devel/glib20/work/glib-2.28.8/COPYING
 *** Error code 1

 Stop in /usr/ports/devel/glib20.
 *** Error code 1


 basically i was trying to install tshark on freebsd 8.1 but it told me i need 
 to upgrade glib but i got into this mess.


Looks like the source of your problem may lie in that your base /usr/bin/xz
tries to dlopen /usr/local/lib/liblzma.so.5 installed from ports and not
the one from base (i.e. there should be /usr/lib/liblzma.so.5 instead).
The one from ports doesn't have the symbol versioning
(or at least doesn't have specific symbols the base xz wants)
and, for aught I know, shall not be used by the base xz in any way.

I wonder how did you manage to install xz from ports on 8.1
as this port is specifically IGNORE'd to install on 8.1 system
with the reason is already in the base system.

First I would try to pkgrm xz and see how it helps.

-- 
wbr,
pluknet
___
freebsd-questi...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


packages that can generate arp storm

2012-04-04 Thread gahn
hi, gurus:

are freebsd system coming with any packages that could generate arp storm?

thanks


_gahn

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


compiling glib20 failed

2012-04-03 Thread gahn
hi gurus:

i got problem with compiling glib20:

===   glib-2.28.8_4 depends on file: /usr/local/bin/perl5.10.1 - found
/libexec/ld-elf.so.1: /usr/local/lib/liblzma.so.5: version XZ_5.0 required by 
/usr/bin/xz not defined
===  Missing license file for LGPL20 in 
/usr/ports/devel/glib20/work/glib-2.28.8/COPYING
*** Error code 1

Stop in /usr/ports/devel/glib20.
*** Error code 1


basically i was trying to install tshark on freebsd 8.1 but it told me i need 
to upgrade glib but i got into this mess.

thanks
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


freebsd and

2011-01-05 Thread gahn
hi all:

i set up the freeradius 21.100.1 on freebsd 8.1. it uses local authentication 
database of /etc/passwd (thanks to the previous discussions alan did with 
others). the problem is: it only works with the condition of the server id 
running as root instead of freeradius due to the one way MD5 hash of 
/etc/passwd file.

are there any other better ways to implement this?


  
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


meory file system

2010-08-20 Thread gahn
Hi, All:

I am running 8.1. under /dev, I don't see /dev/md0, so i am trying to add 
following lines in kernel file and got error messages:

options MFS #Memory Filesystem


/usr/src/sys/i386/conf/bn39_1: unknown option MFS
*** Error code 1

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

any gurus here know what is happeny here?



  
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


/tmp and swap space

2010-07-29 Thread gahn
hi all:

is it possible to create /tmp directory under swap space? under solaris, it is 
automatically created under swap unless one specifically instructs the system 
not to do so..

tia


  
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


samba failed MD5 Checksum

2010-04-04 Thread gahn
Hi all:

I am trying to compile the smaba34 but somehow it failed MD5 Checksum and 
SHA256 Checksum:


# make all
===  Vulnerability check disabled, database not found
===  Found saved configuration for samba34-3.4.5_1
===  ---
===  Run 'make config' to (re)configure the port
===  ---
===  Extracting for samba34-3.4.5_1
= MD5 Checksum mismatch for samba-3.4.5.tar.gz.
= SHA256 Checksum mismatch for samba-3.4.5.tar.gz.
===  Refetch for 1 more times files: samba-3.4.5.tar.gz samba-3.4.5.tar.gz 
===  Vulnerability check disabled, database not found
===  Found saved configuration for samba34-3.4.5_1
===  ---
===  Run 'make config' to (re)configure the port
===  ---
= samba-3.4.5.tar.gz doesn't seem to exist in /usr/ports/distfiles/.

-

actually samba-3.4.5.tar.gz does exist under /usr/ports/distfiles

how could I fix this problem? I am using 7.2-p7...

Thanks


  
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


weird errors or else?

2010-04-04 Thread gahn
Hi all:

I am compiling xscreensaver-kde and it stooped with following errors:


Package tocloft Note: The document has chapter divisions.

) (/usr/local/share/texmf-dist/tex/latex/hyperref/hyperref.sty
(/usr/local/share/texmf-dist/tex/latex/hyperref/pd1enc.def)
(/usr/local/share/texmf-dist/tex/latex/hyperref/hyperref.cfg)
Implicit mode ON; LaTeX internals redefined
(/usr/local/share/texmf-dist/tex/latex/hyperref/backref.sty)
(/usr/local/share/texmf-dist/tex/latex/url/url.sty))
*hyperref using default driver hpdftex*
(/usr/local/share/texmf-dist/tex/latex/hyperref/hpdftex.def
(/usr/local/share/texmf-dist/tex/latex/psnfss/pifont.sty
(/usr/local/share/texmf-dist/tex/latex/psnfss/upzd.fd)
(/usr/local/share/texmf-dist/tex/latex/psnfss/upsy.fd)))
Writing index file doxygen_manual.idx
(./doxygen_manual.aux
! Text line contains an invalid character.
l.2 ^^@
   
^...@^^@^...@^^@^...@^^@^...@^^@^...@^^@^...@^^@^...@^^@^...@^^@^...@^^@^...@^^@^...@^^@^...@...

? ^C
! Text line contains an invalid character.
l.2 ^...@^^@
  
^...@^^@^...@^^@^...@^^@^...@^^@^...@^^@^...@^^@^...@^^@^...@^^@^...@^^@^...@^^@^...@^^@...

? X
No pages of output.
Transcript written on doxygen_manual.log.
gmake[1]: *** [doxygen_manual.pdf] Error 1
gmake: *** [pdf] Interrupt: 2


seem to me it want to write something but it doesn't tell me what to do next...

what should I do next?

Thanks


  
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org