Starting Compiz on KDE 3.5 , Xorg 7.2

2007-06-28 Thread Sereno Ternullo
Hi folks, 
after a painful process I've upgraded my xorg to 7.2. 
I'm running FreeBSD 6.2


My nvidia driver seems to work fine, 
glxgears runs now fast.


I've installed x11-wm/compiz.

After logging into my KDE session, I type 

$ compiz --display :0 --replace gconf decoration wobbly fade minimize cube 
rotate zoom move resize place scale switcher water 

$ kde-window-decorator

Compiz starts, but it seems I don't jave any kde-window-decorator and my 
windows remain without borders. 


Am I missing anything ?

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


Upgrading Xorg from 6.9.0 to 7.2

2007-06-26 Thread Sereno Ternullo

Hi folks,
I'm encountering problems upgrading Xorg from version 6.9.0 to 7.2
I followed the procedure described in /usr/ports/UPDATING

[...]

# portupgrade -aP -x 'gstreamer*'

Even though my computer spent 24 hours compiling,
when I typed

# pkg_version -s xorg

I saw I still had my old 6.9.0 version.

So this morning I tried again, by typing:

# script xorg.upgrade portupgrade -Pr xorg

and this is what I get (tail of the script log ) :


if /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H  -I. 
-I. -I.. -I/usr/local/include/xorg -I/usr/local/include   
-I/usr/local/include -I/usr/local/include/drm 
-I/usr/local/include/X11/dri -O2 -fno-strict-aliasing -pipe -MT 
atibus.lo -MD -MP -MF .deps/atibus.Tpo -c -o atibus.lo atibus.c;  then 
mv -f .deps/atibus.Tpo .deps/atibus.Plo; else rm -f 
.deps/atibus.Tpo; exit 1; fi


cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/xorg 
-I/usr/local/include -I/usr/local/include -I/usr/local/include/drm 
-I/usr/local/include/X11/dri -O2 -fno-strict-aliasing -pipe -MT 
atibus.lo -MD -MP -MF .deps/atibus.Tpo -c atibus.c  -fPIC -DPIC -o 
.libs/atibus.o


In file included from atidripriv.h:40,

from atistruct.h:41,

from atibus.c:35:

/usr/local/include/GL/glxint.h:28:19: GL/gl.h: No such file or directory

In file included from atidripriv.h:40,

from atistruct.h:41,

from atibus.c:35:

/usr/local/include/GL/glxint.h:95: error: syntax error before GLboolean

*** Error code 1



Stop in /usr/ports/x11-drivers/xf86-video-ati/work/xf86-video-ati-6.6.3/src.

*** Error code 1



Stop in /usr/ports/x11-drivers/xf86-video-ati/work/xf86-video-ati-6.6.3.

*** Error code 1



Stop in /usr/ports/x11-drivers/xf86-video-ati/work/xf86-video-ati-6.6.3.

*** Error code 1



Stop in /usr/ports/x11-drivers/xf86-video-ati.

*** Error code 1



Stop in /usr/ports/x11-drivers/xf86-video-ati.

*** Error code 1



Stop in /usr/ports/x11-drivers/xorg-drivers.

*** Error code 1



Stop in /usr/ports/x11-drivers/xorg-drivers.

*** Error code 1



Stop in /usr/ports/x11/xorg.

*** Error code 1



Stop in /usr/ports/x11/xorg.

** Command failed [exit code 1]: /usr/bin/script -qa 
/tmp/portupgrade.39088.0 env UPGRADE_TOOL=portupgrade 
UPGRADE_PORT=xorg-6.9.0 UPGRADE_PORT_VER=6.9.0 make reinstall


---  Restoring the old version

** Fix the installation problem and try again.

[Updating the pkgdb format:bdb_btree in /var/db/pkg ... - 449 packages 
found (-0 +33) . done]


** Listing the failed packages (*:skipped / !:failed)

   ! x11/xorg (xorg-6.9.0)(install error)

---  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed

** Could not clean up temporary directory: Directory not empty - 
/var/tmp/portupgradeOnzxbl1v



The compiling process ends because I don't have any 
/usr/local/include/GL/gl.h

( and any ati device, indeed )

I'm running FreeBSD 6.2-release,
I have an nvidia GeForce 2.

Is there any broken port out there ?
How can I get gl.h ?

Any advice is welcomed !




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


Re: Upgrading Xorg from 6.9.0 to 7.2

2007-06-26 Thread Sereno Ternullo

Ciao Norberto! ,
thank you for your quick answer !


Ciao Sereno!
make sure your ports tree is up to date
  


I think my ports tree is up to date,
I just issued

# portsnap fetch
# portsnap extract
# pkgdb -Fu

before doing anything else.

How can I get gl.h ?



$ pkg_info -W /usr/local/include/GL/gl.h
/usr/local/include/GL/gl.h was installed by package libGL-6.5.3_3

  
I will try to install libGL before portupgrading xorg: I'm beginning to 
pray.



(which of course depends on xorg . welcome to dependency paradox :)
  


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


Re: Upgrading Xorg from 6.9.0 to 7.2

2007-06-26 Thread Sereno Ternullo

Lowell Gilbert ha scritto:

Sereno Ternullo [EMAIL PROTECTED] writes:

  

Hi folks,
I'm encountering problems upgrading Xorg from version 6.9.0 to 7.2
I followed the procedure described in /usr/ports/UPDATING

[...]

# portupgrade -aP -x 'gstreamer*'

Even though my computer spent 24 hours compiling,
when I typed

# pkg_version -s xorg

I saw I still had my old 6.9.0 version.

