laptops and notebooks

2009-10-13 Thread af300wsm

hi,

Does anyone here use FreeBSD or PC-BSD with HP TouchSmart laptops/notebooks?

Thanks,
Andy
___
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


having problems copying a dvd

2009-09-01 Thread af300wsm

Hi,

I'm trying to make a copy of a dvd that I have, video, using a technique  
that I gleaned from this list nearly two years ago that has always worked  
but now I'm having problems. (When I say always, please bear in mind that I  
don't do this every day or even frequently). You'll also see calls to dd.  
These were attempts at last ditch effort. I usually just use the copy  
command (got it from a thread entitled, copying a dvd video, from  
November of 07). If dd will work but I just forgot to get the block size  
right, what is that supposed to be.


So, here's what I'm doing with the results. Any help is greatly appreciated  
because am at the point of pulling my hair out (which might have actually  
happened had I not shaved it off).


[r...@sniper ~]# cp /dev/acd0 /usr/local/dvds/biggest_loser.iso
cp: /dev/acd0: Input/output error

[r...@sniper ~]# cp /dev/acd0t01 /usr/local/dvds/biggest_loser.iso
cp: /dev/acd0t01: Input/output error

[r...@sniper ~]# dd if=/dev/acd0 of=/usr/local/dvds/biggest_loser.iso
dd: /dev/acd0: Invalid argument
0+0 records in
0+0 records out
0 bytes transferred in 0.000115 secs (0 bytes/sec)

[r...@sniper ~]# dd if=/dev/acd0t01 of=/usr/local/dvds/biggest_loser.iso
dd: /dev/acd0t01: Invalid argument
0+0 records in
0+0 records out
0 bytes transferred in 0.000111 secs (0 bytes/sec)


Andy
___
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: Re: Re: Which latex should I install

2009-06-29 Thread af300wsm

On Jun 26, 2009 7:32am, Daniel Underwood djuatde...@gmail.com wrote:

Hopefully Polytropon will chime in on this, but I had to install



TeXLive for everything to work.





Suggestion: try teTeX. If you encounter problems, then install TeXLive.



Daniel,

I wanted to ask, but neglected to until now, did you install from the DVD  
or the network? Also, did you install for FreeBSD (pre-compiled binaries),  
or did you install Linux binaries?


Andy
___
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: Re: Which latex should I install

2009-06-26 Thread af300wsm

On Jun 26, 2009 6:41am, Daniel Underwood djuatde...@gmail.com wrote:

I recently went through the ropes of installing latex on my FreeBSD



machine. You may the discussion I had helpful.





See # 256 and below, from here:



http://docs.freebsd.org/mail/archive/2009/freebsd-questions/20090607.freebsd-questions.html




Thanks for the link to the previous discussion. So, should I use the  
TeXLive or teTeX given by Polytropon?


Andy
___
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: Re: Re: Which latex should I install

2009-06-26 Thread af300wsm

On Jun 26, 2009 10:40am, Roland Smith rsm...@xs4all.nl wrote:

On Fri, Jun 26, 2009 at 03:27:51PM +0100, Anton Shterenlikht wrote:



 On Fri, Jun 26, 2009 at 10:21:37AM -0400, Daniel Underwood wrote:



   Is there a FBSD port of TeXLive?



 



  No, but it's not necessary. Just go here



  http://www.tug.org/texlive/acquire.html and download the DVD image.







 well.. I'll wait for some kind sole to put a texlive port together.



 Tetex port has been enough for me for some years now.





The thing is that teTeX hasn't been updated in years. It has in fact



been deprecated in favor of TeXLive. This is not a big problem with the



basic TeX engine, because that doesn't change that much. But pdfTeX (a



TeX that generates PDF output instead of DVI) has been evolving



rapidly. And you'll miss out on several years of updates of the macro



packages (like LaTeX and ConTeXt).





Another consideration is that TeXLive contains a much larger choice of



additional packages than teTeX.





So I would advise you to install TeXLive. The latest DVD comes with



FreeBSD binaries.





Look at the mailing list archives for threads called LaTeX oder teTeX



in October 2007, and Installing latest version of LaTeX in June



2009. In those threads I've posted some instructions on how to get



TeXLive to work. Installation is pretty easy, but you have to change



login.conf and manpath.conf to use the binaries and manpages. Normally



TeXLive keeps everything under its own tree (/usr/local/texlive), so it



won't mess up the trees /usr/local/{bin,share,...}. Do _not_ tell the



installer to put symbolic links in /usr/local/bin! That way removing



TeXLive is as easy as removing /usr/local/texlive.





Roland



Thanks Roland. Looks like TeXLive it is.

Andy
___
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


Which latex should I install

2009-06-25 Thread af300wsm

Hi,

