man mailcap

2013-03-12 Thread Sabine Baer
Hello,
some time ago I upgraded from 7.6 to 8.3.
Now I see that there's no manpage for mailcap anymore.
I've got a backup of the old manpage, but why does it lack on 8.n?

My .mailcap files do work but I would add something and was in need of
a little help from the manpage.

$apropos mailcap gives only 
|run-mailcap(1), view(1), see(1), edit(1), compose(1), print(1) -
|execute programs via entries in the mailcap file Mail::Cap(3)
|- Parse mailcap files
which is a crap because eg 'view' is some kind of 'vim'.

Sabine

-- 
"Wissenschaftlich betrachtet wird das Häuschen kaputt sein."
(Th. Waschke in dswc auf die Frage eines wissenschftlich
Interessierten, was mit einem Holzhaus, in dem eine Atombombe
gezuendet wird, passiere.)
___
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 9.1 kernel compile with Physical Address Extension

2013-03-12 Thread Justin Crawford

Hi,

I have been trying to compile the 9.1 kernel for an older system which 
has PAE support, unfortunately because -Werror is enabled, I cannot 
complete the compile (see warnings below). I am running a fresh install 
of FreeBSD 9.1-RELEASE. I can successfully compile the kernel without PAE.


Kernel config: http://pastebin.com/5mzQagKM

cc1: warnings being treated as errors
/usr/src/sys/cam/ctl/ctl_frontend_cam_sim.c: In function 'cfcs_datamove':
/usr/src/sys/cam/ctl/ctl_frontend_cam_sim.c:423: warning: cast from 
pointer to integer of different size [-Wpointer-to-int-cast]
/usr/src/sys/cam/ctl/ctl_frontend_cam_sim.c:449: warning: cast to 
pointer from integer of different size [-Wint-to-pointer-cast]

*** [ctl_frontend_cam_sim.o] Error code 1

I am new to the mailing lists (and mailing lists in general) so let me 
know if you need any more information.

Thanks
___
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: Using bsdinstall to create MBR

2013-03-12 Thread Doug Hardie

On 12 March 2013, at 18:50, Warren Block  wrote:

> On Tue, 12 Mar 2013, Doug Hardie wrote:
> 
>> I am trying to use bsdinstall to create a MBR partitioned disk.  I can set 
>> the partition type to MBR fine.  However, when trying to add in slices I 
>> can't figure out what to enter for the parameters. Everything I have tried 
>> gives an error message.  I wanted one for / and one for swap.  How do I 
>> create the two slices?
> 
> http://forums.freebsd.org/showpost.php?p=149210&postcount=13
> 

Thank you .  That shows the correct procedure.  I never would have guessed 
that.  It works just fine.  This needs to be included in the handbook.
___
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: Using bsdinstall to create MBR

2013-03-12 Thread Erich Dollansky
Hi,

On Tue, 12 Mar 2013 18:36:15 -0700
Doug Hardie  wrote:

> I am trying to use bsdinstall to create a MBR partitioned disk.  I
> can set the partition type to MBR fine.  However, when trying to add
> in slices I can't figure out what to enter for the parameters.
> Everything I have tried gives an error message.  I wanted one for /
> and one for swap.  How do I create the two slices?
> 
I would recommend gpart. You can find out more here:

http://www.wonkity.com/~wblock/docs/html/disksetup.html

Erich
> ___
> 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"


Re: Using bsdinstall to create MBR

2013-03-12 Thread Warren Block

On Tue, 12 Mar 2013, Doug Hardie wrote:

I am trying to use bsdinstall to create a MBR partitioned disk.  I can 
set the partition type to MBR fine.  However, when trying to add in 
slices I can't figure out what to enter for the parameters. 
Everything I have tried gives an error message.  I wanted one for / 
and one for swap.  How do I create the two slices?


http://forums.freebsd.org/showpost.php?p=149210&postcount=13
___
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: Using bsdinstall to create MBR

2013-03-12 Thread Polytropon
On Tue, 12 Mar 2013 18:36:15 -0700, Doug Hardie wrote:
> I am trying to use bsdinstall to create a MBR partitioned disk. 
> I can set the partition type to MBR fine.  However, when trying
> to add in slices I can't figure out what to enter for the parameters.
> Everything I have tried gives an error message.  I wanted one for /
> and one for swap.  How do I create the two slices?

