build a port that depends on Java

2009-12-08 Thread Anh K. Huỳnh
Hi,

I am going to build a port (named `vue`, http://vue.tufts.edu/) that depends on 
Java libraries but I don't know how to set the dependencies (the RUN_DEPENDS 
variable in `Makefile`). I know some kinds of Java and don't know which one 
should be used. At least, Vue works well with OpenJDK6.

Another problem is that the original file for port is in `.zip` format. As far 
as I know `.zip` isn't natively supported in FreeBSD. Should I convert that 
file to `.tar.gz` format and redistribute in my site (instead of using file 
from VUE master site?). Though using 
EXTRACT_DEPENDS=unzip:${PORTSDIR}/archivers/unzip is possible I think such 
usage is so expensive :)

Thank you for your helps,

Regards,

-- 
Anh K. Huynh
- TeX: http://viettug.org/
- BSD: http://lovebsd.net/
___
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


ndis driver: invalid argument (freebsd 8.0)

2009-12-06 Thread Anh K. Huỳnh
Hi all,

I compiled `bcmwl5` module by `ndisgen` then loaded that module successfully, 
but I get the `invalid argument` error:

$ ifconfig ndis0 ssid TOM-and-JERRY
ifconfig: SIOCS80211: Invalid argument

What's wrong to my ndis driver? I read /usr/src/UPDATING and wireless section 
in the Handbook but found nothing special. So I post here for your helps.

Thank you,

-- 
Anh K. Huynh
- TeX: http://viettug.org/
- BSD: http://lovebsd.net/
___
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


Re: ndis driver: invalid argument (freebsd 8.0)

2009-12-06 Thread Anh K. Huỳnh
Hi,

On Sun, 6 Dec 2009 22:05:33 -0500
Glen Barber glen.j.bar...@gmail.com wrote:

 Hi
 
 On Sun, Dec 6, 20309 at 9:17 PM, Anh K. Huỳnh xky...@gmail.com
 wrote:
  Hi all,
 
  I compiled `bcmwl5` module by `ndisgen` then loaded that module
  successfully, but I get the `invalid argument` error:
 
  $ ifconfig ndis0 ssid TOM-and-JERRY
  ifconfig: SIOCS80211: Invalid argument
 
  What's wrong to my ndis driver? I read /usr/src/UPDATING and
  wireless section in the Handbook but found nothing special. So I
  post here for your helps.
 
 
 1.) Are your kernel and userland in sync?
 
 2.) What is the output of 'uname -a'?  If 8.X, read the 20080420
 entry in src/UPDATING.
 

I am using 8.0-RELEASE (upgraded from 7.2-RELEASE). I've read the 20080420 
entry and configured my card successfully. (I read that section before asking 
in list but I confused.)

Thank you Gren and I am sorry for my noise.

Regards,

-- 
Anh K. Huynh
- TeX: http://viettug.org/
- BSD: http://lovebsd.net/
___
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


Re: ntpdate on FreeBSD 8.0

2009-11-29 Thread Anh K. Huỳnh
On Sun, 29 Nov 2009 20:39:32 -0600
ajtiM lum...@gmail.com wrote:

 Hi!
 
 I have new installed FreeBSD 8.0 and in rc.conf I have:
 
 ntpdate_enable=YES
 ntpdate_hosts=ntp1.cs.wisc.edu
 
 When I boot computer I get a message there are no this host but
 when I run /usr/sbin/ntpdate ntp1.cs.wisc.edu it works.
 

This is due to DNS problem. Your DNS resolver must work before you run 
`ntpdate`.

 I had the same in rc.conf on FreeBSD 7.2 and it works all the time.
 All settings on FreeBSD8.0 are the same as I had on 7.2.
 
 Thanks in advance.


-- 
Anh K. Huynh
Homepage: http://viettug.org/
___
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