Re: [Cooker] [openoffice] GUI fonts invisibles

2002-12-13 Thread Carfield Yim
> francesco.melo wrote:
> 
> > this works for me now
> > try
> > maybe can help you
> > regards francesco
> 
> That worked. Perhaps FONT_SCALING needs to be on as well. In any case, I 
> have found out a little bit more on this topic.
> 
> This is documented on the Xft hack page posted earlier, but he describes 
> how to do it through the UI. He says you can use any other scalable font 
> (Verdana, Arial, Helvetica) and it will replace the default font which 
> is Andale Sans UI. The problem is that if the default UI font is 
> monochrome then it will not display at all. Anyway, I like this 
> ft-smooth patch and think it should be included as a Patch in the 
> freetype2 RPM.
>
I also have the same problem, all font in openoffice disappeared. But I miss 
the old post, and can't find the archive of cooker mailing list.

Can you tell me what patch/fix should I apply?





Re: [Cooker] Where is the dictionary file of open office?

2002-10-09 Thread Carfield Yim


> W. Kasberg wrote:
> > On Monday 07 October 2002 09:19, Robert C. Dowdy wrote:
> > 
> 
> >>Actually, I believe this *is* a bug.  I've installed 9.0 final three times
> >>and each time spell checking in OpenOffice.org was broken until I manually
> >>installed a US English myspell (which newbies certainly wouldn't know to
> >>do). It doesn't seem likely that OO.o should have broken spell-checking
> >>intentionally.  Maybe it's just a problem for US English installations. 
> >>I'm not sure.
> >>
> 
> Yes, even when installing from rpmdrake (haven't tried urpmi recently, 
> but that did the right thing last time), it seems that myspell-en_CA is 
> installed automatically when local is english.
>
I just download the dictionary from ooodi.sf.net, the size of English
dictionary is 695724 bytes, but the one come with Mandrake is just about
700 bytes, seen to me that it is an empty dictionary.

Besides, as OpenOffice.org-l10n-en-1.0.1-9mdk don't depend on
myspell-en_US, will it really use myspell-en_US for spell check?





[Cooker] Where is the dictionary file of open office?

2002-10-04 Thread Carfield Yim

Hi all, I have installed the mandrake version rpm package of OpenOffice.
However, the package don't contain any dictionary files. Where can I
find the dictionary file and install? 

I remember that when I install the binary version of OpenOffice, it come
with the US English version of dictionary, where can I download it now?

  \\\|///
  \- - -//
 (  @ @  )
---oOOo-(_)-oOOo
Visit my homepage at http://www.carfield.com.hk

Programming discussion groups
Software design: news://news.carfield.com.hk/programming.design
Design Pattern: news://news.carfield.com.hk/programming.design.pattern
java: news://news.carfield.com.hk/programming.java
linux: news://news.carfield.com.hk/programming.linux









[Cooker] What is cc1plus?

2002-08-29 Thread Carfield Yim

I get the following error when try to compile the source code of fltk, 