Just today I found the marvel of LaTeX while looking over a quick how-to  
for LaTeX. I was using a Linux system at work and would like to install it  
on my FreeBSD system at home since I've been looking for something like  
this for exchanging math questions I have with a friend who's helping me  
understand mathematics as I pursue my degree. LaTeX is just what I've been  
looking for. However, when I went to find the port by doing make search  
name=latex I was returned so many hits, frankly, I'm overwhelmed. What do  
I need to install from ports to get the LaTeX language on my system, show  
the markup using the native DVI and more importantly, write pdf file from  
the markup? The tutorial I was going off of was using something called  
pdftex I think, but not sure. I sent myself a link to the tutorial so I  
wouldn't have to remember. Oh, it should be obvious, but what do I need to  
make sure of so that I've got all of the math rendering capability at my  
fingertips?


There's just so much there. Obviously, LaTeX is much more than I thought it  
was. I'm looking forward to understanding it more.


Andy
___
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


Configuring an IPv6 router to assign addresses

2009-05-06 Thread af300wsm

Hi,

I've found in the handbook how to start up a v6 router and some other  
helpful links on this topic at the FreeBSD diary. However, I'm wondering,  
how do I configure the router to assign addresses to hosts.


Thanks,
Andy
___
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: Re: Configuring an IPv6 router to assign addresses

2009-05-06 Thread af300wsm

On May 6, 2009 8:56am, John Nielsen li...@jnielsen.net wrote:

On Wednesday 06 May 2009 10:39:24 am Odhiambo ワシントン wrote:




Is there a reason you need to control the addresses used by your clients



(other than the prefix)? I set up IPv6 on my LAN and while I have DHCPd



running on the router for IPv4 addresses rtadvd is all I needed for IPv6.



Clients assign themselves addresses based on the network prefix they



learn from route solicitation and their own MAC address. That's supposed



to be one of the reduced administration benefits of the new



protocol. :)



Thanks for reminding me of the flow in which this happens. Seems like I, at  
sometime, got the idea that it was the router that dished back a unique IP  
based on clients MAC and so forth. However, it seems to me now that the  
router was only supposed to dish out the prefix, ie network id, and the  
client would take that prefix and generate a unique IP based on its MAC.


Thanks again,
Andy
___
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: Re: Loading sound drivers

2009-04-10 Thread af300wsm

On Apr 9, 2009 9:20am, Ricardo Jesus ricardo.meb.je...@gmail.com wrote:



You even need sound_load=YES in the loader.conf. snd_via8234 pulls it  
upon loading.



Yup, pathetic that I missed it, but that's what I was missing. Thanks  
everyone. I've added _load to the lines.


Andy
___
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


Loading sound drivers

2009-04-09 Thread af300wsm

Hi,

My motherboard, an ASUS K8V-X, has a generic type sound chip on board,  
according to ASUS' specifications, it is an AD1980 chipset. The hardware  
notes, linked from the handbook, does not list this chipset but does list  
several Intel type HDA chipsets including one AD1981 chipset. Never the  
less, using the handbook instructions I loaded the meta sound driver and my  
chipset was identified as a via8233 chipset. The meta driver loaded many  
drivers into the kernel, but through trial and error I've discovered that  
only sound.ko and snd_via8233.ko need to be loaded. So, I put these two  
lines into /boot/loader.conf:


sound=YES
snd_via8233=YES

However, these two modules do not load on bootup. Why? How do I fix this?

Thanks,
Andy
___
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: Re: where is spl_autoload found in PHP

2009-04-08 Thread af300wsm

On Apr 6, 2009 2:04pm, Maxim Khitrov mkhit...@gmail.com wrote:

On Mon, Apr 6, 2009 at 3:13 PM, af300...@gmail.com wrote:



 Hi,






 I saw Zend in the ports and so I'm hoping that some here use it and can  
help


 me with this one. I've installed the latest stable Zend, which is a  
little


 newer than what I found in ports, and I'm running PHP version 5.2.8  
(which I



 did install from ports). I'm going through the Zend QuickStart guide


  