In what step of 2.7.2 (Manual Partitioning) do you experience
problems? Can you provide the text of the error message?

http://www.freebsd.org/doc/handbook/bsdinstall-partitioning.html

This chapter covers GPT and MBR partitioning with the new
bsdinstall program.

If you don't have success using the installer, just try to use
the command line's default tools. With gpart you can create
GPT and MBR partitioning, but you can also use the "old-fashioned"
tools like fdisk and disklabel / bsdlabel. You should be able to
access them via the shell.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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 bsdinstall to create MBR

2013-03-12 Thread Doug Hardie
I am trying to use bsdinstall to create a MBR partitioned disk.  I can set the 
partition type to MBR fine.  However, when trying to add in slices I can't 
figure out what to enter for the parameters.  Everything I have tried gives an 
error message.  I wanted one for / and one for swap.  How do I create the two 
slices?

___
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: snd_hda and front headphones jack

2013-03-12 Thread Joe Altman
On Tue, Mar 12, 2013 at 08:55:49AM -0500, Mark Felder wrote:
> Hi guys,
> 
> I seem to be having problems getting my front headphones jack to work.
>
 
> 
> If I am looking at this right I believe I need to set nid25 to as=1 which  
> matches the nid31 Speaker and probably also set seq=15. However, this  
> doesn't seem to be working. Am I overlooking something obvious?

In XMMS, which is what I use, I have to choose the Front Analog (pcm 2)
via Options => Preferences => Configure => Output Plugin for the front
headphone jack. Normally, I have it set to Rear Digital (pcm 3) for
speakers.

HTH, 

Joe
___
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: FBSD 9.1.0 - make buildworld running for 1.5 hours???

2013-03-12 Thread ill...@gmail.com
On 7 March 2013 08:09, George Kontostanos  wrote:
> On Sat, Mar 2, 2013 at 12:38 AM, Sergio de Almeida Lenzi
>  wrote:
>> Em Sex, 2013-03-01 às 12:29 -0600, Paul Schmehl escreveu:
>>
>>> I'm running make buildworld on a quad processor quad core box with 16GB of
>>> ram, and it's been running already for more than an hour and a half.  Has
>>> world really gotten that huge?  Good lord!  Good thing we have
>>> freebsd-update!
>>>
>>
>> Perhaps you did not use the -j option on the make buildworld...
>>
>>
>> env NOCLEAN=yes DESTDIR= make -j 4 buildworld
>>
>> without the -j option it runs on only one processor and can take up to 5
>> hours...
>>
>>
>>
>> Sergio
...
>
> You can easily go to -j16 if the box is not doing anything else.

With 16 cores I'll bet the bottleneck is IO.
If it were me, I'd do the build in a tmpfs(5).

-- 
--
___
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: configure recursively and build question

2013-03-12 Thread Lowell Gilbert
Istvan Gabor  writes:

> As there are no compiled FreeBSD 9.1 packages for pkg_tools I decided to 
> build them.
> Last I started to build kde3. First I issued make configure-recursive in
> /usr/ports/x11/kde3, then make install clean, and left the computer for 
> overnight to work.
> I expected a successful build by the morning but instead I found a screen 
> requiring some
> config options (for apache). I selected the options and the build went on.
> But later other config windows came up, so far for mysqlclient, sane-backends,
> tk, tcl, libxine and sdl. So my question are:
>
> What is configure-recursive good for then? I thought it is for preventing 
> interactions
> during the build process. Ho can I really configure everything in one step 
> and leave
> the computer alone?

First of all, I think you mean config-recursive. 

Second, config-recursive only does the configuration of the port
options.

