gmake: *** [libgiofam.la] Error 1 *** Error code 2
Stop in /usr/ports/devel/gio-fam-backend. *** Error code 1
Stop in /usr/ports/net/avahi-app. *** Error code 1
Stop in /usr/ports/devel/gnome-vfs. *** Error code 1
Stop in /usr/ports/www/firefox3. *** E
Solution:
#cd /usr/ports/devel/glib20/
#make install
#cd /usr/ports/www/firefox3/
#make install
do {kiss her; kiss her ++; } while ( refuse );
Showing posts with label freebsd. Show all posts
Showing posts with label freebsd. Show all posts
Friday, September 12, 2008
can't install firefox
Tuesday, August 5, 2008
working with package on Open-Source
Freebsd:
Using pkg_tools:
Using port:
Using rpm:
Using yum:
Using zypper:
zypper search #install pkg
zypper install #remove pkg
Using apt-get:
Using pkg_tools:
pkg_add -r# fetch from respository and install it
pkg_info # get installed packages's information
pkg_info -L# show everything that are created by pkg's installation
pkg_delete#remove pkg
cd /usr/ports
make search name=#specify the path of pkg's port
......
path=/path/to/port/ #path to pkg's port
......
cd /usr/ports/path/to/port/ #change dir to pkg's port
make install clean
ex: update later
Linux:
Using rpm:
rpm -qa #show installed packages
rpm -ivh
rpm -ql# Show everything that are created by pkg's installation
yum update # Update pkg from internet
yum install#install pkg
yum remove#remove pkg
Using zypper:
zypper search
zypper install
Using apt-get:
update later
Thursday, February 21, 2008
can't start vncserver
root@svr5:/usr/ports/net/tightvnc# vncserver
Couldn't start Xvnc; trying default font path.
Please set correct fontPath in the vncserver script.
Couldn't start Xvnc process.
Couldn't open RGB_DB '/usr/local/lib/X11/rgb'
21/02/08 18:32:09 Xvnc version TightVNC-1.3.8
21/02/08 18:32:09 Copyright (C) 2000-2006 Constantin Kaplinsky
21/02/08 18:32:09 Copyright (C) 1999 AT&T Laboratories Cambridge
21/02/08 18:32:09 All Rights Reserved.
21/02/08 18:32:09 See http://www.tightvnc.com/ for information on TightVNC
21/02/08 18:32:09 Desktop name 'X' (svr5.at.mikorn.com:1)
21/02/08 18:32:09 Protocol versions supported: 3.7t, 3.7, 3.3
21/02/08 18:32:09 Listening for VNC connections on TCP port 5901
21/02/08 18:32:09 Listening for HTTP connections on TCP port 5801
21/02/08 18:32:09 URL http://svr5.at.mikorn.com:5801
_FontTransSocketUNIXConnect: Can't connect: errno = 2
failed to set default font path 'unix/:7100'
Fatal server error:
could not open default font 'fixed'
Couldn't open RGB_DB '/usr/local/lib/X11/rgb'
21/02/08 18:32:10 Xvnc version TightVNC-1.3.8
21/02/08 18:32:10 Copyright (C) 2000-2006 Constantin Kaplinsky
21/02/08 18:32:10 Copyright (C) 1999 AT&T Laboratories Cambridge
21/02/08 18:32:10 All Rights Reserved.
21/02/08 18:32:10 See http://www.tightvnc.com/ for information on TightVNC
21/02/08 18:32:10 Desktop name 'X' (svr5.at.mikorn.com:1)
21/02/08 18:32:10 Protocol versions supported: 3.7t, 3.7, 3.3
21/02/08 18:32:10 Listening for VNC connections on TCP port 5901
21/02/08 18:32:10 Listening for HTTP connections on TCP port 5801
21/02/08 18:32:10 URL http://svr5.at.mikorn.com:5801
Fatal server error:
could not open default font 'fixed'
Solution: Modify
root@svr5:/usr/ports/net/tightvnc# vi /usr/local/bin/vncserver
...
# Here is another example of setting the font path:
$fontPath = "/usr/lib/X11/fonts/misc/,/usr/lib/X11/fonts/75dpi/";
...
to
# Here is another example of setting the font path:
$fontPath = "/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/75dpi/";
Couldn't start Xvnc; trying default font path.
Please set correct fontPath in the vncserver script.
Couldn't start Xvnc process.
Couldn't open RGB_DB '/usr/local/lib/X11/rgb'
21/02/08 18:32:09 Xvnc version TightVNC-1.3.8
21/02/08 18:32:09 Copyright (C) 2000-2006 Constantin Kaplinsky
21/02/08 18:32:09 Copyright (C) 1999 AT&T Laboratories Cambridge
21/02/08 18:32:09 All Rights Reserved.
21/02/08 18:32:09 See http://www.tightvnc.com/ for information on TightVNC
21/02/08 18:32:09 Desktop name 'X' (svr5.at.mikorn.com:1)
21/02/08 18:32:09 Protocol versions supported: 3.7t, 3.7, 3.3
21/02/08 18:32:09 Listening for VNC connections on TCP port 5901
21/02/08 18:32:09 Listening for HTTP connections on TCP port 5801
21/02/08 18:32:09 URL http://svr5.at.mikorn.com:5801
_FontTransSocketUNIXConnect: Can't connect: errno = 2
failed to set default font path 'unix/:7100'
Fatal server error:
could not open default font 'fixed'
Couldn't open RGB_DB '/usr/local/lib/X11/rgb'
21/02/08 18:32:10 Xvnc version TightVNC-1.3.8
21/02/08 18:32:10 Copyright (C) 2000-2006 Constantin Kaplinsky
21/02/08 18:32:10 Copyright (C) 1999 AT&T Laboratories Cambridge
21/02/08 18:32:10 All Rights Reserved.
21/02/08 18:32:10 See http://www.tightvnc.com/ for information on TightVNC
21/02/08 18:32:10 Desktop name 'X' (svr5.at.mikorn.com:1)
21/02/08 18:32:10 Protocol versions supported: 3.7t, 3.7, 3.3
21/02/08 18:32:10 Listening for VNC connections on TCP port 5901
21/02/08 18:32:10 Listening for HTTP connections on TCP port 5801
21/02/08 18:32:10 URL http://svr5.at.mikorn.com:5801
Fatal server error:
could not open default font 'fixed'
Solution: Modify
root@svr5:/usr/ports/net/tightvnc# vi /usr/local/bin/vncserver
...
# Here is another example of setting the font path:
$fontPath = "/usr/lib/X11/fonts/misc/,/usr/lib/X11/fonts/75dpi/";
...
to
# Here is another example of setting the font path:
$fontPath = "/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/75dpi/";
xorg-libraries error
root@svr5:/usr/ports/x11/xorg-libraries# make install
===> xorg-libraries-6.9.0 depends on executable: imake - found
===> xorg-libraries-6.9.0 depends on shared library: drm - found
===> xorg-libraries-6.9.0 depends on shared library: freetype.9 - found
===> xorg-libraries-6.9.0 depends on shared library: fontconfig.1 - found
===> Configuring for xorg-libraries-6.9.0
cp: /usr/local/lib/X11/config/version.def: No such file or directory
*** Error code 1
Solution:
use cvsup -g -L 2 ports-supfile instead of cvsup ports-supfile for update ports
===> xorg-libraries-6.9.0 depends on executable: imake - found
===> xorg-libraries-6.9.0 depends on shared library: drm - found
===> xorg-libraries-6.9.0 depends on shared library: freetype.9 - found
===> xorg-libraries-6.9.0 depends on shared library: fontconfig.1 - found
===> Configuring for xorg-libraries-6.9.0
cp: /usr/local/lib/X11/config/version.def: No such file or directory
*** Error code 1
Solution:
use cvsup -g -L 2 ports-supfile instead of cvsup ports-supfile for update ports
Thursday, January 31, 2008
startx can't work "No core Pointer" "No Device Specified"
đây là hiện tượng vừa gặp sáng nay, làm mất cả buổi sáng không thể log vào KDE desktop được
-Tương Kernel mơi build hôm qua có vẫn đề -> thêm 1 số parameter cho kernel, build lại -> thất bại
- Kiếm file xorg.conf để chỉnh sữa mà kiếm miết không ra -> bó giò
-search tài liệu google + www.freebsd.org documents lần nữa, ra được cái này ->
--> kết luận: Hiểu thêm 1 chút về xorg nữa
Không hiểu vấn để là tại sao nhưng cuối cùng cũng giải quyết được
#startx
getconfig.pl: Weight of result is 500.
New driver is "i810"
(==) Using default built-in configuration (53 lines)
(EE) Failed to load module "fbdev" (module does not exist, 0)
(EE) GARTInit: Unable to open /dev/agpgart (No such file or directory)
(EE): Cannot find which device to use.
(EE) xf86OpenSerial: No Device specified.
(EE): cannot open input device
(EE) PreInit failed for input device ""
No core pointer
Fatal server error:
failed to initialize core devices
Solution:
-Tương Kernel mơi build hôm qua có vẫn đề -> thêm 1 số parameter cho kernel, build lại -> thất bại
- Kiếm file xorg.conf để chỉnh sữa mà kiếm miết không ra -> bó giò
-search tài liệu google + www.freebsd.org documents lần nữa, ra được cái này ->
--> kết luận: Hiểu thêm 1 chút về xorg nữa
Không hiểu vấn để là tại sao nhưng cuối cùng cũng giải quyết được
#startx
getconfig.pl: Weight of result is 500.
New driver is "i810"
(==) Using default built-in configuration (53 lines)
(EE) Failed to load module "fbdev" (module does not exist, 0)
(EE) GARTInit: Unable to open /dev/agpgart (No such file or directory)
(EE)
(EE) xf86OpenSerial: No Device specified.
(EE)
(EE) PreInit failed for input device "
No core pointer
Fatal server error:
failed to initialize core devices
Solution:
#Xorg -config xorg.conf.new
Ctrl + Bacspace ( exit test monitor )
#cp xorg.conf.new /etc/xorg.conf
#startx
-> successful -> change your Resolution
Subscribe to:
Posts (Atom)