(http://framework.zend.com/docs/quickstart/create-an-action-controller-and-view),



 and ran into this error when loading the page at this point of the quick



 start;






 Fatal error: Uncaught exception 'Zend_Exception' with  
message 'spl_autoload



 does not exist in this PHP installation' in


 /usr/local/www/apache22/data/QuickStart/library/Zend/Loader.php:206  
Stack



 trace: #0 /usr/local/www/apache22/data/QuickStart/public/index.php(18):



 Zend_Loader::registerAutoload() #1 {main} thrown in


 /usr/local/www/apache22/data/QuickStart/library/Zend/Loader.php on line  
206






 I've searched through the ports looking for auto and load in php5  
modules


 and I've found nothing (I did my searching at freshports.org). I then  
did a


 make config in the /usr/ports/lang/php5 directory but didn't see a  
check box



 for spl_autoload in the options. How do I get this installed in my PHP



 installation?





devel/php5-spl





Thank you very much. I'm not sure I'd have found that too easily.

Andy
___
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


where is spl_autoload found in PHP

2009-04-06 Thread af300wsm

Hi,

I saw Zend in the ports and so I'm hoping that some here use it and can  
help me with this one. I've installed the latest stable Zend, which is a  
little newer than what I found in ports, and I'm running PHP version 5.2.8  
(which I did install from ports). I'm going through the Zend QuickStart  
guide  
(http://framework.zend.com/docs/quickstart/create-an-action-controller-and-view),  
and ran into this error when loading the page at this point of the quick  
start;


Fatal error: Uncaught exception 'Zend_Exception' with message 'spl_autoload  
does not exist in this PHP installation' in  
/usr/local/www/apache22/data/QuickStart/library/Zend/Loader.php:206 Stack  
trace: #0 /usr/local/www/apache22/data/QuickStart/public/index.php(18):  
Zend_Loader::registerAutoload() #1 {main} thrown in  
/usr/local/www/apache22/data/QuickStart/library/Zend/Loader.php on line 206


I've searched through the ports looking for auto and load in php5 modules  
and I've found nothing (I did my searching at freshports.org). I then did a  
make config in the /usr/ports/lang/php5 directory but didn't see a check  
box for spl_autoload in the options. How do I get this installed in my PHP  
installation?


Thanks,
Andy
___
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: Re: Where is the Perl XML::Parser port

2009-03-30 Thread af300wsm

On Mar 29, 2009 4:21pm, Paul B. Mahol one...@gmail.com wrote:

On 3/29/09, af300...@gmail.com af300...@gmail.com wrote:



 Hi,






 I'm installing the latest gimp and get to a point in the install where  
it



 says:







 checking for perl... /usr/bin/perl



 checking for XML::Parser... configure: error: XML::Parser perl module is



 required for intltool











 So, I've done some searches at freshports.org and I cannot find the



 XML::Parser perl module anywhere in the ports tree. What is it under?





 whereis p5-XML-Parser



p5-XML-Parser: /usr/ports/textproc/p5-XML-Parser






Thanks

Andy
___
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


Where is the Perl XML::Parser port

2009-03-29 Thread af300wsm

Hi,

I'm installing the latest gimp and get to a point in the install where it  
says:


checking for perl... /usr/bin/perl
checking for XML::Parser... configure: error: XML::Parser perl module is  
required for intltool



So, I've done some searches at freshports.org and I cannot find the  
XML::Parser perl module anywhere in the ports tree. What is it under?


Thanks,
Andy
___
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: Re: What's the simplest way to get a fresh copy of the source code for the system

2009-02-24 Thread af300wsm

On Feb 23, 2009 6:41am, Erich Dollansky ocean...@pacific.net.sg wrote:

Hi,





On Mon, 2009-02-23 at 01:15 +, af300...@gmail.com wrote:





 My churches web server is having problems compiling world for FreeBSD


 7.0-p10 (I believe I just did the csup last night). It gets to this  
point



 and then stops with this error:





so, you did what you are supposed to do to get the latest source.






 So, basically, the question for everyone here is, what's the simplest  
way


 to get a fresh source code tree so that I can build the world  
applications?







If you want to make sure that nothing damaged is in your way, delete



everything under /usr/src except of your configuration file.





You also could use this to upgrade to 7.1.



I have considered that. There are a few ports installed on this system  
however, MySQL and Apache being the most important. How does one go about  
upgrading to a newer release and ensuring that the ports of pristine also  
when the upgrade is completed.


I was thinking of this approach, please advise if I'm mistaken.

1) comment all installed ports from auto-loading in rc.conf
2) upgrade kernel to newest release (7.1)
3) upgrade user land applications
4) csup the ports tree
5) portupgrade -a
6) uncomment the commented lines from rc.conf
7) reboot and hope all works as planned

Does this sound appropriate?

Andy
___
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: Re: What's the simplest way to get a fresh copy of the source code for the system

2009-02-23 Thread af300wsm

On Feb 23, 2009 10:43am, Roland Smith rsm...@xs4all.nl wrote:

On Mon, Feb 23, 2009 at 01:15:16AM +, af300...@gmail.com wrote:



 Hi,







 My churches web server is having problems compiling world for FreeBSD


 7.0-p10 (I believe I just did the csup last night). It gets to this  
point



 and then stops with this error:







 touch gtype-desc.h



 touch: No such file or directory





The file gtype-desc.h doesn't exist on my 7.1 system.



I think that this means that the 'touch' binary is missing. See below.


