Re: can't build jdk15 on 6.0

2006-01-23 Thread Owen Jeremiah
Whenever I encountered error building from ports, I always go to the extreme
route:
mv /usr/ports/distfiles /somewhere
rmdir /usr/ports
cd /usr
tar xvfz ports.tar.gz
mv /somewhere /usr/ports/distfiles

After that usually all ports will install without any error showing up
before. I did this because my company's network didn't allow my (personal)
notebook to access anything outside my intranet. If it's not the case for
you, maybe you should portupgrade your port-tree first.

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


chinput or others...

2005-11-24 Thread Owen Jeremiah
Anybody can point me to the right direction regarding multi-language input
in X11? I've installed chinput3 from port but lost on how to use it.

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


Re: Sound Configuration, Sony Laptop with ac97

2005-11-17 Thread Owen Jeremiah
IIRC, the recommended step to do is do:
kldload snd_driver

and then do:
cat /dev/sndstat

to get the correct driver (in my case it is snd_ich). After that you put the
driver into loder.conf (in my case: snd_ich_load=YES).

Hope it helps.

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


Re: samba question

2005-10-24 Thread Owen Jeremiah
If I remember correctly, you have to start inetd to run smbd and nmbd. Check
FreeBSD handbook for further details about configuring samba.

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


Re: samba question

2005-10-24 Thread Owen Jeremiah
My mistake. I was referring to SWAT instead of smbd and nmbd.

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


Problem installing asterisk

2005-10-21 Thread Owen Jeremiah
I'm a newbie at FreeBSD, been using MS products all my life. Being an
enlighten one (:P), trying to learn how to use FreeBSD.
Got this problem when trying to install asterisk from ports:

=== asterisk-1.0.9_2 depends on executable: mpg123 - found
=== asterisk-1.0.9_2 depends on file: /nonexistent - not found
=== Verifying build for /nonexistent in /usr/ports/devel/pwlib
=== Vulnerability check disabled, database not found
=== Extracting for pwlib-1.5.2,1
= Checksum OK for pwlib_1.5.2.tar.gz.
=== Patching for pwlib-1.5.2,1
=== Applying FreeBSD patches for pwlib-1.5.2,1
3 out of 3 hunks failed--saving rejects to src/ptclib/asner.cxx.rej
= Patch patch-src::ptclib::asner.cxx failed to apply cleanly.
= Patch(es) patch-configurein patch-make-common.mak patch-makefile
patch-src-ptclib-ansper.cxx applied cleanly.
*** Error code 1

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

Stop in /usr/ports/net/asterisk.


===

Doing cat asner.cxx.rej returns as follow:

***
*** 4926,4931 
return -1;

value += lower;
return 0;
}

--- 4926,4936 
return -1;

value += lower;
+
+ // clamp value to upper limit
+ if (value  upper)
+ value = upper;
+
return 0;
}

***
*** 4970,4976 
unsigned base;
if (!MultiBitDecode(CountBits(upper - lower + 1), base))
return -1;
- return lower + base; // 10.9.4.1 http://10.9.4.1
}

if (upper  65536) // 10.9.3.3 http://10.9.3.3
--- 4975,4987 
unsigned base;
if (!MultiBitDecode(CountBits(upper - lower + 1), base))
return -1;
+ len = lower + base; // 10.9.4.1 http://10.9.4.1
+
+ // clamp value to upper limit
+ if (len  upper)
+ len = upper;
+
+ return len;
}

if (upper  65536) // 10.9.3.3 http://10.9.3.3
***
*** 4981,4993 
if (IsAtEnd())
return -1;

- if (SingleBitDecode() == 0)
- return MultiBitDecode(7, len) ? 0 : -1; // 10.9.3.6 http://10.9.3.6

- if (SingleBitDecode() == 0)
- return MultiBitDecode(14, len) ? 0 : -1; // 10.9.3.7 http://10.9.3.7

- return -1; // 10.9.3.8 http://10.9.3.8 unsupported
}


--- 4992,5011 
if (IsAtEnd())
return -1;

+ if (SingleBitDecode() == 0) {
+ if (!MultiBitDecode(7, len)) // 10.9.3.6 http://10.9.3.6
+ return -1; // 10.9.3.8 http://10.9.3.8 unsupported
+ }
+ else if (SingleBitDecode() == 0) {
+ if (!MultiBitDecode(14, len)) // 10.9.3.7 http://10.9.3.7
+ return -1; // 10.9.3.8 http://10.9.3.8 unsupported
+ }

+ // clamp value to upper limit
+ if (len  upper)
+ len = upper;

+ return 0;
}




Anybody can tell me how to resolve this problem?

Running on FreeBSD 5.4-stable.

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


Re: Multilanguange

2005-10-05 Thread Owen Jeremiah
 If you want to display chinese, you need a chinese
 font,(e.g.simsun),then set the LANGUAGE environment
 before startx.
 e.g.
 #setenv LANGUAGE zh_CN.UTF8
 Then you can display chinese filenames under gnome or gnome-terinal.

 If you want to input chinese,you need a chinese input
 method,(e.g.xcin,fcitx),then set env before startx.
 #setenv XMODIFIERS @im=fcitx

 However, many X program only support english language,like xterm.
 Also,many OS independent program can support many language(display 
 input) without extra configuare,(e.g.emacs).


Correct me if I'm wrong, but from the documentation I read this means change
the WHOLE programs (e.g.: gnome etc.) default language into the other
language. What I want is the ability to change language on the fly, like
when I create a presentation, I want to be able to write in English and also
another language (e.g: chinese).

Is my assumption above is correct? If not, kindly enough to enlighten me
with the correct manual pages and/or handbook section to do the above.

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


Multilanguange

2005-10-03 Thread Owen Jeremiah
I want to use X with FreeBSD like I use my WinXP: it has multilanguage
capabilities. Like when I want to create a presentation, I can type in other
language (like in chinese) and instantly change it back to english. I
understand that MacOS X can do this instantly too.

Can anybody direct me to the right way to do this in FreeBSD (using KDE?
Gnome?)

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