Compiling Fl.cxx...
g++: installation problem, cannot exec `cc1plus': No such file or
directory
: warning: "system" re-asserted
: warning: "cpu" re-asserted
: warning: "machine" re-asserted
make[1]: *** [Fl.o] Error 1

What is cc1plus? I can't find it at rpmfind...

  \\\|///
  \- - -//
 (  @ @  )
---oOOo-(_)-oOOo
Visit my homepage at http://www.carfield.com.hk

Programming discussion groups
Software design: news://news.carfield.com.hk/programming.design
Design Pattern: news://news.carfield.com.hk/programming.design.pattern
java: news://news.carfield.com.hk/programming.java
linux: news://news.carfield.com.hk/programming.linux









Re: [Cooker] openoffice can't run with msec level 4?

2002-07-16 Thread Carfield Yim

Here is the result of rpm -qi OpenOffice.org

[root@desktop root]# rpm -qi OpenOffice.org
Name: OpenOffice.org   Relocations: (not
relocateable)
Version : 1.0   Vendor: MandrakeSoft
Release : 5mdk  Build Date: Wed 29 May 2002
05:57:52 PM GST
Install date: Wed 05 Jun 2002 03:07:21 PM GST  Build Host:
no.mandrakesoft.com
Group   : OfficeSource RPM:
OpenOffice.org-1.0-5mdk.src.rpm
Size: 212543983License: LGPL
Packager: Gwenole Beauchesne <[EMAIL PROTECTED]>
URL : http://www.openoffice.org/
Summary : Open source office suite
Description :
OpenOffice.org is an Open Source, community-developed, multi-platform
office productivity suite. It includes the key desktop applications,
such as a word processor, spreadsheet, presentation manager, forumula
editing and drawing program, with a user interface and feature set
similar to other office suites. Sophisticated and flexible,
OpenOffice.org also works transparently with a variety of file
formats, including Microsoft Office.

Languages available in this package include: Enligh, French, German,
Spanish, Italian, Dutch, Sweddish, Finnish, Polish, Russian.

Usage: Simply type "ooffice" to run OpenOffice.org or select the
requested component (Writer, Calc, Draw, Impress, etc.) from your
desktop menu. The ooffice wrapper script will install a few files in
the user's home, if necessary. Use "printerdrake" to configure your
printer. You may also want to install the "myspell-*" package
corresponding to your language for spell-checking capabilities.

You mean I sure update openoffice?

  \\\|///
  \- - -//
 (  @ @  )
---oOOo-(_)-oOOo
Visit my homepage at http://www.carfield.com.hk

Programming discussion groups
Software design: news://news.carfield.com.hk/programming.design
Design Pattern: news://news.carfield.com.hk/programming.design.pattern
java: news://news.carfield.com.hk/programming.java
linux: news://news.carfield.com.hk/programming.linux





On Tue, 16 Jul 2002, Gwenole Beauchesne wrote:

> Hi,
> 
> > There is no rpm of OO 1.0-5mdk for mandrake 8.2 that I know of.
> 
> There is no -5mdk for MDK 8.2. However, there is some -5.1mdk branched 
> off that release but rebuilt for MDK 8.2. That can be found in 8.2 
> updates or any 8.2/unsupported mirror.
> 
> Bye,
> Gwenole
> 
> 





[Cooker] openoffice can't run with msec level 4?

2002-07-16 Thread Carfield Yim

Hi all, I am using OpenOffice.org-1.0-5mdk with mandrake 8.2. I have
turn my msec to 4, high. However, my user can't run openoffice if they
are not in adm group. 

Is it a bug?

  \\\|///
  \- - -//
 (  @ @  )
---oOOo-(_)-oOOo
Visit my homepage at http://www.carfield.com.hk

Programming discussion groups
Software design: news://news.carfield.com.hk/programming.design
Design Pattern: news://news.carfield.com.hk/programming.design.pattern
java: news://news.carfield.com.hk/programming.java
linux: news://news.carfield.com.hk/programming.linux









Re: [Cooker] URL in PDF documents

2002-07-08 Thread Carfield Yim


> On Sun, Jul 07, 2002 at 04:54:41PM +0400, Borsenkow Andrej wrote:
> 
> > Just curious, is it possible to click on a URL in PDF document and get
> > it opened in browser. You know, like in this other OS :-)
> 
> I've changed somme settings in '/etc/xpdfrc':
> 
>psFile "| lpr "
>psPaperSizeA4
>urlCommand "mozilla '%s'"
> 
> and so on.
>
Is there any solution if I use acroread 5.0?





Re: [Cooker] How can I tune msec?

2002-03-26 Thread Carfield Yim

> > Other that this, I find that all /home/*/public_html are now not
> > accessable, because msec change all /home/* to 700. 
> > 
> > In my opinion, this is too restrict. Because it is normal for many
> > server allow user to put web page at their user directory. How can I set
> > it?
> 
> I think this is a good idea for Paranoid (5) level, but level 4 should
> definitely allow it to be set up for user web directories.
> 
How?





Re: [Cooker] How can I tune msec?

2002-03-26 Thread Carfield Yim

Other that this, I find that all /home/*/public_html are now not
accessable, because msec change all /home/* to 700. 

In my opinion, this is too restrict. Because it is normal for many
server allow user to put web page at their user directory. How can I set
it?

Besides, I don't know why mandrake still use /etc/hosts.deny as
protection. Why don't just integrate all incoming security setup to
iptables rules?

\\\|///
\- - -//
   (  @ @  )
  ---oOOo-(_)-oOOo---
Visit my homepage at http://www.carfield.com.hk
  ---




On Tue, 26 Mar 2002, Zdenek Mazanec wrote:

> > Hi, as I use my machine as server, I choose security level high in msec
> > config. However, after I upgrade to mandrake 8.2, my sshd can't being
> > connected because the files /etc/hosts.deny always deny all connection.
> > 
> > After I remove that line, one hour later msec will reset /etc/hosts.deny
> > back to deny all. How can I tell msec don't change the file
> > /etc/hosts.deny?
> 
> 
> You can add line similar to
> sshd: your.address
> to /etc/hosts.allow in this case.
> 
> -- 
> BlueHawk
> 
> 





[Cooker] How can I tune msec?

2002-03-26 Thread Carfield Yim

Hi, as I use my machine as server, I choose security level high in msec
config. However, after I upgrade to mandrake 8.2, my sshd can't being
connected because the files /etc/hosts.deny always deny all connection.

After I remove that line, one hour later msec will reset /etc/hosts.deny
back to deny all. How can I tell msec don't change the file
/etc/hosts.deny?


\\\|///
\- - -//
   (  @ @  )
  ---oOOo-(_)-oOOo---
Visit my homepage at http://www.carfield.com.hk
  ---








Re: [Cooker] What is the difference of default kernel and kernel-secure?

2002-03-26 Thread Carfield Yim

> www.grsecurity.org.
> 
> Basically, kernel secure has no devfs & a lot of tricks to make your
> kernel more secure, getting better chroot jails & things like that.
> 
> Later, Juan.
> 
> 
Thx, but I can't connect to www.grsecurity.org.





[Cooker] Upgrade of PostgreSQL is very difficult

2002-03-26 Thread Carfield Yim

Hi, I have try to upgrade PostgreSQL from 7.1 to 7.2, but the system
tell me I can't do it directly. It give me a readme file for the detail
procedure.

Then I try to follow the instructions to upgrade. The readme tell that I
need to manually output the old db first, and Mandrake provide a script
mdk-dump.sh for that. However, after I output the db, how to I import it
back to PostgreSQL? I try to use the command:

psql -e < db_backup.sql 

to run. But it fail, because there are many databases create by many
user, and the command "psql -e" only able to import it own database. 
Then I get the backup copy and try to use pg_dump for that. The
same message appear. Can anyone give me more detail procedure for this?

\\\|///
\- - -//
   (  @ @  )
  ---oOOo-(_)-oOOo---
Visit my homepage at http://www.carfield.com.hk
  ---








[Cooker] INND problem

2002-03-26 Thread Carfield Yim

After I upgrade to Mandrake 8.2, I can't start innd through
/etc/init.d/innd start. It always reply: Starting INND system: sh:
/etc/rc.d/init.d/functions: Permission denied

The only solution I can think is change the permission of 
/etc/
/etc/rc.d/
/etc/rc.d/init.d/
/etc/rc.d/init.d/functions
have world execute permission. Which should be a bad idea. 

Can anyone tell me better approach? Or should I run innd as root?

\\\|///
\- - -//
   (  @ @  )
  ---oOOo-(_)-oOOo---
Visit my homepage at http://www.carfield.com.hk
  ---








Re: [Cooker] What is the difference of default kernel and kernel-secure?

2002-03-24 Thread Carfield Yim

> de fault kernel is de kernal whose fault it is.  Kernal-secure is de fault kernal 
>after de general
> throws him in de brig.
>
Where can I find more detail? I don't really understand what you say...
-- 
\\\|///
\- - -//
   (  @ @  )
  ---oOOo-(_)-oOOo---
Visit my homepage at http://www.carfield.com.hk
  ---








Re: [Cooker] OpenOffice src.rpm requires gcc3 (?)

2002-03-12 Thread Carfield Yim

On 11 Mar 2002, Brad Felmey wrote:

> Is this correct? I thought one of the ideas behind source was to
> eliminate dependencies like this. Not wanting that screwed-up bastard
> stepchild known as gcc3 on my box in the first place is why I need to
> build from source. Now I find it's a build requirement?
>
I find a few problem of trying to compile openoffice.src.rpm. I grab the
source rpm at:
ftp://rpmfind.net/linux/Mandrake-devel/contrib/SRPMS/openoffice-6.0.41-5mdk.src.rpm

But the compilation fail because there are one bz file can bunzip:
*
+ rm -rf oo_641c_src
+ /usr/bin/bzip2 -dc /usr/src/RPM/SOURCES/oo_641c_src.tar.bz2
+ tar -xf -

bzip2: Compressed file ends unexpectedly;
perhaps it is corrupted?  *Possible* reason follows.
bzip2: Success
Input file = /usr/src/RPM/SOURCES/oo_641c_src.tar.bz2, output
file = (stdout)

It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.

You can use the `bzip2recover' program to *attempt* to recover
data from undamaged sections of corrupted files.

tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
error: Bad exit status from /var/tmp/rpm-tmp.8819 (%prep)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.8819 (%prep)
***
Where can I find the correct source rpm?

Besides, I noted that the compiler compile openoffice as i586 binary,
How can I compile it as i686 binary?
-- 
\\\|///
\- - -//
   (  @ @  )
  ---oOOo-(_)-oOOo---
Visit my homepage at http://www.carfield.com.hk
  ---








[Cooker] Wish item: easyway to compile all src package for my machine?

2002-03-05 Thread Carfield Yim

Hi, after visiting http://sorcerer.wox.org/docs/, I will think that it
is a good idea to compile all source package at my home machine. Will
future version of Mandrake provide this choice in the future?

-- 
\\\|///
\- - -//
   (  @ @  )
  ---oOOo-(_)-oOOo---
Visit my homepage at http://www.carfield.com.hk
  ---








[Cooker] XFree86 4.2.0 with s3virge driver are un-stabley

2002-02-18 Thread Carfield Yim

Hi, I am using XFree86 4.2.0 with s3virge driver, every time I use it
for several hours it will auto logout will a error log. Should I report
the bug here or to XFree86.org?

-- 
\\\|///
\- - -//
   (  @ @  )
  ---oOOo-(_)-oOOo---
Visit my homepage at http://www.carfield.com.hk
  ---