I had over looked that possibility but I agree now that you mention it  
especially in light of reading your further comments below.






Touch should never complain about missing files, because one of its



purposes is to create files that don't exist. So it is probably the



'touch' binary itself is missing. Try 'which touch'. It should report



'/usr/bin/touch'. If it doesn't, touch is MIA.





It might be saved in the lost+found directory of the partition that



holds /usr/bin.





The easiest way to get it back is to just build touch. Or copy it from



the install/live-cd.


I'ma little unclear about how to build individual programs from within the  
source tree. Can you please explain how I'd do this?


Thanks,
Andy
___
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


What's the simplest way to get a fresh copy of the source code for the system

2009-02-22 Thread af300wsm

Hi,

My churches web server is having problems compiling world for FreeBSD  
7.0-p10 (I believe I just did the csup last night). It gets to this point  
and then stops with this error:


touch gtype-desc.h
touch: No such file or directory

A little history for what's going on; the server was not responding at all  
so I took it home to diagnose (it was at a friends house, where it's  
hosted). I turned it on and it booted up ok for me, which was a little odd  
because he told me that it wasn't doing anything. So, I began looking the  
system over. Within 10 minutes the system became slow and was rather  
unresponsive to things. For example, saves while running vim took 20  
seconds or so. Within a few minutes the kernel panicked and I had to reboot.


Before the panic I noticed that there were some background file system  
checks going. So, since it was rebooting anyway I went into single user  
mode and performed fsck on all of the partitions (except the root, that was  
marked as clean). There were many problems fixed especially on the /usr  
partition. I'm betting that this missing file, gtype-desc.h, happens to  
have been one of the many problems fixed.


At any rate, after running the file system checks I rebooted normally and  
everything appears to be fine. I then updated the system and kernel source  
code and that's when I found this problem. The kernel built ok and I've had  
the system running for up to 2 hours since fixing the file systems without  
incident. It's apparently corrupted file systems rather than hardware.  
Never the less, I will be turning up what smartd is monitoring because I do  
have it running and received no e-mail about hard drive problems.


So, basically, the question for everyone here is, what's the simplest way  
to get a fresh source code tree so that I can build the world applications?


Thanks,
Andy
___
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: RE: vi set comment #

2009-02-21 Thread af300wsm

On Feb 20, 2009 7:56am, Johan Hendriks jo...@double-l.nl wrote:



 define service{



 use generic-service



 host_name w2003hk03



 service_description Explorer



 check_command check_nt!PROCSTATE!-d SHOWALL -l Explorer.exe



 }







 And now i want to set a # to all the 6 lines.




Thanks all for the fast and usefull response.





Regards,



Johan Hendriks



As if you haven't already gotten enough help and such, I'd like to give you  
another alternative that will be handy in the future too. Please note  
however that this only applies if you're using VIM.


1) Place your cursor on top of the first character you want to put the  
comment in front of (in your example, which I left above, that would on top  
of the 'd' in define)

2) Hit Ctrl-v (this places the editor in visual mode)
3) Hit 'j', or use the down arrows, until your highlighted section is on  
top of the last character you want the comment in front of (in your  
example, it is the closing '}')

4) Hit Shift-I
5) Type a single '#'
6) Hit escape

After hitting escape, you'll have a new column of '#' characters in front  
of every character in that vertical column. Also, one of your first  
respondents mentioned a mailing list at vim.org (I believe, going off  
memory), you can also get great vi/vim advice from comp.editors. They  
discuss all kinds of editors there, but the group is mainly vi dominated.


Hope this helps,
Andy
___
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: Re: memory limitations per process

2009-02-19 Thread af300wsm

On Feb 19, 2009 4:21pm, Ivan Voras ivo...@freebsd.org wrote:



Your question is vague.



Sorry, it was not intentional. I wasn't too sure how to ask the question.




A 32-bit process can only access 4 GB of memory, but all processes also



have a bit of memory reserved for the kernel. On FreeBSD the



accessible memory for processes is closer to 3 GB than 2 or 4. See this



discussion for details: http://wiki.freebsd.org/KVA_PAGES





Also, FreeBSD processes have administrative limits to their size set by



defaults. See for example this:



http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2008-11/msg01363.html



. If you want to use the whole 3 GB for a process, you'll have to



increase maxdsiz. Note that you may need to experiment with this size



since your BIOS will probably not let you use 4 GB of physical memory



for the OS except if you enable PAE, and it's possible to create an



unbootable system by messing with kernel memory limits. You should



probably experiment on the loader command line first, not in the



loader.conf file.





Thank you. This is exactly what I was hoping to learn. Thanks also for the  
links for further reading.


Andy
___
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


memory limitations per process

2009-02-18 Thread af300wsm

Hi,