So this morning I tried again, by typing:

# script xorg.upgrade portupgrade -Pr xorg



According to the directions, what you needed at that point was
portupgrade -a.  I would expect that to cover a lot more. 
Did you try that command?


  


Of course,
in fact my computer spent 24 hours compiling :)

P.S: Why so many ports and so few packages ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: KDM at boot

2007-06-26 Thread Sereno Ternullo

Tim Daneliuk ha scritto:

Eric Crist wrote:
  

On Jun 25, 2007, at 7:39 PMJun 25, 2007, Cyrus wrote:



ive done this before with Slackware 11, but read up on freebsd on how
to do
it, and its completley different.  How do I go about having KDM start
automaticly on boot?

  

Edit /etc/ttys and modify line 45 as follows:

ttyv8   /usr/local/bin/kdm   xterm  on secure

Save the file, reboot.  Of course, you need to have KDE installed.



Shouldn't have to reboot.  'kill -HUP 1'   should do it. If not,
'shutdown now', hit return,   followed by ^D will do it ...
  


This is even easier to remember:

# init q

It's the same for 'kill -HUP 1'
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Making a new libmap.conf for linux emulation

2007-06-05 Thread Sereno Ternullo

Norberto Meijome ha scritto:

On Tue, 5 Jun 2007 00:54:32 +0200
Sereno Ternullo [EMAIL PROTECTED] wrote:

  
Hi all, 
I made too many mistakes configuring my /etc/libmap.conf file and now 
I'm having problems with my linux sub system.



why do you think you have to do that for? 
  


I'm slowing understanding the source of my disaster.
Watching to my /compat/linux/ dir, and recognizing it as a Fedora Core 4 
base system,
I had the insane idea of installing an entire Fedora core 4 system by 
unpacking all the RMPs

found on the first ISO image of the linux distribution.

# mount /dev/md0 /mnt/FedoraISO
# cd /mnt/FedoraISO
# for rpm in *.rmp
 do
 rpm --ignore-os -i --root-install /compat/linux ${rpm}
 done

After these commands I had my problem with ldconfig and the linux 
emulation.


Now the strangest thing: my /etc/libmap.conf file disappeared.

* I didn't have to install any rpms ?
* I was sleeping and issued rm libmap.conf ?
* someone logged into my system hacking my password by ssh ?
-- I will check my logs

I don't know.

However, my libmap.conf was missing.
I tried to adjust it by hand, but I'm not that expert, and everything I 
do about it

is useless.

Can anyone of you post me his own libmap.conf file with basic linux 
emulation ?


I'm running FreeBSD 6.2 , GENERIC,
the linux base installed system is Fedora Core 4.

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


Making a new libmap.conf for linux emulation

2007-06-04 Thread Sereno Ternullo
Hi all, 
I made too many mistakes configuring my /etc/libmap.conf file and now 
I'm having problems with my linux sub system.

If I have linux.ko loaded into the kernel, ldconfig fails like this:

[EMAIL PROTECTED] /etc]# ldconfig
Segmentation fault: 11 (core dumped)

With linux.ko loaded into the kernel, 
if I try to start /compat/linux/bin/bash

bash works fine, but if I try to start skype, this is what I get

[EMAIL PROTECTED] /usr/home/sereno]$ skype_bin
skype_bin: error while loading shared libraries: /lib/libGL.so.1: ELF file OS 
ABI invalid

Can anyone tell me the lines I'm missing on my libmap.conf ?

Thank you in advance, 
Sereno Ternullo. 



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


About /bin/csh

2007-06-02 Thread Sereno Ternullo
Hi folks, 
i noticed that the root's default shell, /bin/csh is not statically linked:

[EMAIL PROTECTED] ~]$ ldd /bin/csh
/bin/csh:
libncurses.so.6 = /lib/libncurses.so.6 (0x280bd000)
libcrypt.so.3 = /lib/libcrypt.so.3 (0x280fc000)
libc.so.6 = /lib/libc.so.6 (0x28114000)

What might happen if something goes wrong with ncurses, crypt and c libs ? 
Might I login into my system ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unable to open /nvidiactl

2007-05-30 Thread Sereno Ternullo

ml-vic ha scritto:

(EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module! Please ensure
(EE) NVIDIA(0): that there is a supported NVIDIA GPU in this system, and
(EE) NVIDIA(0): that the NVIDIA device files have been created properly. 
(EE) NVIDIA(0): Please consult the NVIDIA README for details.

(EE) NVIDIA(0):  *** Aborting ***
(II) UnloadModule: nvidia
(II) UnloadModule: ramdac
(II) UnloadModule: wfb
(II) UnloadModule: fb
(EE) Screen(s) found, but none have a usable configuration.
  


I had a similar problem installing the nvidia driver by using the port 
provided with FreeBSD.
I used to get a message similar to yours. What kind of nvidia card is in 
your system ?


First of all, delete the packate installed by port.

nvidia provides most of old cards support through the legacy driver, 
and you have

to download the appropriate one by getting it on the nvidia site.

type

$ pciconf -lv

to get the exact name of your card.

So get to http://www.nvidia.com/object/unix.html
and search your legacy package between those listed, for example

http://www.nvidia.com/object/freebsd_1.0-9639.html

at the end of each package page you can find the list of nvidia hardware 
supported

by that package, for example

http://www.nvidia.com/object/IO_32667.html

If your card name is in that list, you have found the right package.
Download, untar, make install and  nvdia-xconfig.

On my system everything worked fine this way,
glxgears run pretty fast.

Hope to be useful,
see you

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