FreeBSD is an excellent operating system, be it on a Desktop (PC-BSD) or Server. Its stability and flexibility was never an issue, nor even software availability (21135 ports currently available to deploy).
Most of the time, ports will install the necessary dependencies to fulfill its requirement. But certain ports installs the X11 (X window system) libraries. Which we don't need it if the installation is meant to run on a server environment.
In this case, we will need to tell ports not to include the X11 libraries. This will certainly save some hard disk space, compilation time and avoid unnecessary security vulnerabilities.
Here is how to specify NOT to include X11 related libraries during ports installation :
Showing posts with label Xorg. Show all posts
Showing posts with label Xorg. Show all posts
2010-01-16
2010-01-06
FreeBSD - Compilation errors on port KDE4 in FreeBSD 8.0
While adding GUI Desktop environment into my development box, an error encountered when compiling KDE4, the stable and nice looking Desktop environment. Compiling KDE4 can take quite some time as it depends on few hundred other ports. Alternatively, you can install KDE4 from the packages by using the command :
But installing programs using ports is always my preference. Although ports takes additional time to compile but the flexibility to configure what options to enable or disable is preferred. By using ports, it also allows us to search (make quicksearch name=port-name) the local repository (/usr/ports) on what other related programs we can have.
Back to the topic. Halfway ports compiling KDE4, it halted with an error compiling the port "kdebase-runtime-4.3.4". Instead of searching the errors in a one big whole of logs, manually compile /usr/ports/x11/kdebase4-runtime to zoom in the error. Below is what the ports complained about while installing /usr/ports/x11/kdebase4-runtime (which is part of the dependencies of KDE4) :
From the errors, it seems kdepimlibs4 is missing of a dependencies related to "boost::python".
pkg_add -r kde4
But installing programs using ports is always my preference. Although ports takes additional time to compile but the flexibility to configure what options to enable or disable is preferred. By using ports, it also allows us to search (make quicksearch name=port-name) the local repository (/usr/ports) on what other related programs we can have.
Back to the topic. Halfway ports compiling KDE4, it halted with an error compiling the port "kdebase-runtime-4.3.4". Instead of searching the errors in a one big whole of logs, manually compile /usr/ports/x11/kdebase4-runtime to zoom in the error. Below is what the ports complained about while installing /usr/ports/x11/kdebase4-runtime (which is part of the dependencies of KDE4) :
[ 2%] Built target kcm_mailtransport_automoc [ 2%] Built target mailtransport_automoc [ 2%] Built target microblog_automoc [ 2%] Built target kpimtextedit_automoc [ 2%] Built target syndication_automoc Scanning dependencies of target gpgmepp [ 2%] Building CXX object gpgme++/CMakeFiles/gpgmepp.dir/gpgmepp_automoc.o Linking CXX shared library ../lib/libgpgme++.so [ 7%] Built target gpgmepp Scanning dependencies of target gpgmepp-pthread [ 7%] Building CXX object gpgme++/CMakeFiles/gpgmepp-pthread.dir/gpgmepp-pthread_automoc.o Linking CXX shared library ../lib/libgpgme++-pthread.so [ 11%] Built target gpgmepp-pthread [ 11%] Building CXX object akonadi/CMakeFiles/akonadi-kde.dir/itemserializer.o In file included from /usr/local/include/boost/parameter/aux_/arg_list.hpp:14, from /usr/local/include/boost/parameter/aux_/tagged_argument.hpp:10, from /usr/local/include/boost/parameter/aux_/tag.hpp:8, from /usr/local/include/boost/parameter/keyword.hpp:10, from /usr/local/include/boost/parameter/name.hpp:8, from /usr/local/include/boost/graph/named_function_params.hpp:15, from /usr/local/include/boost/graph/depth_first_search.hpp:21, from /usr/local/include/boost/graph/topological_sort.hpp:16, from /usr/ports/deskutils/kdepimlibs4/work/kdepimlibs-4.3.4/akonadi/itemserializer.cpp:40: /usr/local/include/boost/parameter/aux_/maybe.hpp:13:53: error: boost/python/detail/referent_storage.hpp: No such file or directory In file included from /usr/local/include/boost/parameter/aux_/arg_list.hpp:14, from /usr/local/include/boost/parameter/aux_/tagged_argument.hpp:10, from /usr/local/include/boost/parameter/aux_/tag.hpp:8, from /usr/local/include/boost/parameter/keyword.hpp:10, from /usr/local/include/boost/parameter/name.hpp:8, from /usr/local/include/boost/graph/named_function_params.hpp:15, from /usr/local/include/boost/graph/depth_first_search.hpp:21, from /usr/local/include/boost/graph/topological_sort.hpp:16, from /usr/ports/deskutils/kdepimlibs4/work/kdepimlibs-4.3.4/akonadi/itemserializer.cpp:40: /usr/local/include/boost/parameter/aux_/maybe.hpp:90: error: 'boost::python' has not been declared /usr/local/include/boost/parameter/aux_/maybe.hpp:90: error: expected unqualified-id before '<' token /usr/local/include/boost/parameter/aux_/maybe.hpp: In member function 'typename boost::add_reference::type>::type boost::parameter::aux::maybe::construct2(const U&) const': /usr/local/include/boost/parameter/aux_/maybe.hpp:59: error: 'm_storage' was not declared in this scope /usr/local/include/boost/parameter/aux_/maybe.hpp: In member function 'void boost::parameter::aux::maybe::destroy()': /usr/local/include/boost/parameter/aux_/maybe.hpp:72: error: 'm_storage' was not declared in this scope *** Error code 1 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 1 Stop in /usr/ports/deskutils/kdepimlibs4.
From the errors, it seems kdepimlibs4 is missing of a dependencies related to "boost::python".
2009-07-23
FreeBSD - Error installing KDE4 or Xine
Halfway through installing KDE4 or any ports that is related to Xine, ended fail with the below error message :
It seems that the patching for ffmpeg in libxine fail for some reason. Checking out the freebsd.org bugs database, it is due to ffmpeg in libxine does not need that patch. The solution to it is :
===> Found saved configuration for libxine-1.1.16.3_1 => xine-lib-1.1.16.3.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch from http://superb-east.dl.sourceforge.net/sourceforge/xine/. xine-lib-1.1.16.3.tar.bz2 100% of 7293 kB 232 kBps 00m00s ===> Extracting for libxine-1.1.16.3_1 => MD5 Checksum OK for xine-lib-1.1.16.3.tar.bz2. => SHA256 Checksum OK for xine-lib-1.1.16.3.tar.bz2. ===> libxine-1.1.16.3_1 depends on file: /usr/local/bin/perl5.8.9 - found ===> Patching for libxine-1.1.16.3_1 ===> libxine-1.1.16.3_1 depends on file: /usr/local/bin/perl5.8.9 - found ===> Applying FreeBSD patches for libxine-1.1.16.3_1 1 out of 1 hunks failed--saving rejects to src/combined/ffmpeg/Makefile.in.rej => Patch patch-src_combined_ffmpeg_Makefile.in failed to apply cleanly. => Patch(es) patch-config.rpath patch-configure patch-misc_Makefile.in patch-misc_libxine.pc.in patch-src:libffmpeg:libavcodec:h263.c patch-src:libffmpeg:libavcodec:mpeg12.c patch-src:libffmpeg:libavcodec:msmpeg4.c patch-src:xine-engine:xine_internal.h patch-src_audio_out_audio_oss_out.c applied cleanly. *** Error code 1 Stop in /usr/ports/multimedia/libxine. *** Error code 1
It seems that the patching for ffmpeg in libxine fail for some reason. Checking out the freebsd.org bugs database, it is due to ffmpeg in libxine does not need that patch. The solution to it is :
2009-07-19
Freebsd - How to install FreeBSD as your Desktop
UPDATE : After testing PC-BSD for a while (more then 6 months), PC-BSD indeed is a FreeBSD variant that is superior in Desktop environment. Its user friendly installation and configuration have make FreeBSD so much more suitable running as an Desktop. Unless you're interested in figuring out how to tweak and turn FreeBSD to work in a Desktop, give PC-BSD a try, you'll love it!
Check it out at PC-BSD website !!!
PsyberMonkey is turning his desktop to FreeBSD and this is the work he has done :-
1. FreeBSD quick install guide (aka How to install FreeBSD).
2. make sure hardware are detected properly
3. Using ports to install software - go to Section III.
4. Getting KDE, GNOME and XFCE up and running (how to still in progress)
Other miscellaneous stuff :
This post will be updated periodically to reflect the progress of using FreeBSD as a Desktop.
Adios !!!
Check it out at PC-BSD website !!!
PsyberMonkey is turning his desktop to FreeBSD and this is the work he has done :-
1. FreeBSD quick install guide (aka How to install FreeBSD).
2. make sure hardware are detected properly
- How to install or add sound card driver module
- wireless (how to still in progress)
- ACPI (still having trouble making it work)
- remote control through SSH (how to still in progress)
- all others e.g. external drive formatted in FAT32, display card, track pad, external mouse, gigabit network card & etc are detected and function properly.
3. Using ports to install software - go to Section III.
4. Getting KDE, GNOME and XFCE up and running (how to still in progress)
Other miscellaneous stuff :
- How to disable or turn off the keyboard beep sound
- How to assign or remove fixed IP
- IP address automatically assign aka DHCP
- How to install flash plugin or player to work with FireFox
- Backup & restore for disaster recovery
- How to upgrade the kernel or base system
- Error installing KDE4 or Xine
This post will be updated periodically to reflect the progress of using FreeBSD as a Desktop.
Adios !!!
2009-03-17
Ubuntu - how to set the max / correct resolution for Nvidia cards and LCD monitor
After installing a new display Nvidia card on Ubuntu linux, it did not detect the correct resolution available on the monitor. Rather, it uses the wrongly (normally lower resolution) detected resolution, which resulted poor display. After checking out /var/log/Xorg.0.log, it reported correct max resolution detected both on the Nvidia display card & monitor. Below is the resolution :
Subscribe to:
Posts (Atom)


