Re: how do you install wx-config in FreeBSD?
JD Arnold wrote: Thanks. Things are starting to work. Now that wx-config works a couple more questions have come up about wxgtk2. I tried building the penguin sample that comes with wxWidgets. I get a link warning: /usr/bin/ld: warning: libm.so.3, needed by /usr/X11R6/lib/libGL.so.1, not found (try using -rpath or -rpath-link) When I try to run it, I get: /libexec/ld-elf.so.1: Shared object libm.so.3 not found, required by libGL.so.1 How do I fix this problem? All of my ports are supposed to be up-to-date. Also, another issue came up when I tried to compile the mediactrl example: winmain.cpp:88:2: #error Not all required elements are enabled. Please modify setup.h! winmain.cpp:196: error: `wxMediaEvent' has not been declared How do you do this in FreeBSD if you use portupgrade? Is there a config file to turn on the mediactrl stuff? I'm compiling with g++ -I/usr/X11R6/include -c `wx-config --cxxflags` winmain.cpp # wx-config --cxxflags shows: -I/usr/X11R6/include/wx-2.6/gtk2-ansi-release-2.6 -I/usr/X11R6/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BI TS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA Bob ___ 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 you install wx-config in FreeBSD?
JD Arnold wrote: bob self wrote: I'm running FreeBSD 6.0 and have installed wxgtk2-2.6.2_1 and wxgtk2-common-2.6.2. VLC runs fine so I know that wxwidges is installed correctly. But I want to install the wxsamples and compile them. I copied wxsamples manually and try to compile using a script from an older freebsd system but it wants wx-config and I can't find out how to get that installed using the ports. Which port would include that? wx-config is in the wxWidgets port, only it is named using the version of wxgtk: /usr/X11R6/bin/wxgtk2-2.6-config I guess maybe they don't want to overwrite any existing wx-config, but I suppose it would be nice if the port installer checked for it, and if it didn't exist, create it using a link. You should do that (as root): # cd /usr/X11R6/bin # ln wx-gtk2-2.6-config wx-config You can find out whether it got intalled by the wxgtk port by using pkg_info: # pkg_info -xL wxgtk | grep bin would should show where the -config and the wxrc got installed. BTW, I talk about the pkg_info option in a recent post on my blog. Thanks to Dru from OnLamp.com for showing me this very cool option, something I've always wondered about, as sometimes it can be very mysterious as to what and where a port might install stuff. I did find setup.h in /usr/X11R6/include/wx-2.6/gtk2-ansi-release-2.6 I installed wxgtk2 using portupgrade but no configuration screen came up. What is the procedure to configure wxgtk2 if you use portupgrade? I see that my setup.h has #define wxUSE_MEDIACTRL 0 which is not what I want, so I need to reconfigure it but haven't been able to find out how to do that. Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
how do you install wx-config in FreeBSD?
I'm running FreeBSD 6.0 and have installed wxgtk2-2.6.2_1 and wxgtk2-common-2.6.2. VLC runs fine so I know that wxwidges is installed correctly. But I want to install the wxsamples and compile them. I copied wxsamples manually and try to compile using a script from an older freebsd system but it wants wx-config and I can't find out how to get that installed using the ports. Which port would include that? thanks, bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
nvidia-settings size mismatch
I'm running FreeBSD 5.4-STABLE All of my ports upgrade fine except nvidia-settings. I use portsnap and portupgrade. cd /usr/ports portsnap fetch portsnap update make fetchindex portsdb -u portupgrade -v nvidia-settings I get the following error. ... === Cleaning for gtk-2.8.9 === Cleaning for pango-1.10.2 === Cleaning for xorg-clients-6.8.2_1 === Cleaning for xorg-libraries-6.8.2 === Cleaning for xterm-206_1 === Cleaning for nvidia-settings-1.0_7 === Vulnerability check disabled, database not found === Extracting for nvidia-settings-1.0_7 = MD5 Checksum mismatch for nvidia-settings-1.0.tar.gz. = SHA256 Checksum mismatch for nvidia-settings-1.0.tar.gz. === Refetch for 1 more times files: nvidia-settings-1.0.tar.gz nvidia-settings-1.0.tar.gz === Vulnerability check disabled, database not found = nvidia-settings-1.0.tar.gz doesn't seem to exist in /usr/ports/distfiles/. = Attempting to fetch from http://download.nvidia.com/XFree86/nvidia-settings/. fetch: http://download.nvidia.com/XFree86/nvidia-settings/nvidia-settings-1.0.tar.gz: size mismatch: expected 1091361, actual 1067305 = Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/. fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/nvidia-settings-1.0.tar.gz: size mismatch: expected 1091361, actual 1056908 = Couldn't fetch it - please try to retrieve this = port manually into /usr/ports/distfiles/ and try again. *** Error code 1 Stop in /usr/ports/x11/nvidia-settings. *** Error code 1 Stop in /usr/ports/x11/nvidia-settings. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade15051.0 make ** Fix the problem and try again. --- Build of x11/nvidia-settings ended at: Fri, 23 Dec 2005 07:01:33 -0500 (consumed 00:00:13) --- Upgrade of x11/nvidia-settings ended at: Fri, 23 Dec 2005 07:01:33 -0500 (consumed 00:00:13) --- Listing the results (+:done / -:ignored / *:skipped / !:failed) ! x11/nvidia-settings (nvidia-settings-1.0_6) (checksum mismatch) --- Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed --- Session ended at: Fri, 23 Dec 2005 07:01:33 -0500 (consumed 00:00:14) How can I get nvidia-settings to upgrade? thanks, Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: nvidia-settings size mismatch
Marco Beishuizen wrote: On stardate Fri, 23 Dec 2005, the wise bob self entered: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/nvidia-settings-1.0.tar.gz: size mismatch: expected 1091361, actual 1056908 = Couldn't fetch it - please try to retrieve this = port manually into /usr/ports/distfiles/ and try again. *** Error code 1 Stop in /usr/ports/x11/nvidia-settings. *** Error code 1 Stop in /usr/ports/x11/nvidia-settings. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade15051.0 make ** Fix the problem and try again. --- Build of x11/nvidia-settings ended at: Fri, 23 Dec 2005 07:01:33 -0500 (consumed 00:00:13) --- Upgrade of x11/nvidia-settings ended at: Fri, 23 Dec 2005 07:01:33 -0500 (consumed 00:00:13) --- Listing the results (+:done / -:ignored / *:skipped / !:failed) ! x11/nvidia-settings (nvidia-settings-1.0_6) (checksum mismatch) --- Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed --- Session ended at: Fri, 23 Dec 2005 07:01:33 -0500 (consumed 00:00:14) This looks familiar :) You have to manually fetch the nvidia-settings-1.0 and compile it with gmake install. See http://download.nvidia.com/freebsd/1.0-8174/README/chapter-05.html for problems with FreeBSD and nvidia-settings. Marco I tried this, but I get a compile error. Here's the tail of the output: -I/usr/local/include/freetype2 -I/usr/local/include -I doc -I src -I src/image_data -I src/xpm_dat a -I src/gtk+-2.x -I src/libXNVCtrl -I src/libXNVCtrlAttributes src/libXNVCtrlAttributes/NvCtrlAttri butesGlx.c -o .objs/NvCtrlAttributesGlx.o cc -c -Wall -O -I /usr/X11R6/include -DXTHREADS -DXUSE_MTSAFE_API -I/usr/local/include/atk-1.0 -I/us r/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/X11R6/i nclude/gtk-2.0 -I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include/pango-1.0 -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include -I doc -I src -I src/image_data -I src/xpm_dat a -I src/gtk+-2.x -I src/libXNVCtrl -I src/libXNVCtrlAttributes src/libXNVCtrlAttributes/NvCtrlAttri butesXrandr.c -o .objs/NvCtrlAttributesXrandr.o cc -c -Wall -O -I /usr/X11R6/include -DXTHREADS -DXUSE_MTSAFE_API -I/usr/local/include/atk-1.0 -I/us r/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/X11R6/i nclude/gtk-2.0 -I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include/pango-1.0 -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include -I doc -I src -I src/image_data -I src/xpm_dat a -I src/gtk+-2.x -I src/libXNVCtrl -I src/libXNVCtrlAttributes g_stamp.c -o .objs/g_stamp.o cc .objs/command-line.o .objs/config-file.o .objs/msg.o .objs/nvidia-settings.o .objs/parse.o .objs/ query-assign.o .objs/nvgetopt.o .objs/glxinfo.o .objs/image.o .objs/ctkxvideo.o .objs/ctkcursorshado w.o .objs/ctkui.o .objs/ctkframelock.o .objs/ctkgauge.o .objs/ctkcurve.o .objs/ctkcolorcorrection.o .objs/ctkscale.o .objs/ctkmultisample.o .objs/ctkconfig.o .objs/ctkevent.o .objs/ctkwindow.o .objs/c tkopengl.o .objs/ctkglx.o .objs/ctkdevice.o .objs/ctkhelp.o .objs/ctkimagesliders.o .objs/ctkdisplay device.o .objs/ctkdisplaydevice-crt.o .objs/ctkdisplaydevice-tv.o .objs/ctkdisplaydevice-dfp.o .objs /ctkthermal.o .objs/ctkgvo.o .objs/ctkdropdownmenu.o .objs/ctkrandr.o .objs/ctkclocks.o .objs/ctkuti ls.o .objs/ctkedid.o .objs/NvCtrlAttributes.o .objs/NvCtrlAttributesNvControl.o .objs/NvCtrlAttribut esVidMode.o .objs/NvCtrlAttributesXv.o .objs/NvCtrlAttributesGlx.o .objs/NvCtrlAttributesXrandr.o .o bjs/g_stamp.o -Wall -O -I /usr/X11R6/include -DXTHREADS -DXUSE_MTSAFE_API -I/usr/local/include/atk-1 .0 -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr /X11R6/include/gtk-2.0 -I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include/pango-1.0 -I/usr/X11R6/ include -I/usr/local/include/freetype2 -I/usr/local/include -I doc -I src -I src/image_data -I src /xpm_data -I src/gtk+-2.x -I src/libXNVCtrl -I src/libXNVCtrlAttributes -Wl,--rpath -Wl,/usr/local /lib -L/usr/local/lib -L/usr/X11R6/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -lXrandr -lXi -lXinerama -latk-1. 0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lXcursor -lXfixes -lcairo -lpangoft2-1.0 -lfontconfig -lfreetyp e -lz -lpango-1.0 -lm -lXrender -lX11 -lXext -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -liconv -L /us r/X11R6/lib -Wl,-Bstatic -lXxf86vm -Wl,-Bdynamic -lX11 -lXext src/libXNVCtrl/libXNVCtrl.a -o nvidia- settings src/libXNVCtrl/libXNVCtrl.a: could not read symbols: File format not recognized gmake: *** [nvidia-settings] Error 1 Anyone know how to get beyond this? thanks, Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How can I install xorg-clients?
after doing a portupgrade today I've got things messed up. I didn't read /usr/ports/UPDATING. I have now un-installed xterm and xorg-clients and am now trying to put them back in. I'm trying xorg-clients first but I get this error. xdriinfo.o(.text+0x5b): In function `main': : undefined reference to `glXGetProcAddress' *** Error code 1 How can I get these ports re-installed? thanks, Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How can I install xorg-clients?
Dejan Lesjak wrote: bob self wrote: after doing a portupgrade today I've got things messed up. I didn't read /usr/ports/UPDATING. I have now un-installed xterm and xorg-clients and am now trying to put them back in. I'm trying xorg-clients first but I get this error. xdriinfo.o(.text+0x5b): In function `main': : undefined reference to `glXGetProcAddress' *** Error code 1 You are using nvidia-driver aren't you? Try temporarily uninstalling nvidia-driver port. That should restore GLX libraries from X.Org and xorg-clients port should then compile properly. After that you can reinstall nvidia-driver. Dejan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Yes, I have the nvidia driver installed. I used pkg_delete to remove nvidia-driver. I already had the latest xterm installed. I was now able to install xorg-clients. Finally, I re-installed nvidia-driver and now everything is back to normal. For future reference, who do I blame for the broken ports? nvidia or xorg-client? Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
getting apache2 to process xml files?
I'm running FreeBSD 5.4 and apache2. How can I get apache2 to process xml files? Right now it just treats them as regular files and uploads them to the browser. I'm not sure how the AddType line should be or what module I need to install and load. thanks, bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: higher resolution console screen?
Björn König wrote: bob self wrote: How can I undo the patch if I need to? Repeat all steps but add the option -R to patch, e.g. bzip2 -cd vesa.patch.bz2 | patch -p0 -R Björn Good. I removed the patch and I have the 37x100 screen back by using vidcontrol -g 100x37 VESA_800x600 Is this the highest console resolution that you can get with FreeBSD 5.4 and without the patch? I think that the patch didn't work for me. thanks, Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: higher resolution console screen?
Björn König wrote: This message wants to tell you that if you already have VESA support in your kernel then you don't need to load the kernel module. Thanks I removed the loader.conf line an that error message went away. Make sure that you also have options SC_PIXEL_MODE beside options VESA in your kernel configuration file. Change the console mode with vidcontrol -g 100x37 VESA_800x600 and add allscreens_flags=-g 100x37 VESA_800x600 to rc.conf to let this setting be applied to all consoles after reboot. Björn I have done all 3 of these things and I do get 100x37, but I was able to get 128x48 when I was trying FreeBSD 6.0 beta 4 by running vidcontrol MODE_280. Is there a way to accomplish this in 5.4? I still have the left-right shifting problem. Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: higher resolution console screen?
Luke Dean wrote: On Wed, 21 Sep 2005, bob self wrote: 5.4-STABLE FreeBSD 5.4-STABLE #0: Tue Sep 20 15:33:58 EDT 2005 I have a 19 LCD monitor and usually run in console mode. My screen resolution is 80x25, but I'd like to get something like 120 x 60 if possible. I've played with vidcontrol, but so far can't get it to do anything useful. Also my console screen is now shifted to the left one character, but when I run startx my gui screen is shifted to the right about 1 character. My card is a nvidia card with 128 megs or ram and I have enabled vesa in the kernel and have vesa_load=YES in /boot/loader.conf. However, I get this error in dmesg: module_register: module vesa already exists! Module vesa failed to register: 17 How can I fix these problems? About the left/right shifting.. I also have a 19 LCD monitor, Nvidia card (a GeForce FX 5500), vesa enabled in the kernel, and I used to get a shifting problem like you describe. I switched from Xorg's nv driver to Nvidia's linux driver (ports/x11/nvidia-driver) and the shifting problem went away. I'm using a kvm switch to switch between winxp and 5.4. I changed nv in /etc/X11 to nvidia (since kldstat showed that nvidia.ko was loaded) and now my gui screen looks pretty good so far. I was able to use a monitor menu-item to 'resync' and got the console screen left-right centered again in console mode. Before I switched, resyncing the monitor would correct the problem. Mine is a dual-boot machine that runs WinXP and FreeBSD 5.4, and since switching to Nvidia's driver made the problem go away, I reasoned that the nv driver and the Nvidia driver for Windows were confusing the monitor by using slightly different refresh rates for the same screen mode or something, and that's why I had to resync it every time I rebooted from one OS to the other. thanks, Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: higher resolution console screen?
Björn König wrote: bob self wrote: I have done all 3 of these things and I do get 100x37, but I was able to get 128x48 when I was trying FreeBSD 6.0 beta 4 by running vidcontrol MODE_280. Is there a way to accomplish this in 5.4? Only with a patch. Do it at your own risk: cd /usr/src fetch http://www.alpha-tierchen.de/dateien/etc/vesa.patch.bz2 bzip2 -cd vesa.patch.bz2 | patch -p0 cd usr.sbin/vidcontrol make make install cp etc/rc.d/moused /etc/rc.d build your kernel with options SC_PIXEL_MODE options VESA and reboot. vidcontrol -i mode will show all available modes. And so on. You know the rest. Björn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I installed the patch, rebooted etc. Now vidcontrol MODE_280 says: vidcontrol: activating raster display: Operation not supported by device Also, 'vidcontrol -g 100x37 VESA_800x600' no longer works. I now get vidcontrol: obtaining new video mode parameters: Operation not supported by device So, does any one know what's going on? How can I undo the patch if I need to? thanks, Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
higher resolution console screen?
5.4-STABLE FreeBSD 5.4-STABLE #0: Tue Sep 20 15:33:58 EDT 2005 I have a 19 LCD monitor and usually run in console mode. My screen resolution is 80x25, but I'd like to get something like 120 x 60 if possible. I've played with vidcontrol, but so far can't get it to do anything useful. Also my console screen is now shifted to the left one character, but when I run startx my gui screen is shifted to the right about 1 character. My card is a nvidia card with 128 megs or ram and I have enabled vesa in the kernel and have vesa_load=YES in /boot/loader.conf. However, I get this error in dmesg: module_register: module vesa already exists! Module vesa failed to register: 17 How can I fix these problems? thanks, Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
beta 5: make buildworld = internal compiler error
What causes internal compiler error? c++ -O2 -fno-strict-aliasing -pipe -DIN_GLIBCPP_V3 -DHAVE_CONFIG_H -I/usr/src/gnu/lib/libstdc++ -I/usr/src/gnu/lib/libstdc++/../ ../../contrib/libstdc++/libsupc++ -I/usr/src/gnu/lib/libstdc++/../../../contrib/gcc -I/usr/src/gnu/lib/libstdc++/../../../contri b/libstdc++/include -frandom-seed=RepeatabilityConsideredGood -fno-implicit-templates -ffunction-sections -fdata-sections -Wno- deprecated -c /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/src/io-inst.cc In file included from /usr/obj/usr/src/tmp/usr/include/c++/3.4/string:57, from /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/include/bits/locale_classes.h:47, from /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/include/bits/ios_base.h:47, from /usr/obj/usr/src/tmp/usr/include/c++/3.4/ios:49, from /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/src/io-inst.cc:35: /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/include/bits/basic_string.tcc:236: internal compiler error: Segmentation f ault: 11 Please submit a full bug report, with preprocessed source if appropriate. See URL:http://gcc.gnu.org/bugs.html for instructions. *** Error code 1 Stop in /usr/src/gnu/lib/libstdc++. *** Error code 1 Stop in /usr/src/gnu/lib. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: beta 5: make buildworld = internal compiler error
Björn König wrote: Chuck Swiger wrote: bob self wrote: What causes internal compiler error? CPU overheating? Bad RAM? Power supply going bad? Chuck: I saw this error not for the first time. It always happens during the compilation of libstdc++. There must be a kind of software error or unfortunate coincidence. Bob: What is your current system. Show uname -rms. Björn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] # uname -rms: FreeBSD 6.0-BETA4 i386 Also I tried make buildworld again and it died in EXACTLY the same place. I also had an external fan blowing directly on the motherboard and drives in case it was an overheating problem. c++ -O2 -fno-strict-aliasing -pipe -DIN_GLIBCPP_V3 -DHAVE_CONFIG_H -I/usr/src/gnu/lib/libstdc++ -I/usr/src/gnu/lib/libstdc++/../ ../../contrib/libstdc++/libsupc++ -I/usr/src/gnu/lib/libstdc++/../../../contrib/gcc -I/usr/src/gnu/lib/libstdc++/../../../contri b/libstdc++/include -frandom-seed=RepeatabilityConsideredGood -fno-implicit-templates -ffunction-sections -fdata-sections -Wno- deprecated -c /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/src/streambuf-inst.cc In file included from /usr/obj/usr/src/tmp/usr/include/c++/3.4/string:57, from /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/include/bits/locale_classes.h:47, from /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/include/bits/ios_base.h:47, from /usr/obj/usr/src/tmp/usr/include/c++/3.4/ios:49, from /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/src/streambuf-inst.cc:35: /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/include/bits/basic_string.tcc:236: internal compiler error: Segmentation f ault: 11 Please submit a full bug report, with preprocessed source if appropriate. See URL:http://gcc.gnu.org/bugs.html for instructions. *** Error code 1 Stop in /usr/src/gnu/lib/libstdc++. *** Error code 1 Stop in /usr/src/gnu/lib. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What do these warning messages mean (READ_DMA UDMA ICRC error)?
Lowell Gilbert wrote: bob self [EMAIL PROTECTED] writes: I rearanged my hard drives / dvd burner and am now seeing these messages. The system SEEMS to run ok though. ad0: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=119267359 ad0: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=119267359 ad0: FAILURE - READ_DMA status=51READY,DSC,ERROR error=84ICRC,ABORTED LBA=119267359 g_vfs_done():ad0s1f[READ(offset=44958728192, length=45056)]error = 5 vnode_pager_getpages: I/O read error vm_fault: pager read error, pid 808 (firefox-bin) ad0: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=119267359 ad0: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=119267359 ad0: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=119267519 If it's the same blocks all the time, you may have coincidentally developed a hard disk problem at the same time. Much more likely, though, you've got a problem with the ATA cable for that drive. Maybe it has gotten pinched or bent too sharply? I re-seated the cables yet again and havent seen the problem since then. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
What do these warning messages mean (READ_DMA UDMA ICRC error)?
I rearanged my hard drives / dvd burner and am now seeing these messages. The system SEEMS to run ok though. ad0: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=119267359 ad0: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=119267359 ad0: FAILURE - READ_DMA status=51READY,DSC,ERROR error=84ICRC,ABORTED LBA=119267359 g_vfs_done():ad0s1f[READ(offset=44958728192, length=45056)]error = 5 vnode_pager_getpages: I/O read error vm_fault: pager read error, pid 808 (firefox-bin) ad0: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=119267359 ad0: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=119267359 ad0: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=119267519 thanks, Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Can vim-lite paste from the clipboard?
I have vim-lite 3.6.86 and use vim inside a terminal window in fvwm. I also have firefox which will let me highlight text and copy it with the right mouse button. I'd like to be able to paste such text into vim but I can't get it to work. I've tried *P , +P but neither work. Can someone tell me how to make this work? thanks, Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can vim-lite paste from the clipboard?
Jonathan Glaschke wrote: Hello, On Fri, Sep 16, 2005 at 10:09:06AM -0400, bob self wrote: I have vim-lite 3.6.86 and use vim inside a terminal window in fvwm. I also have firefox which will let me highlight text and copy it with the right mouse button. I'd like to be able to paste such text into vim but I can't get it to work. I've tried *P , +P but neither work. Can someone tell me how to make this work? thanks, Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] You can type :reg in vim, too, to see the content off all registers. Jonathan I copied some text while in firefox, then went to vim and typed :reg. The text is not there. I also tried going into insert mode and clicking the right mouse button, but no text. Do I need a different version of vim (maybe gvim?). Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems with Gnome 2.10
Julien FOURNIER wrote: Hello, I'm trying to use the Gnome interface with FreeBSD 5.4, but I am not able to use it!! I've installed Gnome (I can find the .gnome2 dir in /root). I've created the ~/.xsession file, but nothing has change!!! I think i've missed something, but after 3 attemps, i don't know what it is!! When I enter startx in console, a basic gui starts, but it is not Gnome!!! Thank you for your help!! -- Julien Fournier [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] .xinitrc needs this: /usr/X11R6/bin/gnome-session ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can vim-lite paste from the clipboard?
I installed the full vim (with gvim). It seems that I did not have to un-install vim-lite. I can paste now with gvim. I read that you can do it with vim but I can't get it to work. Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
startx doesn't recognize Modeline in /etc/X11/xorg.conf
FreeBSD 6.0 beta 4 nvidia video card, LCD monitor. I ran startx as root, then xorgcfg to configure ModeLine. xorgcfg did write a ModeLine statement to /etc/X11/xorg.conf I then restarted 'startx' but there is no difference in the display. The desktop is shifted a little to the right. With xorgcfg I can shift it back to the left. Why isn't the modeline recognized in xorg.conf? thanks, Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Gnome error: panel already running ...
Kiffin Gish wrote: Whenever I fire up Gnome 2.10, I keep getting the error message: I've detected a panel already running and will now exit. What gives? I got that too, plus other problems. I switched to fvwm. Much better now. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: can't install /sysutils/dvd+rw-tools
My solution was to completely de-install gnome2 and it's associated ports. That removed about 100 ports. It's hard to believe that gnome would take over the system so thoroughly. Fluxbox works fine for me. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
can't install /sysutils/dvd+rw-tools
FreeBSD-6.0 beta 4 I'm trying to get DVD burning going according to the handbook. So, it says to install dvd+rw-tools. But I get this error: [EMAIL PROTECTED] pkg_add -r dvd+rw-tools Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-current/Latest/ dvd+rw-tools.tbz... Done. Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-current/All/cdr tools-2.01_1.tbz... Done. pkg_add: package 'cdrtools-2.01_1' conflicts with cjk-cdrtools-2.01.20041227_1 pkg_add: please use pkg_delete first to remove conflicting package(s) or -f to f orce installation pkg_add: pkg_add of dependency 'cdrtools-2.01_1' failed! So, I try to un-install cjk-cdrtools, but I get this error: [EMAIL PROTECTED] pkg_deinstall cjk-cdrtools --- Deinstalling 'cjk-cdrtools-2.01.20041227_1' pkg_delete: package 'cjk-cdrtools-2.01.20041227_1' is required by these other pa ckages and may not be deinstalled: gnome2-2.10.2 gnomemedia2-2.10.2 nautilus-cd-burner-2.10.2 sound-juicer-2.10.1 totem-gstreamer-1.0.4 ** Listing the failed packages (*:skipped / !:failed) ! cjk-cdrtools-2.01.20041227_1 (pkg_delete failed) --- Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed What I think that I need to use is growisofs which is part of dvd+rw-tools. Do I have un-install gnome2 etc to be able to use this? thanks, Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Can't execute a script
I have a simple test script called 'scripttest' in /root/bin: -rwxr-xr-x 1 root wheel 121 Sep 9 14:55 scripttest my $PATH IS /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:*/root/bin* #!/bin/sh echo pinging #end of scripttest If I run which scripttest, I get /root/bin/scripttest But if I try to run this test script I get scripttest: Command not found. Why is that happening? thanks, Bob Self ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can't execute a script
Glenn Dawson wrote: Assuming you're using csh, did you rehash after creating the script? Did you try to execute it with it's full path? like: /root/bin/scripttest -Glenn Yes, I did 'rehash'. I'm running tcsh as root, FreeBSD 6.0. Also, I ran /root/bin/scripttest and I still get command not found. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can't execute a script
Peter A. Giessel wrote: On 9/9/2005 11:01, bob self seems to have typed: If I run which scripttest, I get /root/bin/scripttest But if I try to run this test script I get scripttest: Command not found. Its a stupid thought, but could you run which sh? [EMAIL PROTECTED]/bin# which sh /bin/sh oh yes, I'm running 6.0 BETA 4 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can't execute a script
Peter A. Giessel wrote: On 9/9/2005 11:01, bob self seems to have typed: If I run which scripttest, I get /root/bin/scripttest But if I try to run this test script I get scripttest: Command not found. Its a stupid thought, but could you run which sh? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I also should mention that I have many other shell scripts in /root/bin and most of them work. I only have two that don't work besides this test script, but I can't see why they shouldn't work. Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can't execute a script
N.J. Thomas wrote: I've seen something like this happen when there is a non-printing character on the shebang line (like a CTRL-G or similar). So instead of running /bin/sh, your shell tries to run /bin/sh^G -- which obviously doesn't exist. Can you run xxd /root/bin/scripttest and show us the output? If you don't have xxd on your system (it usually is packaged with Vim) you can try od -x /root/bin/scripttest. xxd/od will show right away if there is anything funky on the shebang line that shouldn't be there. thanks, Thomas xxd scripttest: 000: 2321 2f62 696e 2f73 680d 0a65 6368 6f20 #!/bin/sh..echo 010: 2270 696e 6769 6e67 2e2e 2e2e 220d 0apinging.. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can't execute a script
I wasn't aware of the eol issue and don't know how the 0x0d got there, but I fixed it with 'dosunix' and it works now. Thanks, Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
/usr/ports/INDEX-5 and INDEX-6
I'm trying FreeBSD 6.0 I'm updating the ports this way: cd /usr/ports portsnap fetch portsnap update make fetchindex portsdb -u I see in /usr/ports that there is an INDEX-5 and an INDEX-6 plus an INDEX. Why am I getting an INDEX-5 if I'm running version 6? Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /usr/ports/INDEX-5 and INDEX-6
Kris Kennaway wrote: On Wed, Sep 07, 2005 at 11:19:57AM -0400, bob self wrote: I'm trying FreeBSD 6.0 I'm updating the ports this way: cd /usr/ports portsnap fetch portsnap update make fetchindex portsdb -u I see in /usr/ports that there is an INDEX-5 and an INDEX-6 plus an INDEX. Why am I getting an INDEX-5 if I'm running version 6? You shouldn't be, but you didn't demonstrate that you are (and it's not just an old file from when you were running 5.x). Kris I never had version 5 on these hard drives. It's a new 6.0 installation. And the time of the INDEX-5 is almost the same as the INDEX-6. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How should I partition 2 80 gig drives?
I want to set up FreeBSD 5.4 Release to fully use 2 80 gig hard drives. I'm not sure how I should set these up in disklabel editor. I just want to use this as a general purpose machine. thanks, Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: backup and restore mysql
Carstea Catalin wrote: how to backup and restore mysql databases? to backup: # mysqldump --opt -u root -p -A dbs.sql to restore: mysql source dbs.sql; ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
portsdb -Uu duplicate entry warnings
I've been told that these messages are not a problem. But I do think that they are warnings. How can I get rid of these warnings? Warning: Duplicate INDEX entry: freeciv-gtk2-2.0.2 Warning: Duplicate INDEX entry: mod_frontpage2-5.0.2.2635 Warning: Duplicate INDEX entry: mod_jk2-apache2-2.0.4 Warning: Duplicate INDEX entry: mod_rpaf-ap2-0.5 I get these after running 'portsdb -Uu I've searched the archives but haven't found the solution. Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
portsdb (Warning: Duplicate INDEX)
My system: --- FreeBSD ..org 5.4-STABLE FreeBSD 5.4-STABLE #0: Mon Aug 15 19:06:46 EDT 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 The problem: I ran cvsup with no problems. But then I ran portsdb and I get these warnings: [EMAIL PROTECTED] portsdb -Uu Updating the ports index ... Generating INDEX.tmp - please wait.. Warning: Duplicate INDEX entry: freeciv-gtk2-2.0.2 Warning: Duplicate INDEX entry: mod_frontpage2-5.0.2.2635 Warning: Duplicate INDEX entry: mod_jk2-apache2-2.0.4 Warning: Duplicate INDEX entry: mod_rpaf-ap2-0.5 Done. done [Updating the portsdb format:bdb1_hash in /usr/ports ... - 13301 port entries found .1000. 2000.3000.4000.5000.6000.7000.8000.9 000.1.11000.12000.13000... . done] [EMAIL PROTECTED] How can I fix this and why does this keep happening? I had the same problems a year ago with freeciv on a 4.11 system. I'm not sure how the problem went away before. I think that I might have changed the format: to a different method. I didn't have this problem when I ran this same procedure two days ago. thanks, Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: swap file using gmirror?
Andrea Venturoli wrote: bob self wrote: If you put your swap partition on a gmirror drive, your swap partition will benefit from RAID 1. swapoff=YES only allows for a clean shutdown, so that gmirror won't rebuild everything on next boot. bye av. So, is there swap space somewhere? Maybe yes, maybe not: you won't find the answer in rc.conf and swapoff=YES doesn't say anything about that. Try swapinfo. bye av. I ran swapinfo: Device1K-blocks Used Avail Capacity /dev/mirror/gm0s1b 31457280 3145728 0% So, I have swap space? Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: swap file using gmirror?
Andrea Venturoli wrote: bob self wrote: I'm running 5.4 RELEASE. I have two identical hard drives. I installed FreeBSD on the first drive and then turned on gmirror. The 2nd drive sync'd in about 3 hours. I did create a swap partition, but part of the procedure that I found to start gmirror adds swapoff=YES' to /etc/rc.conf Is that the right thing to do? Should gmirror run without swap? You are interpreting it incorrectly. If you put your swap partition on a gmirror drive, your swap partition will benefit from RAID 1. swapoff=YES only allows for a clean shutdown, so that gmirror won't rebuild everything on next boot. bye av. So, is there swap space somewhere? What if I run out of RAM? thanks, Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
swap file using gmirror?
I'm running 5.4 RELEASE. I have two identical hard drives. I installed FreeBSD on the first drive and then turned on gmirror. The 2nd drive sync'd in about 3 hours. I did create a swap partition, but part of the procedure that I found to start gmirror adds swapoff=YES' to /etc/rc.conf Is that the right thing to do? Should gmirror run without swap? thanks, Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Can't install php5-apache20 combination
I have a new installation of 5.4-RELEASE and am trying to get apache2 with php5 support installed. No luck so far. In what order should I do this? I've tried this: *portupgrade -vN php5* These are the options that I selected APACHE2(yes. I changed this from 'no') DEBUG(no) MULTIBYTE(no) IPV6(yes. It was the default) *portupgrade -vN php5-extensions* I selected the following additional options (I've used gd, imagick, etc in the past with php, so I'll be wanting these. Does it hurt to just select all options in case you might need them later?) BZ2 CALENDAR CURL GD IMAGICK MYSQL NCURSES PDF READLINE ZIP ZLIB That seemed go ok, but my phpinfo() does not show anything about mysql, which is the main php support that I'm trying to get. Then I tried this: *portupgrade -vN apache20* But I get an error message No such installed package or port: apache20, which exists in /usr/ports/www/apache20. I uninstalled php5 to start over. So, how can I install apache2 with php5 and the necessary extensions? Is there a way just install apache20 and make the installation install whatever you need, including php5 in the right order? thanks, Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
which apache / php things to install?
I just installed FreeBSD 5.4-RELEASE and am installing a few applications. I need apache with php, but I see many php-related packages (with portupgrade -v php5-\*). So then I tried portupgrade -v php5, but now it wants to know whether I want to use apache2 instead of apache 1.3. I've been using 1.3 on another machine with no problems. Is 2 now ok to use? I saw in /usr/ports that there is apache2, apache20, apache21. Which one of these should I install if I use apache2? What about the other php installation questions (debug and zend multibyte support)? thanks, bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: libreadline.so.5 not found
Björn König wrote: Larry wrote: I just upgraded to 4.11-STABLE and upgraded a lot of ports after that. Now I get the following message sometimes: Shared object libreadline.so.5 not found, required by bash. How did you build bash? The packages of 4.11-RELEASE and 4-STABLE don't require libreadline. Show the output of the following commands ls -l /lib/libread* file `which bash` ldd `which bash` Consider reinstallation of bash. Regards Björn I uninstalled bash pkg_deinstall bash I then reinstalled bash: portupgrade -vN bash portupgrade wanted to know if I also wanted to install bash2, so I said yes, but that failed for bash2. But bash did reinstall. Now I get: ldd `which bash` : /usr/local/bin/bash: libncurses.so.5 = /usr/lib/libncurses.so.5 (0x280e4000) libc.so.4 = /usr/lib/libc.so.4 (0x28125000) So that got rid of some problems, but what about these two? thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]