I'm running into a per process memory limit at work (on Windoze though),  
but I'm wondering what's the limit per process in FreeBSD for 32 bit  
systems, ie i386? Is it 4gb or 2? From stuff I found on the Net, I'm  
guessing 4gb, but wanted to ask anyway. It seems to be an implementation  
deal limiting the windows world to 2gb per process rather than hardware  
limitations.


Thanks,
Andy
___
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 add KDE-SVN to KDE4

2009-02-08 Thread af300wsm

Hi,

Well, I got KDE4 to install and I like it! However, I noticed that the  
KDE-SVN package, which I installed for KDE3, isn't accessible as it  
currently sits for KDE4. Would anyone here know how to make it accessible  
to KDE4?


Thanks,
Andy
___
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


Snag in installing KDE4; need libgs but where is it

2009-02-07 Thread af300wsm

Hi,

I decided last night to try and install KDE4. I left it compiling to go to  
bed. When I got up, I saw that it had his this snag:


checking for vasprintf... yes
checking for gsapi_new_instance in -lgs... no
configure: error: You need libgs in order to compile libspectre


I can't find a port that installs libgs. At least, I did these two things:

make search name=libgs
make search name=ghostscript

The first returns only references to libgsf which I had installed. I  
upgraded the port anyway, but this didn't fix the problem. The second  
returns things that don't seem to be what I want. What port will install  
this library?



Thanks,
Andy
___
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: Re: Snag in installing KDE4; need libgs but where is it

2009-02-07 Thread af300wsm

On Feb 7, 2009 6:24am, Glen Barber glen.j.bar...@gmail.com wrote:

af300...@gmail.com said:

 Hi,



 I decided last night to try and install KDE4. I left it compiling to go  

to


 bed. When I got up, I saw that it had his this snag:



 checking for vasprintf... yes

 checking for gsapi_new_instance in -lgs... no

 configure: error: You need libgs in order to compile libspectre





 I can't find a port that installs libgs. At least, I did these two  

things:




 make search name=libgs

 make search name=ghostscript





