this should be nice and short (or not, following most of this from Liok’s blog mentioned on my Firefox 3.6 install post), the first 2 steps might be unnecessary as the install itself may do them, but I did them in [...]
this should be nice and short (or not, following most of this from Liok’s blog mentioned on my Firefox 3.6 install post), the first 2 steps might be unnecessary as the install itself may do them, but I did them in this order so that’s how I am posting it…
- sudo kldload linux
- sudo cp /etc/rc.conf /etc/rc.conf.<mmddyyyy>
- sudo vi /etc/rc.conf now, step by step.
a. press “G” (moves you to the end of the file.)
b. type “o” (inserts a new line, vi is case sensitive, but you can use a “o” or a “O” this time so don’t worry)
c. type ‘linux_enable=”YES” ‘ (again case sensitive, this allows FreeBSD to load it automatically each time you boot so you don’t have to do step #1 everytime you restart your system. )
d. press ESC (to enter command mode and tell vi you are done editing. )
e. press “:” (that is a colon if you can’t tell, this tells vi you are going to do file/OS/system based commands vs. editing based commands)
f. type “wq!” (this tells vi to “write” or save the file, then “quit” and “do it now!” the order is important as it follows what you type in the order you type it, so typing ”qw!” will not save the file, it will just quit because the first thing you told it to do is to quit.) - cd /usr/ports/emulation/linux_base-f10 (currently the newest fedora core in the ports tree is fedora 10, not sure why 11 or 12 is not there, but hey…)
- make config-recursive install clean (not sure why the recursive is necessary, but hey, it doesn’t hurt, so why not?)
- let it finish…
- sudo vi /etc/fstab (we now need to setup our system to mount the linux procfs on bootup)
a. press ” G” (moves you to the end of the file)
b. press “o” (to “open” a new line and start editing)
c. type “linproc /usr/compat/linux/proc linprocfs rw 0 0” (those are zeros at the end)
d. press ESC (to enter command mode and tell vi you are done editing.)
e. press “:” (that is a colon if you can’t tell, this tells vi you are going to do file/OS/system based commands vs. editing based commands)
f. type “wq!” (this tells vi to “write” or save the file, then “quit” and “do it now!” ) - sudo mount /usr/compat/linux/proc
- cd /usr/ports/www/nspluginwrapper
- sudo make config-recursive install clean (this is to help your plugins work correctly… hmm… wonder if this was all I needed to get Firefox 3.6.2 working with Java… this command installed a whole bunch of fc10 RPM files, by a whole bunch I mean more than 20 and although fairly small in size, all had to be downloaded) and I hit a small wall…===> linux-f10-gtk2-2.14.7_1 depends on file: /compat/linux/usr/lib/libpango-1.0.so.0.2203.0 – not found
===> Verifying install for /compat/linux/usr/lib/libpango-1.0.so.0.2203.0 in /usr/ports/x11-toolkits/linux-f10-pango
===> linux-f10-pango-1.22.3_1 has known vulnerabilities:
=> pango — integer overflow.
Reference: <http://portaudit.FreeBSD.org/4b172278-3f46-11de-becb-001cc0377035.html>
=> Please update your ports tree and try again.
*** Error code 1Stop in /usr/ports/x11-toolkits/linux-f10-pango.
*** Error code 1Stop in /usr/ports/x11-toolkits/linux-f10-gtk2.
*** Error code 1Stop in /usr/ports/www/nspluginwrapper.
- so… off to run my update script again…
Can’t get past this part, everytime I try to update I get this error, so now I need “Pango” to provide an update without that security vulnerability…
Well that was easy, I’ve been sitting on this problem for about a week now, and all I had to do was search for the issue… aparently the newest version is 1.28 and is available in many locations, except the official FreeBSD ports tree. so I am DL’ing it now and doing an install of the app with pkg_add. The official FreeBSD forum just says to disable vulnerability checking either temporarily or permanently, I prefer to pass on that option.
Okay, well I DL’d the new version, bunzip2′ed it, untar’ed it, ran configure, did not see any errors, then tried to run make and got an error…
“Makefile”, line 957: Need an operator
make: fatal errors encountered — cannot continue
I read the INSTALL file but did not see anything extra that I needed to do. no idea where to go from here… according to the config.log file configure exited with a code 0, no errors. looks like I am still stuck.
I tried downloading the previous version, pango-1.27.1 and had the same error on the same line of the make file, I guees I’ll edit the makefile and see what I can do.
ok, the error line is #957 and this is what is there…
-include $(top_srcdir)/git.mk
to me that means I need to specify the source directory as an input flag option with the config command so the make file has the correct source dir? I’ll give that a shot and see if it changes the line in the results. sudo ./configure –srcdir=/home/jperry/pango-1.27.1/
Continuing on from my last post, it was really quite simple to get KDE to run after I closed that post. in fact I only had to type in 2 lines and the second one ran KDE.
exec /usr/local/kde4/bin/startkde4 > ~/.xinitrc startx
BAM! that was [...]
Continuing on from my last post, it was really quite simple to get KDE to run after I closed that post. in fact I only had to type in 2 lines and the second one ran KDE.
- exec /usr/local/kde4/bin/startkde4 > ~/.xinitrc
- startx
BAM! that was it, finally!! after 2.5 years of trying I could not believe it was so simple… and then I noticed… I had no KB or Mouse… I did not know it was possible to be so happy and so sad at the same time…
You can search the inet any way you want and you’ll find out that running “X -configure” will generate your xorg.conf.new file that you then have to move to “/usr/local/etc/X11/xorg.conf “ one more item to note, when you test this, make sure you type “X -retro” or “Xorg -retro” else you will just get a blank screen.
*****WARNING*****ok, now that I got your attention, you must run the following command before attempting to use your xorg.conf in the previously mentioned location or you will lock your system up and have to hit the power button. “sudo chmod root:wheel /usr/local/etc/X11/xorg.conf“ if you do not have sudo installed, you have 3 choices.
- login as root (something I never do except to add my user id to the sudoers file)
- type “su -” and switch to root
- login as root and type “pkg_add -r sudo” then either add yourself to the wheel group or add yourself to the sudoers file
there are several ways to add yourself to the wheel group, the only one that sticks out in my mind right now that I can vouch for is “pw moduser [username] -G wheel [username]” this one sets your group to wheel AND your default group [username], if you skip the second [username] you will no longer have access to any of your own files or you can type “pw groupmod wheel -m [username]” should do the same, to add yourself to the sudoers file you need to type “visudo” then you will be in vi, here is what to do if you don’t know vi.
- press ”/” (initiates a search)
- type “root” (tells vi what to search for)
- press enter (begins the search process)
- press “n” (takes you to the next instance of “root”)
- press “o” (creates a new blank line under the current one and starts editing)
- type [username] [tab] “ALL=(ALL) ALL“ (make sure you use caps on the “ALL”, this allows [username] to use sudo)
- press ESC (stops edit mode)
- press “:” (informs vi you wish to enter a command)
- type “wq!” (tells vi to “write” the current file to disk and “quit” vi “NOW”
- press enter (executes the command you have entered
Now you will no longer have to log in as root on your machine, or su to root again. Back to my problems… So, I ran the dreaded -configure command (dreaded because after running it on any system in the last 2-3 years the only result I have ever gotten is the blank black screen syndrome) and of course, I got exactly what I was expecting… a blank black screen when I tested X with that config file. This is the reason I did not switch to FreeBSD instead of windows back when FreeBSD 6.1 was released, I could never get beyond this point. Well, about a days worth of inet searching and I have come across some useful information that “worked” for several users. Nothing worked for me (feel free to search the issue and you’ll get a lovely list of others having this issue, some getting off easy, some giving up, some finding alternate ways to do it.) about 15 minutes ago (not that you will know when that was based off my posting time, but it makes sense to say it that way…) I found a lovely forum post on FreeBSD.org, now when you look at that post you may not be surprised by what you see there, it is fairly common troubleshooting and common knowledge about the workings of FreeBSD and X.org; HOWEVER!!! and here is the kicker, it has in it a code snippet of the ever elusive “ServerFlags” section of xorg.conf, something that apparently is not auto generated and really is not documented well (additionally other posts I saw told you to stick it in the “ServerLayout” section, which only causes X to crash without loading.) I added the following to my xorg.conf file:
- Section “ServerFlags”
- Option “AllowEmptyInput” “off”
- EndSection
- Section “InputDevice”
- Identifier “Keyboard0″
- Driver ”kbd”
- Option “XkbOptions” “terminate:ctrl_alt_bksp”
- EndSection
Now, if you ran “X -configure” lines 4, 5, 6, and 8 should already be in there. Lines 1 – 3 allow my mouse to work in X, and line 7 allows me to hit ctrl+alt+bksp to exit X and both worked!! So I quickly exited X and tried “startx” and sure enough, KDE loaded, I could see it, and my mouse worked!! hot dog!!
Twitter: finndo77
- New blog post... Diablo III closed Beta http://t.co/dKC2ChWm 01:36:32 PM December 07, 2011 from joelperryproductions.com ReplyRetweetFavorite
- New blog post... resolving video problems with K-L-Ubuntu and XFX Radeon 6850 http://t.co/H6bXuMqi 06:59:18 AM October 22, 2011 from joelperryproductions.com ReplyRetweetFavorite
- New blog post... Computer upgrades http://t.co/6PWVNy4m 01:39:35 PM October 20, 2011 from joelperryproductions.com ReplyRetweetFavorite
- $7 for $15 Worth of Hand-Tossed Pizza, Calzones, and Drinks at Andolini's Pizza Charleston, SC http://t.co/QnKwPwB 11:49:26 AM August 29, 2011 from Tweet Button ReplyRetweetFavorite
- New blog post... is zdnet.com/news down http://t.co/DThuI4r 07:57:28 AM August 17, 2011 from joelperryproductions.com ReplyRetweetFavorite
- New blog post... Netflix Down? http://bit.ly/q74Svu 07:39:30 PM August 08, 2011 from joelperryproductions.com ReplyRetweetFavorite
Blogroll
programming
Tech Websites
- a good coder I found on CodeProject
- Barebones HTML coding chart
- Code Project
- Extreme Overclocking
- FreeBSD blog
- Legit Reviews – Tech Hardware Review
- Linuxtopia
- Notion Ink – homepage
- Plug Computing web site and forums
- Tablet Roms – used to be – Notion Ink Hacks
- Ubuntu Forums post on the mount command and fstab file
- VMWare ESX blogger
- Wikipedia.org main page
- ZDNet's blog pages

