Re: Portmanager gives me an error message
On Fri, 23 Jan 2009 06:28:19 -0500 Jerry ges...@yahoo.com wrote: On Thu, 22 Jan 2009 20:00:26 -0500 Eduardo Cerejo ejcer...@optonline.net wrote: I'm trying to upgrade any port with portmanager because portupgrade keeps failing all the time. No matter what port I try to upgrade I get this error: sudo portmanager x11/xterm -l -u Password: MGrStrlen error: NULL marker not found in string Assertion failed: (0), function MGrStrlen, file MGrStrlen.c, line 54. Abort I'm running FreeBSD 7.1 release. I am assuming you have the latest version of portmanager and an updated ports tree. Try just running portmanager in a generic fashion; i.e.: portmanager -u -l -p -y See if that corrects the problem. Also, can you run it as root rather than using sudo? I have no idea if that would make any difference; however, I never use sudo when running portmanager myself. Also, you probably have portsclean installed. Clean out your /usr/ports/distfiles directory and then run: portsclean -CLP Prior to running portmanger. It cannot hurt and it might fix something. You might also consider doing a deinstall/reinstall of portmanger if you feel the program might have gotten damaged. -- Jerry ges...@yahoo.com FOR SALE: Parachute. Used once. Never opened. Slightly Stained. It makes no difference at all. I get the same kind of errors. Do you know if portmaster is less buggy than portupgrade? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Portmanager gives me an error message
On Fri, 23 Jan 2009 17:04:03 + Chris Whitehouse cwhi...@onetel.com wrote: Eduardo Cerejo wrote: I'm trying to upgrade any port with portmanager because portupgrade keeps failing all the time. No matter what port I try to upgrade I get this error: sudo portmanager x11/xterm -l -u According to the man page you don't need the -u when doing a single port, see EXAMPLES. Chris Password: MGrStrlen error: NULL marker not found in string Assertion failed: (0), function MGrStrlen, file MGrStrlen.c, line 54. Abort I'm running FreeBSD 7.1 release. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org I want it to do the same thing that 'portupgrade -R whateverport' does ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
KDE: What a monster!
I just finished installing kde4, and it can barely run on my old p4 machine! Where has kde gone? Is the developing team trying to beat VISTA? Pitiful at best! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Portmanager gives me an error message
I'm trying to upgrade any port with portmanager because portupgrade keeps failing all the time. No matter what port I try to upgrade I get this error: sudo portmanager x11/xterm -l -u Password: MGrStrlen error: NULL marker not found in string Assertion failed: (0), function MGrStrlen, file MGrStrlen.c, line 54. Abort I'm running FreeBSD 7.1 release. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
How to use nspluginwrapper
It's been a while since I used this and decided to use it again because gnash looks like is getting harder to use and becoming very buggy. I've installed linu-flashplugin and now I want to installed the plugin using nspluginwrapper and I've trying to install it like this: nspluginwrapper -i /usr/local/lib/npapi/linux-flashplugin/libflashplayer.so but it doesn't install it, what is the right way of doing it? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Invalid address running apps using wine-1.1.8,1
Hi, I'm getting an Invalid address error trying to run Windows apps under WINE. wineconsole cmd works OK though, and so does winefile. The error seems to only occur with apps that aren't supplied with WINE, eg. C:\Program Files\Winampwinamp.exe wine: could not load LC:\\Program Files\\Winamp\\winamp.exe: Invalid address $ uname -a FreeBSD blizzard.phoenix 6.3-RELEASE-p5 FreeBSD 6.3-RELEASE-p5 #0: Wed Oct 1 05:34:19 UTC 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 $ pkg_info | grep wine wine-1.1.8,1Microsoft Windows compatibility layer for Unix-like systems Any ideas? Regards Andrew I'm getting the same error after portupgrading wine. I haven't found anything on it yet! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Invalid address running apps using wine-1.1.8,1
Eduardo Cerejo writes: I'm getting an Invalid address error trying to run Windows apps under WINE. wineconsole cmd works OK though, and so does winefile. The error seems to only occur with apps that aren't supplied with WINE, eg. C:\Program Files\Winampwinamp.exe wine: could not load LC:\\Program Files\\Winamp\\winamp.exe: Invalid address I'm getting the same error after portupgrading wine. I haven't found anything on it yet! I have at least one non-Wine-supplied program that runs without this problem under wine-1.1.8.1. Mind you, it complains of stuff I don't think it sed to complain about ... but it runs. It is frustrating when you try running an app and all you get is a little window saying invalid address and nothing else to work with. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
neon28 fails, conflicts with neon26
FreeBSD 7 stable ports/UPDATING mentions this: subversion now uses neon-0.28.x (www/neon28) port, and automatic portupgrade will fail because www/neon28 will conflict with installed www/neon26 port. You should upgrade neon library before subversion with the command: # portupgrade -o www/neon28 neon26 I did exactly that and It still fails: ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.44225.0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=neon26-0.26.4_1 UPGRADE_PORT_VER=0.26.4_1 make reinstall --- Restoring the old version pkg_add: package 'neon26-0.26.4_1' conflicts with neon28-0.28.2_1 pkg_add: -f specified; proceeding anyway ** Fix the installation problem and try again. [Updating the pkgdb format:bdb_btree in /var/db/pkg ... - 1002 packages found (-0 +1) . done] ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! www/neon28 (neon26-0.26.4_1) (install error) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: neon28 fails, conflicts with neon26
In the last episode (Sep 27), Eduardo Cerejo said: FreeBSD 7 stable ports/UPDATING mentions this: subversion now uses neon-0.28.x (www/neon28) port, and automatic portupgrade will fail because www/neon28 will conflict with installed www/neon26 port. You should upgrade neon library before subversion with the command: # portupgrade -o www/neon28 neon26 I did exactly that and It still fails: ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.44225.0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=neon26-0.26.4_1 UPGRADE_PORT_VER=0.26.4_1 make reinstall --- Restoring the old version pkg_add: package 'neon26-0.26.4_1' conflicts with neon28-0.28.2_1 pkg_add: -f specified; proceeding anyway ** Fix the installation problem and try again. [Updating the pkgdb format:bdb_btree in /var/db/pkg ... - 1002 packages found (-0 +1) . done] ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! www/neon28 (neon26-0.26.4_1) (install error) The last line you pasted indicates an install error of some sort, but you didn't list the original error. It'll be above the ** Command failed [exit code 1]: ... line, possibly some lines up if the neon build requires gmake and recursed into a bunch of subdirectories before failing. Here's what it says above that line, I just don't see any more errors above that line, it only says it conflicts with neon26. [Updating the pkgdb format:bdb_btree in /var/db/pkg ... - 1001 packages found (-1 +0) (...) done] --- Installing the new version via the port === Installing for neon28-0.28.3 === neon28-0.28.3 depends on shared library: expat.6 - found === neon28-0.28.3 depends on shared library: intl - found === Generating temporary packing list === Checking if www/neon28 already installed ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.1108.0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=neon26-0.26.4_1 UPGRADE_PORT_VER=0.26.4_1 make reinstall --- Restoring the old version pkg_add: package 'neon26-0.26.4_1' conflicts with neon28-0.28.2_1 pkg_add: -f specified; proceeding anyway ** Fix the installation problem and try again. [Updating the pkgdb format:bdb_btree in /var/db/pkg ... - 1002 packages found (-0 +1) . done] ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! www/neon28 (neon26-0.26.4_1) (install error) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
KDE4 and plasma icons
Just installed kde4 on FBSD 7-stable and I start it I get the plasma with some icons like the trash icon but all of them are a simple file icon with a question mark on them. I try to change them and tells me that I don't have enough permissions to do it but I own every kde directory in my home directory though. Has anyone experienced this thing? -- E. J. Cerejo [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Kde4 packages
Building kde4 from ports will take forever on my computer, does anyone where I can get these packages? -- E. J. Cerejo [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Policy Kit - Not running
I'm running FBSD7 stable and I can't find out why policy kit won't run even though I have it enabled in rc.conf: dbus_enable=YES hald_enable=YES polkitd_enable=YES I can see dbus and hald but not polkitd nor do I see any error messages. Strange! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Skype
On Tue, 15 Apr 2008 01:35:48 + Sébastien Morand [EMAIL PROTECTED] wrote: Hi guys, I'm trying to install skype on freebsd 7.0-stable, but I can't find out what I'm missing. I found several procedures on the web, but none of them was really efficient to get it working. I thnk I have know severa linux_base installation, maybe it could be the problem, so how to fix it? My /etc/make.conf contains the line: OVERRIDE_LINUX_BASE_PORT=f8 Actually the install is finem but everytime I launch skype, I have only a white window with End User License Agreement. I can see grey band at the top and the bottom of the window instead of the menu and status bar (I suppose). I try to download Skype 2 but libasound2 is required, so I was not able to get it working. How can I get a decent skype installation? Thanks by advance Sebastien How are you trying to install it? Are you using the ports collection? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Adobe Flash Player Petition
On Thu, 10 Apr 2008 00:43:12 +0200 herbert langhans [EMAIL PROTECTED] wrote: Thanks to all the input I found a solution what works for me: FreeBSD 7.0 and Firefox 3.0a2 (the firefox-devel port) 1. I deinstalled swfdec. 2. Closed Firefox and renamed .mozilla to .mozilla.backup 3. Started firefox so to generate a new and clean .mozilla 4. #make install /usr/ports/www/nspluginwrapper 5. Downloaded http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlashP2_Platform=Linux --the .tar.gz format. 6. Extract libflashplayer.so from install_flash_player_9_linux.tar.gz and copy it to ~/.mozilla/plugins 7. Then, as normal user: $nspluginwrapper -v -a -i (to install) $nspluginwrapper -l (to check if its installed) 8. Copied the settings, like bookmarks.html and other stuff like themes from .mozilla.backup to .mozilla (dont copy the whole bunch back not to overwrite the plugin settings) 9. My /etc/rc.conf has the entry linux_enable=YES -- I suppose this is necessary. That way you can enter the wonderful world of annoying advertisment even without using Windows.. Cheers herbs ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] You were able to get version 9 working, I can't even do that on mine, it just freezes firefox ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Adobe Flash Player Petition
There's already a MacOS version available: http://silverlight.net/GetStarted/ That's what I said and support for linux as well: http://www.mono-project.com/Moonlight It looks like gnash for silverlight, it will always be a step behind like gnash. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Is there a way to fix this or not?
I'm running FBSD 7-stable and I'm trying to portupgrade nautilus and I'm getting this error: ./usr/local/sbin/portupgrade:842:in `get_all_depends': recursive dependency (RecursiveDependencyError) from /usr/local/sbin/portupgrade:865:in `get_all_depends' from /usr/local/lib/ruby/1.8/set.rb:189:in `each' from /usr/local/lib/ruby/1.8/set.rb:189:in `each_key' from /usr/local/lib/ruby/1.8/set.rb:189:in `each' from /usr/local/sbin/portupgrade:864:in `get_all_depends' from /usr/local/sbin/portupgrade:865:in `get_all_depends' from /usr/local/lib/ruby/1.8/set.rb:189:in `each' from /usr/local/lib/ruby/1.8/set.rb:189:in `each_key' ... 26 levels... from /usr/local/lib/ruby/1.8/optparse.rb:785:in `initialize' from /usr/local/sbin/portupgrade:229:in `new' from /usr/local/sbin/portupgrade:229:in `main' from /usr/local/sbin/portupgrade:2173 I ran pkgdb -fF and nothing, no issues found, I suspect that I, possibly made a mistake by choosing the wrong dependency, handling cyclic dependencies last week which included nautilus, how can I rebuild all the dependencies in my ports installed if that's even possible! Or somehow fix this problem. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
recursive dependencies
I'm running FBSD 7-stable and I'm trying to portupgrade nautilus and I'm getting this error: ./usr/local/sbin/portupgrade:842:in `get_all_depends': recursive dependency (RecursiveDependencyError) from /usr/local/sbin/portupgrade:865:in `get_all_depends' from /usr/local/lib/ruby/1.8/set.rb:189:in `each' from /usr/local/lib/ruby/1.8/set.rb:189:in `each_key' from /usr/local/lib/ruby/1.8/set.rb:189:in `each' from /usr/local/sbin/portupgrade:864:in `get_all_depends' from /usr/local/sbin/portupgrade:865:in `get_all_depends' from /usr/local/lib/ruby/1.8/set.rb:189:in `each' from /usr/local/lib/ruby/1.8/set.rb:189:in `each_key' ... 26 levels... from /usr/local/lib/ruby/1.8/optparse.rb:785:in `initialize' from /usr/local/sbin/portupgrade:229:in `new' from /usr/local/sbin/portupgrade:229:in `main' from /usr/local/sbin/portupgrade:2173 I ran pkgdb -fF and nothing, no issues found, I suspect that I, possibly made a mistake by choosing the wrong dependency, handling cyclic dependencies last week which included nautilus, how can I rebuild all the dependencies in my ports installed if that's even possible! Or somehow fix this problem. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Polkitd not running on startup
I just noticed that I run the top command I don't see the polkit daemon running even though I have it enabled in my /etc/rc.conf file along with dbus and hal. I can these two running but not polkit, is this normal? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Accidently deleted the INDEX files out of my /usr/ports/
While trying to fix cyclic dependencies with pkgdb I deleted the INDEX files out of my /usr/ports directory. How can I fix it now? cvsuping won't do it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
pkgdb -F question
--- Checking the package registry database Cyclic dependencies: gnome-desktop-2.22.0 - nautilus-2.22.1 - eel-2.22.1 - py25-gnome-2.22.0 - tracker-0.6.2_2 - (gnome-desktop-2.22.0) Unlink which dependency? (? to help): Can someone help me with this, I'm totally confused with this! How do I find out which one to unlink? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Hal, policykit, dbus slowed down system after portupgrade
Hello, Currently running FBSD 7-stable, I had this on my rc.conf to enable dbus and hal: dbus_enable=YES polkitd_enable=YES hald_enable=YES and after updating my ports using portupgrade my x started acting up, another words it just started running very slow, for example if I typed a commnad on a terminal window it takes about 20 seconds for me to see what I typed, moving windows from one side to the other makes them freeze for a while and if they move they maximize and minimize again, strange things. So I suspected that it had to do with these daemons so I disabled them and the system works ok. I wanted enabled though, what can I do to find the real culprid and try to fix it? One thing I can't see anymore is the polkit starting anymore nor when I run the top command, I see hal and dbus but not polkit. I've got policykit-0.7_4 and policykit-gnome-0.7_3 installed right now. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Cyclic dependencies = pain in the butt
After running pkgdb -F I'm getting endless cyclic dependencies, so many of them that I completely gave up. The last one goes like this: --- Checking the package registry database Cyclic dependencies: gnome-desktop-2.22.0 - nautilus-2.22.1 - eel-2.22.1 - py25-gnome-2.22.0 - tracker-0.6.2_2 - (gnome-desktop-2.22.0) Unlink which dependency? (? to help): What does this mean? Is there another way to fix this than to figure this out? How am I suppose to know what depends on what? I thought portupgrade would do that automatically. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How do I add search paths to gcc
On Fri, 21 Mar 2008 18:31:54 -0400 Chuck Robey [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 mdh wrote: --- Eduardo Cerejo [EMAIL PROTECTED] wrote: My gcc is only looking in /usr/lib and /usr/include for libraries and hearders and I added the paths /usr/local/lib/ and /usr/local/include to my .cshrc file: set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin /usr/local/lib /usr/local/include $HOME/bin) PATH in the environment is where your shell searches for programs to run from the command line, system(), etc. This allows you to type, say, `sh` instead of having to type out `/bin/sh` or risking having `/home/somekiddie/sh` run instead when you type it. but I still have to use gcc with -I and -L switch for a program to compile or else it will fail. I'm using tcsh. There are two ways to set up alternate places to find libraries. The first is ldconfig, and you can see ports run this when you install a port containing shared libraries for example. The other is to use the LD_LIBRARY_PATH environment variable to set alternate paths at run-time. Well, that might be taken as confusing, even though your info is technically quite correct. Both those methods WILL get those added dirs searched for loading the libraries at run time, BUT it will NOT get your compiler to find the new paths, when linking the program during the build. I'm fairly sure that's what the person wanted, don't you think so? Because, if I'm wrong, you can delete this email right here and now, read no more. BUT you were quite correct, there are definitely *at least* two methods to set up your *compiler* library search paths. In fact, I think I can show you 3 methods right now. First, you can list the full path of the library on the command line, when you use your compiler to link your program. ] Second, you can (as the person suggested himself) you can use the -l/-L options to bring in libraries paths. The -L should come first, it adds the path, and the -l afterwards adds the specific library. The 3rd method is the use the variables LDFLAGS and LDADD. These variables are NOT 100% reliable to use, although they are fairly reliable on BSD systems. The LDFLAGS is where you put your -LExtraPath and the LDADD is where you stick the -lExtraLibrary, like this (from a Makefile example): LDFLAGS+=-L/usr/local LDFLAGS+=-lgtk If you are using the BSD make util, the you use += to add to your variables, instead of replacing them, in case they had some values in them to begin with. Make automatically adds in the obvious spaces, so your definitions don't have a train wreck for you. The 'ldconfig(1)' man page has more info for you. Take care, mdh After searching quite a bit I found someone looking for same thing running tcsh (not freebsd) and the solution was running or adding these lines to .cshrc. setenv C_INCLUDE_PATH /usr/local/include setenv LIBRARY_PATH /usr/local/lib this did the trick for gcc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to uninstall a flash port.
I installed the Linux flash9 port on a new 7.0 box to work with SeaMonkey and it dies when it reaches flash using sites. How can I de-install this port with out causing problems to other programs? I cant find it in the handbook how to's. Im I missing something? Thanks... by the way you can use linux-flash7 instead and if you are using the native FreeBSD firefox and not linux-firefox you have to install and use nspluginwrapper or else it will not work, your second alternative is gnash which works natively with firefox. To use nspluginwrapper you would have to run this after the install. nspluginwrapper -i /usr/local/lib/npapi/linux-flashplugin/libflashplayer.so remember for the linux plugins to embed on the native firefox they need some kind of wrapper. Flashplugin9 will not work with native firefox or linux-firefox and I think it's because the linux emulator uses an old version of linux so we have to wait until it changes to a more current version. Sorry not a response to the OP but hopefully useful correction: %uname -sr FreeBSD 7.0-STABLE %pkg_info -Ix firefox firefox-2.0.0.12_1,1 Web browser based on the browser portion of Mozilla %pkg_info -Ix plugin linux-flashplugin-9.0r115 Adobe Flash Player NPAPI Plugin nspluginwrapper-0.9.91.5 A compatibility plugin for Netscape 4 (NPAPI) plugins ... I don't actually see a lot of flash as I have flashblock installed but I can't recall having probs when I have chosen to view it, except it still doesn't work with youtube. I've just installed wine and win32 firefox+flashplugin for youtube and bbc iplayer and that works fine. Are you trying to tell me that you got flash 9 working? I sure would like to know how to get it working without crashing. Yes though like I say I also use flashblock so I only see the flash I want to. I'm moving house at the moment so I can't try and recreate my steps to install it but it was something like: install firefox, linux-flashplugin9, nspluginwrapper from ports locate libflashplayer.so run nspluginwrapper I'll try running without flashblock for a while and see what happens. Chris What linux emulator are you running? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: uninstall all of Gnome with expections
Hi folks, lately I've been thinking about removing all of Gnome, which has served as my primary desktop for years. The reasons is the broken upgrades I experience everytime Gnome updates and the fact that I will move to KDE4. At the moment I would just like to use Xfce4. I want to remove all of Gnome, except evolution. Will this command do the trick? pkg_deinstall -R x11/gnome2 -x evolution Hope you can help me out. pkg_deinstall -Rx evolution x11/gnome2 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to uninstall a flash port.
On Sat, 22 Mar 2008 09:34:21 -1000 Al Plant [EMAIL PROTECTED] wrote: Eduardo Cerejo wrote: I installed the Linux flash9 port on a new 7.0 box to work with SeaMonkey and it dies when it reaches flash using sites. How can I de-install this port with out causing problems to other programs? I cant find it in the handbook how to's. Im I missing something? Thanks... by the way you can use linux-flash7 instead and if you are using the native FreeBSD firefox and not linux-firefox you have to install and use nspluginwrapper or else it will not work, your second alternative is gnash which works natively with firefox. To use nspluginwrapper you would have to run this after the install. nspluginwrapper -i /usr/local/lib/npapi/linux-flashplugin/libflashplayer.so remember for the linux plugins to embed on the native firefox they need some kind of wrapper. Flashplugin9 will not work with native firefox or linux-firefox and I think it's because the linux emulator uses an old version of linux so we have to wait until it changes to a more current version. Aloha Eduardo, If I am running linux-seamonkey port is the concept the same to get it to work? Which wrapper? FYI: I have followed the list questions on this issue. So I tried first to use flashplugin7 and some websites want 9 or they wont work. The sites say you have to use 9. Thanks for the help. ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 6.* - 7.* - 8.* + email: [EMAIL PROTECTED] All that's really worth doing is what we do for others.- Lewis Carrol ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] If you are using the linux-seamonkey then you don't need any wrapper, you only need a wrapper if you use any kind of native browser. Unfortunately version 9 doesn't work right now. Personally I prefer to use the native firefox or seamonkey and use the wrapper because I can get mplayer to embed in the browser when it encouters real audio and video (from realplayer) and audio and video from windows media player. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Gnome and KDE?
On Sat, 22 Mar 2008 16:38:41 -0700 Gary Kline [EMAIL PROTECTED] wrote: People, What's the magic command to ger hald running while I'm running KDE? The audio/multimedia app, Sound-Juicer can't find my /dev/cdrom because the hal daemon isn't running. Exec'ing hald by hand didn't work. Anybody? gary add this to your /etc/rc.conf file and reboot: # Enables HALd dbus_enable=YES polkitd_enable=YES hald_enable=YES ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How do I add search paths to gcc
On Fri, 21 Mar 2008 18:31:54 -0400 Chuck Robey [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 mdh wrote: --- Eduardo Cerejo [EMAIL PROTECTED] wrote: My gcc is only looking in /usr/lib and /usr/include for libraries and hearders and I added the paths /usr/local/lib/ and /usr/local/include to my .cshrc file: set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin /usr/local/lib /usr/local/include $HOME/bin) PATH in the environment is where your shell searches for programs to run from the command line, system(), etc. This allows you to type, say, `sh` instead of having to type out `/bin/sh` or risking having `/home/somekiddie/sh` run instead when you type it. but I still have to use gcc with -I and -L switch for a program to compile or else it will fail. I'm using tcsh. There are two ways to set up alternate places to find libraries. The first is ldconfig, and you can see ports run this when you install a port containing shared libraries for example. The other is to use the LD_LIBRARY_PATH environment variable to set alternate paths at run-time. Well, that might be taken as confusing, even though your info is technically quite correct. Both those methods WILL get those added dirs searched for loading the libraries at run time, BUT it will NOT get your compiler to find the new paths, when linking the program during the build. I'm fairly sure that's what the person wanted, don't you think so? Because, if I'm wrong, you can delete this email right here and now, read no more. BUT you were quite correct, there are definitely *at least* two methods to set up your *compiler* library search paths. In fact, I think I can show you 3 methods right now. First, you can list the full path of the library on the command line, when you use your compiler to link your program. ] Second, you can (as the person suggested himself) you can use the -l/-L options to bring in libraries paths. The -L should come first, it adds the path, and the -l afterwards adds the specific library. The 3rd method is the use the variables LDFLAGS and LDADD. These variables are NOT 100% reliable to use, although they are fairly reliable on BSD systems. The LDFLAGS is where you put your -LExtraPath and the LDADD is where you stick the -lExtraLibrary, like this (from a Makefile example): LDFLAGS+=-L/usr/local LDFLAGS+=-lgtk If you are using the BSD make util, the you use += to add to your variables, instead of replacing them, in case they had some values in them to begin with. Make automatically adds in the obvious spaces, so your definitions don't have a train wreck for you. The 'ldconfig(1)' man page has more info for you. Take care, mdh Here's what the book I'm reading says: The search paths for header files and libraries can also be controlled through environment variables in the shell. These may be set automatically for each session using the appropriate login file, such as \u2018.bash_profile\u2019 in the case of GNU Bash. Additional directories can be added to the include path using the environment variable C_INCLUDE_PATH (for C header files) or CPLUS_INCLUDE_PATH (for C++ header files). For example, the following commands will add \u2018/opt/gdbm-1.8.3/include\u2019 to the include path when compiling C programs: $ C_INCLUDE_PATH=/opt/gdbm-1.8.3/include $ export C_INCLUDE_PATH and similarly for C++ programs: $ CPLUS_INCLUDE_PATH=/opt/gdbm-1.8.3/include $ export CPLUS_INCLUDE_PATH This directory will be searched after any directories specified on the command line with the option -I, and before the standard default directories (such as \u2018/usr/local/include\u2019 and \u2018/usr/include\u2019). The shell command export is needed to make the environment variable available to programs outside the shell itself, such as the compiler--it is only needed once for each variable in each shell session, and can also be set in the appropriate login file.(8) Similarly, additional directories can be added to the link path using the environment variable LIBRARY_PATH. For example, the following commands will add \u2018/opt/gdbm-1.8.3/lib\u2019 to the link path: $ LIBRARY_PATH=/opt/gdbm-1.8.3/lib $ export LIBRARY_PATH This directory will be searched after any directories specified on the command line with the option -L, and before the standard default directories (such as \u2018/usr/local/lib\u2019 and \u2018/usr/lib\u2019). With the environment variable settings given above the program \u2018dbmain.c\u2019 can be compiled without the -I and -L options, $ gcc -Wall dbmain.c -lgdbm --x Now it looks like I can achieve what I want if I use bash, it looks like the export variable does the trick by making these paths available to external programs like gcc so basically I was trying to achieve this with the csh
Re: How to uninstall a flash port.
On Sat, 22 Mar 2008 21:03:18 + Chris Whitehouse [EMAIL PROTECTED] wrote: Al Plant wrote: Eduardo Cerejo wrote: I installed the Linux flash9 port on a new 7.0 box to work with SeaMonkey and it dies when it reaches flash using sites. How can I de-install this port with out causing problems to other programs? I cant find it in the handbook how to's. Im I missing something? Thanks... by the way you can use linux-flash7 instead and if you are using the native FreeBSD firefox and not linux-firefox you have to install and use nspluginwrapper or else it will not work, your second alternative is gnash which works natively with firefox. To use nspluginwrapper you would have to run this after the install. nspluginwrapper -i /usr/local/lib/npapi/linux-flashplugin/libflashplayer.so remember for the linux plugins to embed on the native firefox they need some kind of wrapper. Flashplugin9 will not work with native firefox or linux-firefox and I think it's because the linux emulator uses an old version of linux so we have to wait until it changes to a more current version. Sorry not a response to the OP but hopefully useful correction: %uname -sr FreeBSD 7.0-STABLE %pkg_info -Ix firefox firefox-2.0.0.12_1,1 Web browser based on the browser portion of Mozilla %pkg_info -Ix plugin linux-flashplugin-9.0r115 Adobe Flash Player NPAPI Plugin nspluginwrapper-0.9.91.5 A compatibility plugin for Netscape 4 (NPAPI) plugins ... I don't actually see a lot of flash as I have flashblock installed but I can't recall having probs when I have chosen to view it, except it still doesn't work with youtube. I've just installed wine and win32 firefox+flashplugin for youtube and bbc iplayer and that works fine. Are you trying to tell me that you got flash 9 working? I sure would like to know how to get it working without crashing. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD compatiblity
FreeBSD 7 stable If you have these options in your kernel: options COMPAT_FREEBSD4 # Compatible with FreeBSD4 options COMPAT_FREEBSD5 # Compatible with FreeBSD5 options COMPAT_FREEBSD6 # Compatible with FreeBSD6 you don't need to enable them in /etc/rc.conf, am I correct? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: samba
Hash: SHA1 Greetings, I have a FreeBSD box i set up long ago as a file server has worked great till I had to get a better laptop with gfx card to keep up with my SecondLife Addiction. and now can't get the installed Vista Os to connect to it. Help would be appreciated, running 5.4-RELEASE FreeBSD 5.4-RELEASE #0 on the box Thanks in advance, Wolf Don't know much about samba but placing your samba configuration file would help many. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How do I add search paths to gcc
My gcc is only looking in /usr/lib and /usr/include for libraries and hearders and I added the paths /usr/local/lib/ and /usr/local/include to my .cshrc file: set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin /usr/local/lib /usr/local/include $HOME/bin) but I still have to use gcc with -I and -L switch for a program to compile or else it will fail. I'm using tcsh. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to uninstall a flash port.
I installed the Linux flash9 port on a new 7.0 box to work with SeaMonkey and it dies when it reaches flash using sites. How can I de-install this port with out causing problems to other programs? I cant find it in the handbook how to's. Im I missing something? Thanks... If you are using the portupgrade tools you can use pkg_deinstall linux-flashplugin if not use make deinstall or pkg_delete but you have to specify the registered name in /var/db/pkg/ just run pkg_info pkg_info | grep linux-flashplugin and it should give you the registered name. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Gcc and make not producing executable
Eduardo Cerejo wrote: On Linux systems, there is no base system 'make', so GNU make is installed as 'make'. On FreeBSD systems, there is a base system make that is maintained by the FreeBSD project, so GNU make is installed as 'gmake'. The main differences in making with them is that GNU make and FreeBSD make accept different arguments, and their makefile syntaxes have discrepancies. What kind of documentation is available on FreeBSD's make, other than the man page? I was browsing through /usr/share/doc/ but I didn't see anything related to make. I saw pmake but not make. From the make man page: PMake - A Tutorial. in /usr/share/doc/psd/12.make I was aware of that tutorial, I was sure because it says pmake, so pmake is the same as make, correct? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Gcc and make not producing executable
gmake does the trick. Indeed it did. Can you tell me what the main differences is between make and gmake in terms of making? I can see that gmake is gnu's version of make, is FreeBSD's gmake the same as linux's make? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Gcc and make not producing executable
On Linux systems, there is no base system 'make', so GNU make is installed as 'make'. On FreeBSD systems, there is a base system make that is maintained by the FreeBSD project, so GNU make is installed as 'gmake'. The main differences in making with them is that GNU make and FreeBSD make accept different arguments, and their makefile syntaxes have discrepancies. What kind of documentation is available on FreeBSD's make, other than the man page? I was browsing through /usr/share/doc/ but I didn't see anything related to make. I saw pmake but not make. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Gcc and make not producing executable
Hello, I'm trying to get my feet wet in programming in C and the first thing I'm doing is reading a book called an Introduction to GCC. I'm running Fbsd 7-stable I have Gcc44 installed. Example in the book is 3 files named main.c, hello_fn.c and hello.h: File main.c with the following code: #include hello.h int main (void) { hello (world); return 0; } File hello_fn.c with the following code: #include stdio.h #include hello.h void hello (const char * name) { printf (Hello, %s!\n, name); } and hello.h with the following code: void hello (const char * name); Objective is to create a makefile which will create an executable named main. The books has this code in the Makefile: CC=gcc CFLAGS=-Wall main: main.o hello_fn.o clean: rm -f main main.o hello_fn.o The book says this should create two object files named main.o and hello_fn.o plus an executable named main. But the last is not created! Does it have to do with make version? or is the book outdated (2005) http://www.network-theory.co.uk/gcc/intro/ or you can the section that I'm referring to here: http://www.network-theory.co.uk/docs/gccintro/gccintro_16.html By the way I can create the executable using gcc -Wall main.c hello_fn.c -o main so it's not a gcc problem I don't think. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
xmcd fails
I have been trying to compile xmcd on FreeBSD 6 stable and I'm getting this: : undefined reference to `CddbReleaseObject' ../cdinfo_d/libcdinfo.a(cdinfo_i.o)(.text+0xac2c): In function `cdinfo_urlcddb': : undefined reference to `CddbReleaseObject' ../cdinfo_d/libcdinfo.a(cdinfo_i.o)(.text+0xac35): In function `cdinfo_urlcddb': : undefined reference to `CddbReleaseObject' ../cdinfo_d/libcdinfo.a(cdinfo_i.o)(.text+0xac7e): In function `cdinfo_urlcddb': : undefined reference to `CddbControl_GetDiscInfo' ../cdinfo_d/libcdinfo.a(cdinfo_i.o)(.text+0xacba): In function `cdinfo_urlcddb': : undefined reference to `CddbReleaseObject' ../cdinfo_d/libcdinfo.a(cdinfo_i.o)(.text+0xacdc): In function `cdinfo_urlcddb': : undefined reference to `CddbReleaseObject' ../cdinfo_d/libcdinfo.a(cdinfo_i.o)(.text+0xad22): In function `cdinfo_urlcddb': : undefined reference to `CddbReleaseObject' ../cdinfo_d/libcdinfo.a(cdinfo_i.o)(.text+0xad3e): In function `cdinfo_urlcddb': : undefined reference to `CddbReleaseObject' ../cdinfo_d/libcdinfo.a(cdinfo_i.o)(.text+0xadfa): In function `cdinfo_urlcddb': : undefined reference to `CddbReleaseObject' ../cddb_d/libcddbkey.a(cddbkey1.o)(.text+0x4a): In function `cddb_setkey': : undefined reference to `CddbControl_SetClientInfo' *** Error code 1 Stop in /usr/ports/audio/xmcd/work/xmcd-3.3.2/xmcd_d. *** Error code 1 Stop in /usr/ports/audio/xmcd/work/xmcd-3.3.2. *** Error code 1 Stop in /usr/ports/audio/xmcd. I have never had this problem compiling xmcd. Or if someone could tell me where I can download the latest xmcd package, I found a few but they are old versions of xmcd and it won't install. Another alternative would be another cd player similar to xmcd the ones I've tried are very basic with no cddb access. Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]