Third, handling of ports options has recently been changed to a new
system.  See ; intended
for porters but revealing much internal workings. There may be some bugs
(I think I've noticed a few but haven't looked much into it.  You might
want to ask the ports list about that.

Fourth (and, you'll be glad to hear, finally) some ports are interactive
for reasons beyond options. See the manual for ports(7), noting the
environment variables INTERACTIVE and BATCH.

> Second, after I've done a configure-recursive, how can I start it over from 
> scratch in case
> I want to change some config option? If I reissue make configure-recursive,
> I get only no configuration needed messages.

If you really want to start from scratch, you can use
"rmconfig-recursive" on the dependent port. Or to start *all* ports from
scratch, remove the contents of /var/db/ports/.

But generally you won't want to do that. What you really want is most
likely to be for one particular port, or for its full tree of
dependencies. In the first case, go to that port's directory and just do
a "make config" there. In the second case, go to that port's directory
and use "make showconfig-recursive" to figure out which ports actually
need to be changed.

I hope that helps.
___
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: iconv issue (Re: Pan-0.139 won't compile)

2013-03-12 Thread Walter Hurry
On Tue, 12 Mar 2013 15:50:10 -0400, Lowell Gilbert wrote:

> And it's already been fixed.

Well done, and thanks!

If you look at my headers, you'll see I'm using it now.


___
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: Pan-0.139 won't compile

2013-03-12 Thread Walter Hurry
On Tue, 12 Mar 2013 18:17:33 +0100, Paul van der Zwan wrote:

> On 12 Mar 2013, at 0:41 , Walter Hurry  wrote:
> 
>> Trying to upgrade /usr/ports/news/pan I get this:
>> ___
>> mime-utils.cc: In function 'char* pan::__g_mime_iconv_strndup(void*,
>> const char*, size_t, const char*)':
>> mime-utils.cc:80: error: invalid conversion from 'char**' to 'const
>> char**'
>> mime-utils.cc:80: error:   initializing argument 2 of 'size_t libiconv
>> (void*, const char**, size_t*, char**, size_t*)'
>> gmake[3]: *** [mime-utils.o] Error 1 gmake[3]: Leaving directory
>> `/usr/ports/news/pan/work/pan-0.139/pan/ usenet-utils'
>> gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory
>> `/usr/ports/news/pan/work/pan-0.139/pan' gmake[1]: *** [all-recursive]
>> Error 1 gmake[1]: Leaving directory
>> `/usr/ports/news/pan/work/pan-0.139' gmake: *** [all] Error 2 ***
>> [do-build] Error code 1
>> 
>> Stop in /usr/ports/news/pan.
>> *** [build] Error code 1
>> ___
>> 
>> What should I do next?
> 
> I ran into the same problem. I tried removing the cast on line 80 and
> now it compiles ( and seems to work, no crashes so far.)

Yes that works, thanks. Thanks also to Lowell Gilbert for his assistance, 
and to those concerned with identifying the patch (so quickly, too).

http://www.freebsd.org/cgi/query-pr.cgi?pr=176887

Good work all round!


___
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: iconv issue (Re: Pan-0.139 won't compile)

2013-03-12 Thread Lowell Gilbert
And it's already been fixed.
___
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: iconv issue (Re: Pan-0.139 won't compile)

2013-03-12 Thread Lowell Gilbert
Lowell Gilbert  writes:

> I'll put in a PR, because I won't have a chance to look more at this
> today. 

ports/176887
___
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"


iconv issue (Re: Pan-0.139 won't compile)

2013-03-12 Thread Lowell Gilbert
Walter Hurry  writes:

> On Tue, 12 Mar 2013 09:40:40 -0400, Lowell Gilbert wrote:
>
>> Walter Hurry  writes:
>> 
>>> Trying to upgrade /usr/ports/news/pan I get this:
>>> ___
>>> mime-utils.cc: In function 'char* pan::__g_mime_iconv_strndup(void*,
>>> const char*, size_t, const char*)':
>>> mime-utils.cc:80: error: invalid conversion from 'char**' to 'const
>>> char**'
>>> mime-utils.cc:80: error:   initializing argument 2 of 'size_t libiconv
>>> (void*, const char**, size_t*, char**, size_t*)'
>>> gmake[3]: *** [mime-utils.o] Error 1 gmake[3]: Leaving directory
>>> `/usr/ports/news/pan/work/pan-0.139/pan/ usenet-utils'
>>> gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory
>>> `/usr/ports/news/pan/work/pan-0.139/pan' gmake[1]: *** [all-recursive]
>>> Error 1 gmake[1]: Leaving directory
>>> `/usr/ports/news/pan/work/pan-0.139' gmake: *** [all] Error 2 ***
>>> [do-build] Error code 1
>>>
>>> Stop in /usr/ports/news/pan.
>>> *** [build] Error code 1
>>> ___
>>>
>>> What should I do next?
>> 
>> Hmm. Interesting; looks like a compiler issue (the error strikes me as
>> likely bogus). What compiler were you using?
>
> Well, this is 9.1-RELEASE on amd64, and I'm using the default, which I 
> believe is the cc1plus in gcc-4.2.1

On closer look, the error isn't bogus, but looks like it results from an
unnecessary pair of type casts. There's nothing in the autotools setups
about iconv, nor are there any patches in the port, so I'm not seeing an
obvious candidate for why this broke. 

My guess would be that this works if built with the base iconv, because
the test builds must have worked. That is not guaranteed, because the port
changes were both updating the version of pan and updating glib/gtk
updates as part of a wider set of updates. 

I'll put in a PR, because I won't have a chance to look more at this
today. 

Be well.
___
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: Pan-0.139 won't compile

2013-03-12 Thread Paul van der Zwan

On 12 Mar 2013, at 0:41 , Walter Hurry  wrote:

> Trying to upgrade /usr/ports/news/pan I get this:
> ___
> mime-utils.cc: In function 'char* pan::__g_mime_iconv_strndup(void*, 
> const char*, size_t, const char*)':
> mime-utils.cc:80: error: invalid conversion from 'char**' to 'const 
> char**'
> mime-utils.cc:80: error:   initializing argument 2 of 'size_t libiconv
> (void*, const char**, size_t*, char**, size_t*)'
> gmake[3]: *** [mime-utils.o] Error 1
> gmake[3]: Leaving directory `/usr/ports/news/pan/work/pan-0.139/pan/
> usenet-utils'
> gmake[2]: *** [all-recursive] Error 1
> gmake[2]: Leaving directory `/usr/ports/news/pan/work/pan-0.139/pan'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/usr/ports/news/pan/work/pan-0.139'
> gmake: *** [all] Error 2
> *** [do-build] Error code 1
> 
> Stop in /usr/ports/news/pan.
> *** [build] Error code 1
> ___
> 
> What should I do next?

I ran into the same problem. I tried removing the cast on line 80 and now it 
compiles ( and seems to work, no crashes so far.)

Paul


___
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: Error: shared library "mysqlclient.18" does not exist

2013-03-12 Thread Jeff Tipton

On 03/12/2013 17:03, Greg Larkin wrote:
Hi Jeff, Good news and thanks for the update. The maia Makefile seems 
to imply that RAR support can be provided either by archivers/rar or 
archivers/unrar, and if so, those options should likely be exclusive. 
I found some problems related to detecting the MySQL dependencies in 
general, too. I'll create a PR to fix these issues. In the mean time, 
can you test whether maia does what you want with just the UNRAR 
option enabled? Thank you, Greg -BEGIN PGP SIGNATURE- Version: 
GnuPG v1.4.13 (Darwin) Comment: Using GnuPG with Thunderbird - 
http://www.enigmail.net/ 
iEYEARECAAYFAlE/Q8kACgkQ0sRouByUApDjIwCgqujnwXRPxrNq4/ARjK6Tv98m 
5qsAn37lrANQqCp9op1Y4WPZXz1gcYn/ =NQdO -END PGP SIGNATURE- 
___ 
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" 

Hi Greg,

Thank you very much, your really helped me. Ok, I think I will test Maia 
with RARed eicar; only it will still take some time until I finish the 
whole mailsystem. I'll report back as soon as I get to the point of testing.


Jeff
___
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"


configure recursively and build question

2013-03-12 Thread Istvan Gabor
Hello:

As there are no compiled FreeBSD 9.1 packages for pkg_tools I decided to build 
them.
Last I started to build kde3. First I issued make configure-recursive in
/usr/ports/x11/kde3, then make install clean, and left the computer for 
overnight to work.
I expected a successful build by the morning but instead I found a screen 
requiring some
config options (for apache). I selected the options and the build went on.
But later other config windows came up, so far for mysqlclient, sane-backends,
tk, tcl, libxine and sdl. So my question are:

What is configure-recursive good for then? I thought it is for preventing 
interactions
during the build process. Ho can I really configure everything in one step and 
leave
the computer alone?

Second, after I've done a configure-recursive, how can I start it over from 
scratch in case
I want to change some config option? If I reissue make configure-recursive,
I get only no configuration needed messages.

Thanks,

Istvan

___
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: Error: shared library "mysqlclient.18" does not exist

2013-03-12 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 3/11/13 6:51 PM, Jeff Tipton wrote:
> On 03/12/2013 00:36, Greg Larkin wrote: On 3/11/13 6:21 PM, Jeff
> Tipton wrote:
 On 03/12/2013 00:07, Greg Larkin wrote: On 3/11/13 5:42 PM,
 Jeff Tipton wrote:
>>> On 03/11/2013 21:34, Jeff Tipton wrote:
 On 03/11/2013 21:00, Greg Larkin wrote:
>>> On 3/11/13 2:47 PM, Jeff Tipton wrote:
>>> On 03/11/2013 20:31, Greg Larkin wrote: On
>>> 3/11/13 2:10 PM, Jeff Tipton wrote:
>> On 03/11/2013 20:00, Greg Larkin wrote:
>> On 3/11/13 12:59 PM, Jeff Tipton wrote:
> Hi,
> 
> I'm trying to set up security/maia,
> and this is the error message I
> get:
> 
> Error: shared library
> "mysqlclient.18" does not exist
> 
> Of course, the library does exist
> :(
> 
> # ls /usr/local/lib/mysql/ 
> libmysqlclient.a
> libmysqlclient_r.a libmysqld.a
> libmysqlclient.so 
> libmysqlclient_r.so
> libmysqlservices.a 
> libmysqlclient.so.18 
> libmysqlclient_r.so.18 plugin
> 
> I googled about this, and I found
> 3 things to try but none of that
> was helpful here:
> 
> 1. make a link: ln -s 
> /usr/local/lib/mysql/libmysqlclient.so.18
>
>
>
> 
/usr/local/lib/libmysqlclient.so.18
> 2. Check the root's umask and the 
> directory permissions if they are 
> correct, and they are: # umask 22
> #ll /usr/local/lib |grep mysql
> lrwxr-xr-x   1 root wheel 41 Mar 11
> 16:25 libmysqlclient.so.18@ -> 
> /usr/local/lib/mysql/libmysqlclient.so.18
>
>
>
> 
drwxr-xr-x 3 root wheel   512 Mar 11 16:22
> mysql/
> 
> # ll /usr/local/lib/mysql/ total
> 27276 -rw-r--r-- 1 root wheel
> 4844270 Mar 11 16:17
> libmysqlclient.a lrwxr-xr-x  1
> root wheel 20 Mar 11 16:22
> libmysqlclient.so@ ->
> libmysqlclient.so.18 -rwxr-xr-x 1
> root wheel 3364688 Mar 11 16:22 
> libmysqlclient.so.18* lrwxr-xr-x  1
> root wheel 16 Mar 11 16:22
> libmysqlclient_r.a@ ->
> libmysqlclient.a lrwxr-xr-x  1
> root wheel17 Mar 11 16:22 
> libmysqlclient_r.so@ -> 
> libmysqlclient.so lrwxr-xr-x  1
> root wheel17 Mar 11 16:22 
> libmysqlclient_r.so.18@ -> 
> libmysqlclient.so -rw-r--r-- 1
> root wheel 20019340 Mar  7 15:08
> libmysqld.a -rw-r--r--  1 root
> wheel 4598 Mar 11 16:17
> libmysqlservices.a drwxr-xr-x  2 
> root  wheel 512 Mar  8 19:01
> plugin/
> 
> 3. Update the ports tree. Ports
> tree is up to date.
> 
> Could someone, please, suggest what
> I could try to solve this?
> 
> Thanks, Jeff
>> Hi Jeff,
>> 
>> At what point do you receive the error
>> message? Is it when you attempt to run
>> the executable built by the port?  If so,
>> please run the ldd command against the
>> executable and post the output back
>> here.
>> 
>> Thank you, Greg
>> 
>> 
>> -- Greg Larkin
>> 
>> http://www.FreeBSD.org/   - The
>> Power To Serve
>> http://www.sourcehosting.net/ - 
>> Ready. Set. Code.
>> http://twitter.com/cpucycle/ - Follow
>> you, follow me Thank you, Greg, for the
>> reply. I get the error message while 
>> compiling security/maia port. mysql
>> client itself is working ok, I can
>> connect to my database server.
>> 
>> ldd output: # ldd /usr/local/bin/mysql 
>> /usr/local/bin/mysql: libreadline.so.8
>> => /lib/libreadline.so.8 (0x800ab5000)
>> libz.so.6 => /lib/libz.so.6 (0x800cf5000)
>> libstdc++.so.6 => /usr/lib/libstdc++.so.6
>> (0x800f09000) libm.so.5 => /lib/libm.so.5
>> (0x801219000) libgcc_s.so.1 =>
>> /lib/libgcc_s.so.1 (0x80143a00

Re: Pan-0.139 won't compile

2013-03-12 Thread Walter Hurry
On Tue, 12 Mar 2013 09:40:40 -0400, Lowell Gilbert wrote:

> Walter Hurry  writes:
> 
>> Trying to upgrade /usr/ports/news/pan I get this:
>> ___
>> mime-utils.cc: In function 'char* pan::__g_mime_iconv_strndup(void*,
>> const char*, size_t, const char*)':
>> mime-utils.cc:80: error: invalid conversion from 'char**' to 'const
>> char**'
>> mime-utils.cc:80: error:   initializing argument 2 of 'size_t libiconv
>> (void*, const char**, size_t*, char**, size_t*)'
>> gmake[3]: *** [mime-utils.o] Error 1 gmake[3]: Leaving directory
>> `/usr/ports/news/pan/work/pan-0.139/pan/ usenet-utils'
>> gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory
>> `/usr/ports/news/pan/work/pan-0.139/pan' gmake[1]: *** [all-recursive]
>> Error 1 gmake[1]: Leaving directory
>> `/usr/ports/news/pan/work/pan-0.139' gmake: *** [all] Error 2 ***
>> [do-build] Error code 1
>>
>> Stop in /usr/ports/news/pan.
>> *** [build] Error code 1
>> ___
>>
>> What should I do next?
> 
> Hmm. Interesting; looks like a compiler issue (the error strikes me as
> likely bogus). What compiler were you using?

Well, this is 9.1-RELEASE on amd64, and I'm using the default, which I 
believe is the cc1plus in gcc-4.2.1

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


snd_hda and front headphones jack

2013-03-12 Thread Mark Felder

Hi guys,

I seem to be having problems getting my front headphones jack to work.  
I've read the snd_hda man page and perhaps I'm doing this wrong, but  
here's my setup:



dev.hdaa.4.%desc: Conexant CX20641 Audio Function Group
dev.hdaa.0.nid5_original: 0x18560010 as=1 seq=0 device=Digital-out  
conn=Jack ctype=Digital loc=0x18 color=Unknown misc=0
dev.hdaa.1.nid5_original: 0x18560010 as=1 seq=0 device=Digital-out  
conn=Jack ctype=Digital loc=0x18 color=Unknown misc=0
dev.hdaa.2.nid5_original: 0x18560010 as=1 seq=0 device=Digital-out  
conn=Jack ctype=Digital loc=0x18 color=Unknown misc=0
dev.hdaa.3.nid5_original: 0x18560010 as=1 seq=0 device=Digital-out  
conn=Jack ctype=Digital loc=0x18 color=Unknown misc=0
dev.hdaa.4.nid24_original: 0x40f001f0 as=15 seq=0 device=Other conn=None  
ctype=Unknown loc=0x00 color=Unknown misc=1
dev.hdaa.4.nid25_original: 0x02214040 as=4 seq=0 device=Headphones  
conn=Jack ctype=1/8 loc=Front color=Green misc=0
dev.hdaa.4.nid26_original: 0x02a19020 as=2 seq=0 device=Mic conn=Jack  
ctype=1/8 loc=Front color=Pink misc=0
dev.hdaa.4.nid27_original: 0x01a1903e as=3 seq=14 device=Mic conn=Jack  
ctype=1/8 loc=Rear color=Pink misc=0
dev.hdaa.4.nid28_original: 0x01014010 as=1 seq=0 device=Line-out conn=Jack  
ctype=1/8 loc=Rear color=Green misc=0
dev.hdaa.4.nid29_original: 0x01813030 as=3 seq=0 device=Line-in conn=Jack  
ctype=1/8 loc=Rear color=Blue misc=0
dev.hdaa.4.nid30_original: 0x40f001f0 as=15 seq=0 device=Other conn=None  
ctype=Unknown loc=0x00 color=Unknown misc=1
dev.hdaa.4.nid31_original: 0x9217011f as=1 seq=15 device=Speaker  
conn=Fixed ctype=Analog loc=0x12 color=Unknown misc=1
dev.hdaa.4.nid32_original: 0x40f001f0 as=15 seq=0 device=Other conn=None  
ctype=Unknown loc=0x00 color=Unknown misc=1
dev.hdaa.4.nid33_original: 0x40f001f0 as=15 seq=0 device=Other conn=None  
ctype=Unknown loc=0x00 color=Unknown misc=1
dev.hdaa.4.nid38_original: 0x40f001ff as=15 seq=15 device=Other conn=None  
ctype=Unknown loc=0x00 color=Unknown misc=1



If I am looking at this right I believe I need to set nid25 to as=1 which  
matches the nid31 Speaker and probably also set seq=15. However, this  
doesn't seem to be working. Am I overlooking something obvious?



Thanks
___
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: Pan-0.139 won't compile

2013-03-12 Thread Lowell Gilbert
Walter Hurry  writes:

> Trying to upgrade /usr/ports/news/pan I get this:
> ___
> mime-utils.cc: In function 'char* pan::__g_mime_iconv_strndup(void*, 
> const char*, size_t, const char*)':
> mime-utils.cc:80: error: invalid conversion from 'char**' to 'const 
> char**'
> mime-utils.cc:80: error:   initializing argument 2 of 'size_t libiconv
> (void*, const char**, size_t*, char**, size_t*)'
> gmake[3]: *** [mime-utils.o] Error 1
> gmake[3]: Leaving directory `/usr/ports/news/pan/work/pan-0.139/pan/
> usenet-utils'
> gmake[2]: *** [all-recursive] Error 1
> gmake[2]: Leaving directory `/usr/ports/news/pan/work/pan-0.139/pan'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/usr/ports/news/pan/work/pan-0.139'
> gmake: *** [all] Error 2
> *** [do-build] Error code 1
>
> Stop in /usr/ports/news/pan.
> *** [build] Error code 1
> ___
>
> What should I do next?

Hmm. Interesting; looks like a compiler issue (the error strikes me as
likely bogus). What compiler were you using?
___
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: Problems Printing

2013-03-12 Thread Matthias Apitz

I have checked your logs of last night and I have a few questions:

Can you please show the file /usr/local/etc/cups/ppd/PIXMA.ppd when the
printer PIXMA is configured as Generic PS printer?

The log says, that CUPS is starting a filter chain of:

testtops-->pstops-->pstoraster-->rastertogutenprint-->backend/usb

Why it is using pstoraster and rastertogutenprint if the printer should
be a Generic PS one? It should just handover the PS output of testtops
to the backend/usb? Is this visible in the above PPD file?

The chain is failing in:

> "libgnutls.so.47" not found, required by "rastertogutenprint.5.2" 
>   
> D [10/Mar/2013:14:18:04 -0500] [Job 12] Shared object 
>   
> "libgnutls.so.47" not found, required by "espgs"  

that's why it does not print anything, this is clear. But why it wants
to use this?

matthias
-- 
Sent from my FreeBSD netbook

Matthias Apitz   |  - No system with backdoors like Apple/Android
E-mail: g...@unixarea.de |  - Never being an iSlave
WWW: http://www.unixarea.de/ |  - No proprietary attachments, no HTML/RTF in 
E-mail
phone: +49-170-4527211   |  - Respect for open standards
___
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"