XFree86 Version 4.1.0 / X Window System
(protocol Version 11, revision 0, vendor release 6510)
Release Date: 2 June 2001
If the server is older than 6-12 months, or if your card is
newer than the above date, look for a newer version before
reporting problems.  (See http://www.XFree86.Org/FAQ)
Build Operating System: Linux 2.4.8-5mdkenterprise i686 [ELF] 
Module Loader present
(==) Log file: "/var/log/XFree86.9.log", Time: Thu Dec 27 18:42:19 2001
(++) Using config file: "/etc/X11/XF86Config.test-4"
Markers: (--) probed, (**) from config file, (==) default setting,
 (++) from command line, (!!) notice, (II) informational,
 (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) ServerLayout "layout1"
(**) |-->Screen "screen1" (0)
(**) |   |-->Monitor "Generic|Generic LCD Panel 800x600"
(**) |   |-->Device "S3 ViRGE/MX (generic)"
(**) |-->Input Device "Mouse1"
(**) |-->Input Device "Keyboard1"
(**) Option "AutoRepeat" "250 30"
(**) Option "XkbRules" "xfree86"
(**) XKB: rules: "xfree86"
(**) Option "XkbModel" "pc105"
(**) XKB: model: "pc105"
(**) Option "XkbLayout" "us"
(**) XKB: layout: "us"
(==) Keyboard: CustomKeycode disabled
(**) FontPath set to "unix/:-1"
(**) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(==) ModulePath set to "/usr/X11R6/lib/modules"
(**) Option "AllowMouseOpenFail"
(--) using VT number 5

(WW) Cannot open APM
(II) Module ABI versions:
XFree86 ANSI C Emulation: 0.1
XFree86 Video Driver: 0.4
XFree86 XInput driver : 0.2
XFree86 Server Extension : 0.1
XFree86 Font Renderer : 0.2
(II) Loader running on linux
(II) LoadModule: "bitmap"
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor="The XFree86 Project"
compiled for 4.1.0, module version = 1.0.0
Module class: XFree86 Font Renderer
ABI class: XFree86 Font Renderer, version 0.2
(II) Loading font Bitmap
(II) LoadModule: "pcidata"
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor="The XFree86 Project"
compiled for 4.1.0, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.4
(II) PCI: Probing config type using method 1
(II) PCI: Config type is 1
(II) PCI: stages = 0x03, oldVal1 = 0x8000508c, mode1Res1 = 0x8000
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 8086,7190 card , rev 03 class 06,00,00 hdr 00
(II) PCI: 00:01:0: chip 8086,7191 card , rev 03 class 06,04,00 hdr 01
(II) PCI: 00:07:0: chip 8086,7110 card , rev 02 class 06,80,00 hdr 80
(II) PCI: 00:07:1: chip 8086,7111 card , rev 01 class 01,01,80 hdr 00
(II) PCI: 00:07:2: chip 8086,7112 card , rev 01 class 0c,03,00 hdr 00
(II) PCI: 00:07:3: chip 8086,7113 card , rev 02 class 06,80,00 hdr 00
(II) PCI: 00:0a:0: chip 104c,ac1c card , rev 01 class 06,07,00 hdr 82
(II) PCI: 00:0a:1: chip 104c,ac1c card , rev 01 class 06,07,00 hdr 82
(II) PCI: 00:10:0: chip 125d,1969 card 1558,5102 rev 02 class 04,01,00 hdr 00
(II) PCI: 01:01:0: chip 5333,8c03 card 1558,5102 rev 03 class 03,00,00 hdr 00
(II) PCI: End of PCI scan
(II) LoadModule: "scanpci"
(II) Loading /usr/X11R6/lib/modules/libscanpci.a
(II) Module scanpci: vendor="The XFree86 Project"
compiled for 4.1.0, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.4
(II) UnloadModule: "scanpci"
(II) Unloading /usr/X11R6/lib/modules/libscanpci.a
(II) Host-to-PCI bridge:
(II) PCI-to-PCI bridge:
(II) Bus 0: bridge is at (0:0:0), (-1,0,0), BCTRL: 0x08 (VGA_EN is set)
(II) Bus 0 I/O range:
[0] -1  0x - 0x (0x1) IX[B]
(II) Bus 0 non-prefetchable memory range:
[0] -1  0x - 0x (0x0) MX[B]
(II) Bus 0 prefetchable memory range:
[0] -1  0x - 0x (0x0) MX[B]
(II) Bus 1: bridge is at (0:1:0), (0,1,1), BCTRL: 0x88 (VGA_EN is set)
(II) Bus 1 I/O range:
[0] -1  0xa000 - 0xafff (0x1000) IX[B]
(II) Bus 1 non-prefetchable memory range:
[0] -1  0x4000 - 0x470f (0x710) MX[B]
(II) Bus 1 prefetchable memory range:
[0] -1  0x4800 - 0x4f0f (0x710) MX[B]
(--) PCI:*(1:1:0) S3 ViRGE/MX+MV rev 3, Mem @ 0x4000/26
(II) Addressable bus resource ranges are
[0] -1  0x - 0x (0x0) MX[B]
[1] -1  0x - 0x (0x1) IX[B]
(II) OS-reported resource ranges:
[0] -1  0xffe0 -