I did `make search name=libspectre' which is where your build failed. I  
see afew dependencies on ghostscript and gsfonts. Either try building  
libspectre directly (/usr/ports/print/libspectre) or the  
ghostscript/gsfonts dependencies directly.






A port upgrade to ghostscript seemed to correct that problem.

Thanks,
Andy
___
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


KDE4 build fails for language issues

2009-02-07 Thread af300wsm

Hi,

Ok, the next thing in the saga of getting KDE4 installed, I hit this when  
compiling KDE4:



In file included from  
/usr/ports/multimedia/kdemultimedia4/work/kdemultimedia-4.1.1/juk/coverinfo.cpp:37:
/usr/local/include/taglib/id3v2tag.h:101: error: invalid use of incomplete  
type 'struct TagLib::Tag'
/usr/local/include/taglib/tfile.h:31: error: forward declaration of 'struct  
TagLib::Tag'

*** Error code 1

Stop in /usr/ports/multimedia/kdemultimedia4/work/kdemultimedia-4.1.1/build.
*** Error code 1

Anyone have any ideas on how to fix this one?

Andy
___
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: Re: KDE4 build fails for language issues

2009-02-07 Thread af300wsm

On Feb 7, 2009 8:53am, Glen Barber glen.j.bar...@gmail.com wrote:

af300...@gmail.com said:

 In file included from

  

/usr/ports/multimedia/kdemultimedia4/work/kdemultimedia-4.1.1/juk/coverinfo.cpp:37:


 /usr/local/include/taglib/id3v2tag.h:101: error: invalid use of  

incomplete


 type 'struct TagLib::Tag'

 /usr/local/include/taglib/tfile.h:31: error: forward declaration  

of 'struct


 TagLib::Tag'

 *** Error code 1



 Stop in  

/usr/ports/multimedia/kdemultimedia4/work/kdemultimedia-4.1.1/build.


 *** Error code 1



 Anyone have any ideas on how to fix this one?





Have you updated your ports tree? If not, try that. If it still fails, I  

would submit a PR.





In fact, a portupgrade to the taglib port fixed the issue. Thanks,
Andy
___
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


having trouble with OpenOffice

2009-02-05 Thread af300wsm

Hi,

Tonight I finally took the bull by the horns and got OpenOffice installed.  
However, I'm not having a problem that I haven't found an answer to yet but  
seems to be related to the X server (from searches on the net). So, I do  
this:


[a...@sniper /usr/home/andy]$ /usr/local/bin/openoffice.org-2.4.2-scalc
I18N: Operating system doesn't support locale en_US
The application cannot be started.
The component manager is not available.
Segmentation fault (core dumped)


As you can tell, OpenOffice failed because my OS doesn't support  
locale en_US. Huh!?! I'm using the English version. In fact, the only way  
to consider me as being bilingual is something of a matter of mental  
gymnastics because English is spoken in England and to me, England is a  
foreign country. Thus, I'm bilingual, or at the least, I speak a foreign  
language.


Never the less, how would this be fixed?

Andy
___
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: Re: Odd behavior after upgrading to 7.0-p7

2009-01-14 Thread af300wsm

On Jan 13, 2009 4:18pm, Mel fbsd.questi...@rachie.is-a-geek.net wrote:

On Saturday 10 January 2009 16:37:50 Andrew Falanga wrote:



 I installed 7.0 i386 and all was working great. I upgraded to p7 and now

 when I end my X session, I have kdm loading, it doesn't bring me to a  

login


 prompt. It dumps me on console 0 and I have to kill the kdm-bin process  

to


 return to a kdm login.



 This didn't happen before upgrading to p7. What would have changed that

 would not prevent this?



When using x11/nvidia-driver, recompile it for this new kernel.




Thanks. I'll do that. Though, to be sure, does this mean I must enter that  
directory in ports and do a 'make deinstall' and then 'make install clean'?


Thanks again,
Andy
___
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: Re: postgresql network access problem

2009-01-01 Thread af300wsm

On Jan 1, 2009 4:34am, stan st...@panix.com wrote:


Thanks.



I did get it working. Here is the line that I used in rc.conf:



postgresql_flags=-o '-i' -w -s -m fast



As a point of information, what was confusing me was, i had increased the

number of connections in postgresql.conf. This had created a situation

where I did not have enough kernel resources. This was loged in

/var/log/messages. I crected this, but even then postgess would never  

start


again, and no further messages werre put in /var/log/messages. I would up

re init'g the database.




I didn't know about using

postgresql_flags=needed_flags

in rc.conf. Thanks for that info.

Andy
___
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


Using PHP PDO on FreeBSD

2008-12-31 Thread af300wsm

Hello,

So, I've installed from ports the following:

sniper# pkg_info | grep php
php5-5.2.6_2 PHP Scripting Language
php5-pdo-5.2.6_2 The pdo shared extension for php
php5-pdo_pgsql-5.2.6_1 The pdo_pgsql shared extension for php
php5-pgsql-5.2.6_1 The pgsql shared extension for php


I noticed in /usr/local/etc/php there is a file named, extensions.ini with  
the following contents:

sniper# cat php/extensions.ini
extension=pgsql.so
extension=pdo.so
extension=pdo_pgsql.so

However, when I try to use the PDO in my php script I get this error from  
the interpreter:

could not find driver

Now, I don't know what I'm missing. I've tried renaming  
/usr/local/etc/php.ini-recommended to php.ini. However, after reloading  
apache, I'm still getting the, could not find driver, error. So, what's  
the secret to using this extension on FreeBSD?


Andy
___
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: Re: Having issues with the nvidia driver on my box

2008-12-29 Thread af300wsm

On Dec 28, 2008 5:42am, Marco Beishuizen mb...@xs4all.nl wrote:

On Fri, 26 Dec 2008 18:14:38 +




Did you install the latest Nvidia driver? Perhaps your card isn't

supported anymore. Nvidia dropped some older chipsets in their latest

driver. You can try nvidia-driver-96xx or nvidia-driver-71xx in the

ports. I hope this helps.


I installed the nvidia-driver-96xx because when I installed the latest one  
it said that my chipset wasn't supported. Actually, I think that the  
suggestions from Mike helped. I added the option in my xorg.conf file that  
says to use the nvidia agp drivers before using the kernel agp.ko.


Andy
___
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


Having issues with the nvidia driver on my box

2008-12-26 Thread af300wsm

Hi,

For several reasons, one of which was to use the nvidia driver for my  
board, I switched from amd64 to i386. So, I installed the driver and  
although things are working I'm getting this on console 0:


NVRM: AGP cannot be enabled on this combination of the amd CPU and OS kernel
NVRM: kernel upgrade recommended

So, when I installed the nvidia driver I said to enable AGP. (Figuring only  
that this is an AGP board, why not?) My graphical environment works but I'd  
like to resolve this. Also, I think that some little quirks in my display  
can be attributed to this, but I'm not sure. Is there some sort of kernel  
option I must include and build my own kernel?


Thanks,
Andy

ps in case it matters, my board is rather old. I purchased it 4 years ago  
and as I'm not a gamer, it suffices quite nicely. Here's the driver I had  
to install for support of this chip:


nvidia-driver-96.43.07 NVidia graphics card binary drivers for hardware  
OpenGL ren

___
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: Re: Performance benchmarks pitting FreeBSD against Windows

2008-12-05 Thread af300wsm

On Dec 5, 2008 9:34am, Bruce Cran [EMAIL PROTECTED] wrote:

On Fri, 05 Dec 2008 04:30:20 +

[EMAIL PROTECTED] wrote:



 I'm just curious to see how it looks for my own sanity's sake. At

 work, someone got the grand idea that we should move to Windoze

 embedded (CE and XPe) and it's been quite discouraging I must say,

 though I must admit, it's nice to actually know why Windows is ugly

 underneath. From a programming perspective, it's just not simplistic.

 Anyway, I digress, I'm just curious to see how things compare to

 Windows on similar benchmarks to what Kris provided if its ever been

 done.





The userland win32 API might be rather unpleasant but I was surprised

to learn to driver interface in the kernel is actually quite nice, and

isn't too dissimilar to FreeBSD in some ways. In

terms of performance Windows-based machines have made it into the

Top500 list of supercomputers, so at the high end performance must be

acceptable at least.




Very interesting. To be fair, programming is programming. It's not as if a  
struct suddenly became an int because we're using windows. You've just got  
to learn to do it differently. It's just irritating that there's not a  
fork() in windows, VERY irritating. Other things are quite irritating too,  
but like I said, it's not as if C++ suddenly became something different  
because I was working in windows.


To the list, I must say that I wasn't looking to start a holy war. Before  
posting I thought that the message was properly worded to find out if it  
had ever been done and if the results could be easily accessed. I found the  
result sets from Kris quite interesting comparing FreeBSD X against Linux  
X, DragonFlyBSD X and so forth. It was just interesting and I was wondering  
how similar benchmarks would compare. I didn't meant to set anyone off.


Lastly, I think I may have left the impression that perhaps where I work  
they switched from FreeBSD to Windows. Had this been the case, the  
transition would have been far more discouraging to me. FreeBSD is my  
preferred OS. I too prefer the using of my brain to more brain-dead  
OSs. This fact is actually one of the irritants with using Windows now at  
work. I dislike that Visual Studio thinks it knows better than I do and  
that everything is so abstracted that it's hard to get down the ground  
level of what you're doing. And although IntelliSense is nice, still, give  
me gvim any day of the week and twice on Sunday.


Andy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


cups issue, unsupported format

2008-12-05 Thread af300wsm

Hi,

I'm working on getting cups working and I've installed the hplip port and  
the cups program used that to install the printer. At least, there was  
an HPLIP in a list in one of the pages during the setup. My printer is an  
old HP LaserJet 4+ which I've connected through the parallel port. My URI  
for the printer is parallel:/dev/lp0. When I went to do the test page I got  
this error, Unsupported format 'application/postscript'. Here's the  
problem, I chose a driver which, though I don't remember the full string in  
cups, was a 4/5 PCL driver. So, why is it trying to print using postscript?


Andy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Performance benchmarks pitting FreeBSD against Windows

2008-12-04 Thread af300wsm

Hi,

I don't even know if this has been done before, nor do I know for sure if  
it's a sound comparison. Never the less, someone posted, in response to  
someone else here just a few days ago, some very nice benchmarks provided  
by Kris ?Kenneway? I could be wrong on the last name, it just seems to me  
that's a last name I've seen with Kris frequently (my apologies Kris if I'm  
wrong). Using the URL that the other poster, posted, I poked around the  
other *.html files in that directory, but did not find any with FreeBSD  
pitted against windows.


I'm just curious to see how it looks for my own sanity's sake. At work,  
someone got the grand idea that we should move to Windoze embedded (CE and  
XPe) and it's been quite discouraging I must say, though I must admit, it's  
nice to actually know why Windows is ugly underneath. From a programming  
perspective, it's just not simplistic. Anyway, I digress, I'm just curious  
to see how things compare to Windows on similar benchmarks to what Kris  
provided if its ever been done.


Thanks,
Andy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Re: gmirror and the UFS file systems

2008-11-28 Thread af300wsm

is your partition size multiply of fragment size without remainder?



if not (quite a big chance) at least one sector at the end is unused and  

never be.


so go on, but then fix disklabel, as c partition is 1 sector smaller.



of course - boot from livecd to do this.



Thanks both Mel and Wojciech for the advice.

Andy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Re: Installing gimp from ports, need a GTK+, what port is it

2008-11-25 Thread af300wsm

On Nov 23, 2008 8:38pm, Michael Johnson [EMAIL PROTECTED] wrote:




The version of gtk you have installed is too old. Upgrade to the latest  

version of x11-toolkits/gtk2


Michael




Thanks again. Last night I upgraded GTK 2.something using portupgrade and  
that was the last package the gimp was complaining about. gimp completed  
the install last night just fine. I was confused about what was the right  
package because the gimp install was saying that the gtk+ package wasn't  
present, but the only thing listed as gtk+ was a theme management package  
when doing a pkg_info.


I'm hoping for some clarification on something. Is GTK+ a subset of GTK  
2.x? Are they one in the same? If so, why are they known by two different  
names if they are the same thing?


Andy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Re: Installing gimp from ports, need a GTK+, what port is it

2008-11-24 Thread af300wsm

On Nov 23, 2008 8:38pm, Michael Johnson [EMAIL PROTECTED] wrote:




The version of gtk you have installed is too old. Upgrade to the latest  

version of x11-toolkits/gtk2


Michael




Interesting that the new google home page plug-in (I guess) for google  
mail doesn't have a reply-to-all button for the second response, and  
presumably further, to the original mail. So, I'm responding to both.


Thank you Michael, that's exactly what I was looking for. I didn't know  
that x11-toolkits/gtk2 is synonymous with GTK+. That was the piece I was  
missing.


To RW, I didn't want to rebuild KDE yet so that's why I hadn't updated all  
of the installed ports collection as yet. I think I agree with you. At  
least, with what I'm going through right now, it would be much easier to  
have updated the entire tree first.


Thanks again to both.

Andy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How to upgrade to KDE4

2008-11-05 Thread af300wsm

Hi,

I'm using FreeBSD 6.2-p11 (yes, I've got to update). A couple days ago I  
updated my ports tree and went to update kde 3.5.6. At first I did a  
portupgrade on the KDE meta-port but, ironically, the only thing that  
updated was the meta-port (I did a portupgrade -r too). I should also say  
that I first looked in /usr/ports/UPDATING and there weren't any particular  
instructions (that I could find) for updating KDE. I opened the file in vim  
and searched for kde and KDE. On both searches, nothing regarding the  
specific update of 3.5.x to 4.x was mentioned.


I'm having some problems updating the kdebase package now (since the  
meta-port didn't update the whole thing, I'm updating individually to  
3.5.10). It's having some compile time issues, something about an  
identifier not existing in a particular namespace or some-such error, I've  
got to look into it further. However, since I'm going through this  
loathsome process anyway, would it be advisable to just do a deinstall of  
the kde system and cd to /usr/ports/x11/kde (I think that's where it is)  
and install 4.x (if that's even how to do it)? I would really prefer to run  
4.x.


Thanks for any help,
Andy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Re: How to upgrade to KDE4

2008-11-05 Thread af300wsm

On Nov 5, 2008 8:24am, Manolis Kiagias [EMAIL PROTECTED] wrote:

[EMAIL PROTECTED] wrote:


Hi,



I'm using FreeBSD 6.2-p11 (yes, I've got to update). A couple days ago I  
updated my ports tree and went to update kde 3.5.6. At first I did a  
portupgrade on the KDE meta-port but, ironically, the only thing that  
updated was the meta-port (I did a portupgrade -r too). I should also say  
that I first looked in /usr/ports/UPDATING and there weren't any particular  
instructions (that I could find) for updating KDE. I opened the file in vim  
and searched for kde and KDE. On both searches, nothing regarding the  
specific update of 3.5.x to 4.x was mentioned.




I'm having some problems updating the kdebase package now (since the  
meta-port didn't update the whole thing, I'm updating individually to  
3.5.10). It's having some compile time issues, something about an  
identifier not existing in a particular namespace or some-such error, I've  
got to look into it further. However, since I'm going through this  
loathsome process anyway, would it be advisable to just do a deinstall of  
the kde system and cd to /usr/ports/x11/kde (I think that's where it is)  
and install 4.x (if that's even how to do it)? I would really prefer to run  
4.x.




Thanks for any help,

Andy




The Handbook has been recently updated with instructions on installing /  

running KDE4:




http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-wm.html



It is also possible to keep both versions installed (since KDE4 installs  

in a different directory).


If you decide to go along this path, I would advise you to set your PATH  
so that /usr/local/kde4/bin is before /usr/local/bin (when running KDE4).  
This will prevent inadvertently running kde3.x executables in 4.x.




There has been some discussion on the list concerning the usability of  
KDE4. FWIW, it worked for me but I am not a KDE person anyway (and have  
only used 3.X a couple of times) and don't need most of the features of  
such a desktop. YMMV.




That is fantastic, thanks.

Andy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Re: Authentication with SSH using public keys

2008-11-04 Thread af300wsm



 Following onto the e-mail I made before, apparently that little  

permissions


 difference for the directory, .ssh, was the problem. Changing it to 644  

has,


 apparently, fixed the problem.



Cool :) . I learnt this from my first SSH public-key authentication

configuration ;)



Ashish

--



Of course I meant to say that changing the perms to 755 fixed it, not 644.  
I'm still reviewing the docs but I think that this directory could be made  
700, is that correct? Or, at the least, 750?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]