Problem with pkgconf and glib.

2012-07-30 Thread Christopher Hilton
I'm trying to build emacs with gtk2 on my build box and I'm running into 
trouble with pkgconf from /usr/ports/devel/pkgconf. The build process dies in 
devel/gobject-introspection and complains that it cannot find header files for 
gio-unix-2.0. From what I can see the problem looks like the fact that pkgconf 
is returning the wrong include path for these header files, running:

 # pkg-config --variable=includedir gio-unix-2.0 returns:

 /usr/local/include/usr/local/include/usr/local/include

I'm not sure if this is part of the problem but it appears that pkgconf returns 
one instance of /usr/local/include for each dependency listed in the package. 
E.g.

 # pkg-config --variable=includedir glib-2.0 

returns: /usr/local/include

To repeat this problem I started with a fresh FreeBSD virtual machine built 
from 8-STABLE, an empty /usr/local tree and an empty /var/db/pkg directory. 
Then I traversed to /usr/ports/devel/gobject-introspection and did:

 # make install

Any help would be appreciated.

-- Chris
 
   


Chris Hilton  e: chris /at/ vindaloo /dot/ com 
 
All I was doing was trying to get home from work! 
 -- Rosa Parks

___
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


Resolvconf with FreeBSD jails

2012-07-30 Thread Grzegorz Junka
FreeBSD 9 uses resolvconf tool to manage the resolv.conf file. How can I 
make it working with FreeBSD jails?


In my case I am moving my laptop between networks and every time I boot 
FreeBSD it gets assigned a different DNS server. The file 
/etc/resolv.conf gets updated but the same file in each of the jails is 
not. I need resolv.conf in each jail in order for that jail to connect 
to the external network.


I tried to make a link from resolv.conf in a jail to the same file in 
the host system, but inside jail the link doesn't work. I could copy the 
resolv.conf every time I boot FreeBSD after the DHCP obtained new DNS 
and updated resolv.conf but before ezjail starts any of the jails, but 
where I would need to put such copying?


___
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: Problem with pkgconf and glib.

2012-07-30 Thread Jeff Tipton

On 07/30/2012 17:19, Christopher Hilton wrote:

I'm trying to build emacs with gtk2 on my build box and I'm running into 
trouble with pkgconf from /usr/ports/devel/pkgconf. The build process dies in 
devel/gobject-introspection and complains that it cannot find header files for 
gio-unix-2.0. From what I can see the problem looks like the fact that pkgconf 
is returning the wrong include path for these header files, running:

  # pkg-config --variable=includedir gio-unix-2.0 returns:

  /usr/local/include/usr/local/include/usr/local/include

I'm not sure if this is part of the problem but it appears that pkgconf returns one 
instance of /usr/local/include for each dependency listed in the package. E.g.

  # pkg-config --variable=includedir glib-2.0

returns: /usr/local/include

To repeat this problem I started with a fresh FreeBSD virtual machine built 
from 8-STABLE, an empty /usr/local tree and an empty /var/db/pkg directory. 
Then I traversed to /usr/ports/devel/gobject-introspection and did:

  # make install

Any help would be appreciated.

-- Chris




Chris Hilton  e: chris /at/ vindaloo /dot/ com

 All I was doing was trying to get home from work!
  -- Rosa Parks

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
I have the same problem with devel/gobject-introspection. It's also a 
dependecy for Xorg.


A couple of days ago devel/pkg-config was removed from ports as 
deprecated, and replaced with devel/pkgconf, and consequently the build 
dependencies of many ports were changed. Maybe this recent change is not 
thoroughly worked out?


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


Re: mpt(4) enabling write cache on raw disk

2012-07-30 Thread Darren Baginski


29.07.2012, 17:00, Stefan Johansson steve.johans...@telia.com:
 Hello!

 I have a HP 3080X SAS/SATA 8 port mpt(4) controller card that I want to use in
 a ZFS setup.
 My problem is that the write cache is not enabled on disks that are not a 
 part of a RAID volume (RAID0 or RAID1).
 The write speed is limited to about 20MB/s with both UFS and ZFS.
 If I create a RAID0 volume with mptutil(8) and then destroy it, write cache 
 gets enabled and the write speed reaches about 60MB/s with UFS and ZFS.
 Unfortunately it won't survive a reboot.

 Has anyone else seen this problem with mpt(4) controllers and/or knows how to 
 fix it?

I have to create 8 raid0 volumes consisting of one drive, and then enable 
#/usr/sbin/mptutil volume  cache  0 enable
#/usr/sbin/mptutil volume  cache  1 enable


___
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: Waking system up from suspend-to-ram at specified time.

2012-07-30 Thread Ian Smith
In freebsd-questions Digest, Vol 425, Issue 13, Message: 13
On Sat, 28 Jul 2012 21:37:48 +0200 Piotr Czachur zim...@gmail.com wrote:
  Dear users,
  
  Does FreeBSD support waking system up from S3 (suspend to RAM) state
  at specified time? On Linux, it can be achieved using rtcwake command
  that uses RTC support in kernel.

Not yet, unless I've missed something since 2010 (not impossible :) 

  If it's not supported, maybe I can somehow enable waking from S3 using
  BIOS autoresume option? It powers my box on from complete off, but
  fails to wake it up from S3. What works for now is waking from S3
  using Wake-on-LAN.
 
  Cheers,
  Piotrek

On my Thinkpad T23, BIOS autostart (not autoresume) time setting also 
works only from a cold start.  WoL also worked from 'off' but not from 
S3, but that was on 8.1-STABLE.  What version are you running, and on 
what machine?  Some reports indicate success may depend on which BIOS.

I'll forward you offlist a couple of never-completed drafts that turned 
up in postponed messages from 2010 while hunting mail about this, to 
(bcc'd) avg@, brucec@ and mav@, after researching this in response to an 
ACPI PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern%2F73823cat=

Then at least, you also had to modify Linux shutdown behaviour to avoid 
writing the clocktime back to the RTC if a wake time had been set, as 
RTC writes did not preserve the RTC wake interrupt bit, for some reason.

FreeBSD also does not preserve (gratuitously zeroes) that bit on all RTC 
writes, which is easily enough fixable, mostly in writertc.c, with few 
other places needing mods that I could see.  Ah yes, plus a (cleanroom) 
utility not unlike rtcwake, but once writertc() is fixed that should be 
relatively trivial, without needing to mess with the shutdown code.

Present circumstances don't permit me to work on this further, but I do
think it could be a worthwhile and not so hard project for 'someone' :)

cheers, Ian
___
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: Resolvconf with FreeBSD jails

2012-07-30 Thread Jeff Tipton

On 07/30/2012 18:03, Grzegorz Junka wrote:
FreeBSD 9 uses resolvconf tool to manage the resolv.conf file. How can 
I make it working with FreeBSD jails?


In my case I am moving my laptop between networks and every time I 
boot FreeBSD it gets assigned a different DNS server. The file 
/etc/resolv.conf gets updated but the same file in each of the jails 
is not. I need resolv.conf in each jail in order for that jail to 
connect to the external network.
If you really need your resolv.conf for connecting to an external 
network (and not to resolve local machine names), why not just add 
public DNS servers there and let them stay the same all he time?


I tried to make a link from resolv.conf in a jail to the same file in 
the host system, but inside jail the link doesn't work. I could copy 
the resolv.conf every time I boot FreeBSD after the DHCP obtained new 
DNS and updated resolv.conf but before ezjail starts any of the jails, 
but where I would need to put such copying?


___
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: FreeBSD on SSD

2012-07-30 Thread Waitman Gobble
On Jul 28, 2012 11:42 AM, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl
wrote:

 The read-cache idea is very sound, mainly because by using it this way
Seagate would not have to create a special set of
 instructions for installing and using the HDD.


 I don't think that this drive cache is smart enough to really cache
needed things and not flush that cache with useless data too often.

 i personally would prefer that drive to show up as 8GB disk and 750 GB
disk.

 It would be easy to fit most of /usr in 8GB with even large set of
software installed.

 when out of space then use softlinks and move not very used things (eg.
documentation, non-yours locales, examples, some linarly accessed big files
etc.) to disk.


 My final question would be :

 Seeing as the HDD only has a SATA connector, this would mean that the
SSD part already has a memory control device that regulates
 access to that sector, whether it is a plain read-cache or not. This
would imply that FreeBSD could communicate with the HDD
 normally, through the SATA connector, just like any regular HDD.


 indeed.

 Such a drive is a good idea, but complete lack of documentation (how it
operate) is not.

 You have to guess how this SSD-cache works because it is not documented.

 the other thing is erasing data. You want to sell that drive and clear
your data by

 dd if=/dev/zero of=/dev/disk bs=1m

 but does it clear SSD cache? i don't think so. Someone sophisticated
enough would perform raw read of cache chips and get cached data, which can
actually be the most important part (things you work on often).

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

I've been using one of these drives for a few months, bought it because of
bargain price and it sounded cool.. but its true there is little
documentation, there seems to be no way to look at the SSD cache. I've read
on some ng that it takes 5 to 10 boots to learn which files are loaded at
boot.. maybe true. Also have not performed any comparison tests but maybe
it boots faster. ... its not like instant on though. :)

Waitman Gobble
San Jose California
___
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: Problem with pkgconf and glib.

2012-07-30 Thread Michael Powell
Jeff Tipton wrote:

 On 07/30/2012 17:19, Christopher Hilton wrote:
 I'm trying to build emacs with gtk2 on my build box and I'm running into
 trouble with pkgconf from /usr/ports/devel/pkgconf. The build process
 dies in devel/gobject-introspection and complains that it cannot find
 header files for gio-unix-2.0. From what I can see the problem looks like
 the fact that pkgconf is returning the wrong include path for these
 header files, running:
[snip]
 I have the same problem with devel/gobject-introspection. It's also a
 dependecy for Xorg.
 
 A couple of days ago devel/pkg-config was removed from ports as
 deprecated, and replaced with devel/pkgconf, and consequently the build
 dependencies of many ports were changed. Maybe this recent change is not
 thoroughly worked out?
 

When I first saw it in UPDATING and did the command I believe it was not 
completely correct, as it did nothing. That was something on the order of 3 
or 4 days ago. Just csup'd today and the command in UPDATING I think 
contained something slightly different, and is now correct.

Before, it did not remove/replace pkg-config. Today it did. Perhaps a ports 
tree refresh and if using portupgrade do this:

portupgrade -fo devel/pkgconf pkg-config-\*

This did remove pkg-config and replace it with pkgconf, like I expected it to 
do 3-4 days ago and didn't.

-Mike
 


___
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: Problem with pkgconf and glib.

2012-07-30 Thread Bas Smeelen

On 07/30/12 18:21, Michael Powell wrote:

Jeff Tipton wrote:


On 07/30/2012 17:19, Christopher Hilton wrote:

I'm trying to build emacs with gtk2 on my build box and I'm running into
trouble with pkgconf from /usr/ports/devel/pkgconf. The build process
dies in devel/gobject-introspection and complains that it cannot find
header files for gio-unix-2.0. From what I can see the problem looks like
the fact that pkgconf is returning the wrong include path for these
header files, running:

[snip]

I have the same problem with devel/gobject-introspection. It's also a
dependecy for Xorg.

A couple of days ago devel/pkg-config was removed from ports as
deprecated, and replaced with devel/pkgconf, and consequently the build
dependencies of many ports were changed. Maybe this recent change is not
thoroughly worked out?


When I first saw it in UPDATING and did the command I believe it was not
completely correct, as it did nothing. That was something on the order of 3
or 4 days ago. Just csup'd today and the command in UPDATING I think
contained something slightly different, and is now correct.

Before, it did not remove/replace pkg-config. Today it did. Perhaps a ports
tree refresh and if using portupgrade do this:

portupgrade -fo devel/pkgconf pkg-config-\*

This did remove pkg-config and replace it with pkgconf, like I expected it to
do 3-4 days ago and didn't.

-Mike
  
I had about the same issues on a fresh RELENG_9 laptop wih xfce4, 
firefox and thunderbird. Just removing pkg-config (pkg_delete -f) then 
installing pkgconf and do a portmaster --check-depends solved it for me.




Disclaimer: http://www.ose.nl/email

___
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: Problem with pkgconf and glib.

2012-07-30 Thread Christopher Hilton
On Jul 30, 2012, at 12:21 PM, Michael Powell wrote:

 Jeff Tipton wrote:
 
 On 07/30/2012 17:19, Christopher Hilton wrote:
 I'm trying to build emacs with gtk2 on my build box and I'm running into
 trouble with pkgconf from /usr/ports/devel/pkgconf. The build process

[snip] 

 When I first saw it in UPDATING and did the command I believe it was not 
 completely correct, as it did nothing. That was something on the order of 3 
 or 4 days ago. Just csup'd today and the command in UPDATING I think 
 contained something slightly different, and is now correct.
 
 Before, it did not remove/replace pkg-config. Today it did. Perhaps a ports 
 tree refresh and if using portupgrade do this:
 
 portupgrade -fo devel/pkgconf pkg-config-\*
 
 This did remove pkg-config and replace it with pkgconf, like I expected it to 
 do 3-4 days ago and didn't.
 
 -Mike
 

I'll look at UPDATING again but from what I see devel/pkgconf is supposed to be 
a drop in replacement for devel/pkg-config that solves a bootstrapping problem 
between pkg-config and devel/glib. I'm not convinced on drop in if 
devel/pkg-config says the the include files for gio-unix-2.0 are in 
/usr/local/include while devel/pkgconf says that they are in 
/usr/local/include/usr/local/include/usr/local/include. To hedge my bets I'm 
using csup to revert the ports collection on my machine to before the change.

-- Chris___
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: Problem with pkgconf and glib.

2012-07-30 Thread Jeff Tipton

On 07/30/2012 19:46, Bas Smeelen wrote:

On 07/30/12 18:21, Michael Powell wrote:

Jeff Tipton wrote:


On 07/30/2012 17:19, Christopher Hilton wrote:
I'm trying to build emacs with gtk2 on my build box and I'm running 
into

trouble with pkgconf from /usr/ports/devel/pkgconf. The build process
dies in devel/gobject-introspection and complains that it cannot find
header files for gio-unix-2.0. From what I can see the problem 
looks like

the fact that pkgconf is returning the wrong include path for these
header files, running:

[snip]

I have the same problem with devel/gobject-introspection. It's also a
dependecy for Xorg.

A couple of days ago devel/pkg-config was removed from ports as
deprecated, and replaced with devel/pkgconf, and consequently the build
dependencies of many ports were changed. Maybe this recent change is 
not

thoroughly worked out?


When I first saw it in UPDATING and did the command I believe it was not
completely correct, as it did nothing. That was something on the 
order of 3

or 4 days ago. Just csup'd today and the command in UPDATING I think
contained something slightly different, and is now correct.

Before, it did not remove/replace pkg-config. Today it did. Perhaps a 
ports

tree refresh and if using portupgrade do this:

portupgrade -fo devel/pkgconf pkg-config-\*

This did remove pkg-config and replace it with pkgconf, like I 
expected it to

do 3-4 days ago and didn't.

-Mike
I had about the same issues on a fresh RELENG_9 laptop wih xfce4, 
firefox and thunderbird. Just removing pkg-config (pkg_delete -f) then 
installing pkgconf and do a portmaster --check-depends solved it for me.




Disclaimer: http://www.ose.nl/email

___
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
Yes, but try now to rebuild X, or emacs (as Christopher). For me, it 
dies at devel/gobject-introspection with the following:


GISCAN GLib-2.0.gir
g-ir-scanner: GLib: warning: 484 warnings suppressed (use --warn-all to 
see them)

  GISCAN GObject-2.0.gir
g-ir-scanner: GObject: warning: 27 warnings suppressed (use --warn-all 
to see them)

  GISCAN GModule-2.0.gir
g-ir-scanner: GModule: warning: 1 warnings suppressed (use --warn-all to 
see them)
gmake[2]: *** No rule to make target 
`/usr/local/include/usr/local/include/usr/local/include/usr/local/include/gio-unix-2.0/gio/*.h', 
needed by `Gio-2.0.gir'.  Stop.
gmake[2]: Leaving directory 
`/usr/ports/devel/gobject-introspection/work/gobject-introspection-0.10.8'

gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory 
`/usr/ports/devel/gobject-introspection/work/gobject-introspection-0.10.8'

gmake: *** [all] Error 2
*** Error code 1

I don't know what to do with this, I'm already considering ports downgrade.

-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


Re: Problem with pkgconf and glib.

2012-07-30 Thread Christopher Hilton

On Jul 30, 2012, at 1:21 PM, Jeff Tipton wrote:

 On 07/30/2012 19:46, Bas Smeelen wrote:
 On 07/30/12 18:21, Michael Powell wrote:
 Jeff Tipton wrote:
 
 On 07/30/2012 17:19, Christopher Hilton wrote:
 

[snip]

 Yes, but try now to rebuild X, or emacs (as Christopher). For me, it dies at 
 devel/gobject-introspection with the following:
 
 GISCAN GLib-2.0.gir
 g-ir-scanner: GLib: warning: 484 warnings suppressed (use --warn-all to see 
 them)
  GISCAN GObject-2.0.gir
 g-ir-scanner: GObject: warning: 27 warnings suppressed (use --warn-all to see 
 them)
  GISCAN GModule-2.0.gir
 g-ir-scanner: GModule: warning: 1 warnings suppressed (use --warn-all to see 
 them)
 gmake[2]: *** No rule to make target 
 `/usr/local/include/usr/local/include/usr/local/include/usr/local/include/gio-unix-2.0/gio/*.h',
  needed by `Gio-2.0.gir'.  Stop.
 gmake[2]: Leaving directory 
 `/usr/ports/devel/gobject-introspection/work/gobject-introspection-0.10.8'
 gmake[1]: *** [all-recursive] Error 1
 gmake[1]: Leaving directory 
 `/usr/ports/devel/gobject-introspection/work/gobject-introspection-0.10.8'
 gmake: *** [all] Error 2
 *** Error code 1
 
 I don't know what to do with this, I'm already considering ports downgrade.
 

I traced through the Makefiles in devel/gobject-introspection. They are relying 
on pkg-config, devel/pkgconf in the newer code, to provide the location. That's 
how you end up with:

 
/usr/local/include/usr/local/include/usr/local/include/usr/local/include/gio-unix-2.0/gio/*.h

Which clearly shouldn't be there as a path. I added the line:

 date=2012.07.21.00.00.00

to my ports supconfig and then did 

 csup /etc/ports-supfile

That pulled my ports collection back to 2012/07/21 which restored pkg-config 
and removed pkgconf. It probably reverted some other stuff too but I can wait a 
week for this thing to play out.

-- Chris


___
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: Problem with pkgconf and glib.

2012-07-30 Thread Christopher Sean Hilton
On Mon, Jul 30, 2012 at 08:21:21PM +0300, Jeff Tipton wrote:
 On 07/30/2012 19:46, Bas Smeelen wrote:
  On 07/30/12 18:21, Michael Powell wrote:
  Jeff Tipton wrote:
 
  On 07/30/2012 17:19, Christopher Hilton wrote:
  I'm trying to build emacs with gtk2 on my build box and I'm running 
  into
  trouble with pkgconf from /usr/ports/devel/pkgconf. The build process
  dies in devel/gobject-introspection and complains that it cannot find
  header files for gio-unix-2.0. From what I can see the problem 
  looks like
  the fact that pkgconf is returning the wrong include path for these
  header files, running:

[snip]


 Yes, but try now to rebuild X, or emacs (as Christopher). For me, it 
 dies at devel/gobject-introspection with the following:
 
 GISCAN GLib-2.0.gir
 g-ir-scanner: GLib: warning: 484 warnings suppressed (use --warn-all to 
 see them)
GISCAN GObject-2.0.gir
 g-ir-scanner: GObject: warning: 27 warnings suppressed (use --warn-all 
 to see them)
GISCAN GModule-2.0.gir
 g-ir-scanner: GModule: warning: 1 warnings suppressed (use --warn-all to 
 see them)
 gmake[2]: *** No rule to make target 
 `/usr/local/include/usr/local/include/usr/local/include/usr/local/include/gio-unix-2.0/gio/*.h',
  
 needed by `Gio-2.0.gir'.  Stop.
 gmake[2]: Leaving directory 
 `/usr/ports/devel/gobject-introspection/work/gobject-introspection-0.10.8'
 gmake[1]: *** [all-recursive] Error 1
 gmake[1]: Leaving directory 
 `/usr/ports/devel/gobject-introspection/work/gobject-introspection-0.10.8'
 gmake: *** [all] Error 2
 *** Error code 1
 
 I don't know what to do with this, I'm already considering ports downgrade.
 
 -Jeff

While I'm sure that this is just a temporary glitch, in my case the
target box is the build machine that I use to maintain all my packages
for a set of FreeBSD servers. I unfortunately don't have to time to
trace the problem in pkgconf today. I'll try to run it through gdb
during the week to see why it's tripple the /usr/local/include part
of the include path.

-- Chris

Chris Hilton   e: chris|at|vindaloo|dot|com

  The pattern juggler lifts his hand; The orchestra begin.
  As slowly turns the grinding wheel in the court of the crimson king.
   -- Ian McDonald / Peter Sinfield
___
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: Problem with pkgconf and glib.

2012-07-30 Thread Jeff Tipton

On 07/30/2012 20:32, Christopher Hilton wrote:

On Jul 30, 2012, at 1:21 PM, Jeff Tipton wrote:


On 07/30/2012 19:46, Bas Smeelen wrote:

On 07/30/12 18:21, Michael Powell wrote:

Jeff Tipton wrote:


On 07/30/2012 17:19, Christopher Hilton wrote:

[snip]


Yes, but try now to rebuild X, or emacs (as Christopher). For me, it dies at 
devel/gobject-introspection with the following:

GISCAN GLib-2.0.gir
g-ir-scanner: GLib: warning: 484 warnings suppressed (use --warn-all to see 
them)
  GISCAN GObject-2.0.gir
g-ir-scanner: GObject: warning: 27 warnings suppressed (use --warn-all to see 
them)
  GISCAN GModule-2.0.gir
g-ir-scanner: GModule: warning: 1 warnings suppressed (use --warn-all to see 
them)
gmake[2]: *** No rule to make target 
`/usr/local/include/usr/local/include/usr/local/include/usr/local/include/gio-unix-2.0/gio/*.h',
 needed by `Gio-2.0.gir'.  Stop.
gmake[2]: Leaving directory 
`/usr/ports/devel/gobject-introspection/work/gobject-introspection-0.10.8'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory 
`/usr/ports/devel/gobject-introspection/work/gobject-introspection-0.10.8'
gmake: *** [all] Error 2
*** Error code 1

I don't know what to do with this, I'm already considering ports downgrade.


I traced through the Makefiles in devel/gobject-introspection. They are relying 
on pkg-config, devel/pkgconf in the newer code, to provide the location. That's 
how you end up with:

  
/usr/local/include/usr/local/include/usr/local/include/usr/local/include/gio-unix-2.0/gio/*.h

Which clearly shouldn't be there as a path. I added the line:

  date=2012.07.21.00.00.00

to my ports supconfig and then did

  csup /etc/ports-supfile

That pulled my ports collection back to 2012/07/21 which restored pkg-config 
and removed pkgconf. It probably reverted some other stuff too but I can wait a 
week for this thing to play out.

-- Chris


___
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

Thanks, Chris, for sharing this. I'll, too, try it this way.

-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


Flash in Firefox

2012-07-30 Thread Manish Jain


I've not experienced any problem with sites that
use Flash, including Youtube.



Hi Jeff,

Okay, so can you please go to the URL below and see whether the bubbles 
work for you ?


http://news.discovery.com/human/games-lumosity-word-bubbles.html

I don't have a problem with YouTube either. But if the flash at the URL 
above works for you, I request you to kindly share with me the ports I 
need to install. I spent a lot of time, energy and bandwidth 
installing/reinstalling over a dozen ports, including opera. But neither 
opera nor firefox on my system work for the subject URL


Please send a cc of your reply to me at bourne.ident...@hotmail.com


Thanks 
--
Regards,

Manish Jain
+91-99620-10329
___
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: Flash in Firefox

2012-07-30 Thread Lars Eighner

On Tue, 31 Jul 2012, Manish Jain wrote:



I've not experienced any problem with sites that
use Flash, including Youtube.





Hi Jeff,

Okay, so can you please go to the URL below and see whether the bubbles work 
for you ?




recent linux-flash 12.x do not work with any recent version of firefox when
the server uses the standard flowplayer set-up (with JS).  It does work with
flowplayer when used with the flowplayer alternate configuration which is
pure html5.  Of course, as a user you are SOL if a site has elected to use
the JS version of flowplayer. Rolling linux-flash back 6 months or a year
will fix this, and it is hoped it will get fixed when linux-flash is bumped
to 13.x



Please send a cc of your reply to me at bourne.ident...@hotmail.com



--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
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: Flash in Firefox

2012-07-30 Thread Warren Block

On Tue, 31 Jul 2012, Manish Jain wrote:



I've not experienced any problem with sites that
use Flash, including Youtube.





Okay, so can you please go to the URL below and see whether the bubbles work 
for you ?


http://news.discovery.com/human/games-lumosity-word-bubbles.html

I don't have a problem with YouTube either. But if the flash at the URL above 
works for you, I request you to kindly share with me the ports I need to 
install. I spent a lot of time, energy and bandwidth installing/reinstalling 
over a dozen ports, including opera. But neither opera nor firefox on my 
system work for the subject URL


Works here.  amd64,

firefox-14.0.1,1
linux-f10-flashplugin-11.2r202.236_1

Set up as the Handbook describes.
___
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: Firefox 14 build broken due to wrong libpng

2012-07-30 Thread John Levine
In article 20120730045308.gh7...@mail3.dcoder.net you write:
same problem.  so i rebuilt png w/ 

   OPTIONS=APNG Animated PNG support On

firefox build still fails because of complaints about APNG.  what am i missing
here?

I rebuilt png with APNG turned on (make  make deinstall  make install clean)

The png errors went away but it still failed.  The last few lines of the log 
are below.

This is 8.3 on amd64, ports are as far as I know fully up to date.

Regards,
John Levine, jo...@iecc.com, Primary Perpetrator of The Internet for Dummies,
Please consider the environment before reading this e-mail. http://jl.ly



c++ -o nsNSSCallbacks.o -c -I../../../../dist/stl_wrappers 
-I../../../../dist/system_wrappers -include 
../../../.././../config/gcc_hidden.h -DNSS_ENABLE_ECC -DDLL_PREFIX=\lib\ 
-DDLL_SUFFIX=\.so\  -DMOZ_GLUE_IN_PROGRAM 
-DXPCOM_TRANSLATE_NSGM_ENTRY_POINT=1 -DMOZILLA_INTERNAL_API -D_IMPL_NS_COM 
-DEXPORT_XPT_API -DEXPORT_XPTC_API -D_IMPL_NS_GFX -D_IMPL_NS_WIDGET 
-DIMPL_XREAPI -DIMPL_NS_NET -DIMPL_THEBES  -DSTATIC_EXPORTABLE_JS_API 
-DOSTYPE=\FreeBSD8\ -DOSARCH=FreeBSD -I/usr/local/include/nss 
-I../../../.././../security/manager/ssl/src -I. -I../../../../dist/include 
-I../../../../dist/include/nsprpub -I/usr/local/include  
-I/usr/local/include/nspr -I/usr/local/include/nss -I/usr/local/include 
-I/usr/local/include-fPIC -I/usr/local/include/nss 
-I/usr/local/include/nss/nss  -I/usr/local/include -fno-rtti -Wall 
-Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wno-ctor-dtor-privacy 
-Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align 
-
 O2 -pipe
  -fno-strict-aliasing -fno-exceptions -fno-strict-aliasing -fshort-wchar 
-ffunction-sections -fdata-sections -pipe  -DNDEBUG -DTRIMMED -O2 
-fomit-frame-pointer  -I/usr/local/include/nss -I/usr/local/include/nss/nss 
 -I/usr/local/include -DMOZILLA_CLIENT -include ../../../../mozilla-config.h 
/usr/ports/www/firefox/work/mozilla-release/security/manager/ssl/src/nsNSSCallbacks.cpp
/usr/ports/www/firefox/work/mozilla-release/security/manager/ssl/src/nsProtectedAuthThread.cpp:
 In member function 'void nsProtectedAuthThread::Run()':
/usr/ports/www/firefox/work/mozilla-release/security/manager/ssl/src/nsProtectedAuthThread.cpp:164:
 warning: unused variable 'rv'
nsNSSComponent.cpp
c++ -o nsNSSComponent.o -c -I../../../../dist/stl_wrappers 
-I../../../../dist/system_wrappers -include 
../../../.././../config/gcc_hidden.h -DNSS_ENABLE_ECC -DDLL_PREFIX=\lib\ 
-DDLL_SUFFIX=\.so\  -DMOZ_GLUE_IN_PROGRAM 
-DXPCOM_TRANSLATE_NSGM_ENTRY_POINT=1 -DMOZILLA_INTERNAL_API -D_IMPL_NS_COM 
-DEXPORT_XPT_API -DEXPORT_XPTC_API -D_IMPL_NS_GFX -D_IMPL_NS_WIDGET 
-DIMPL_XREAPI -DIMPL_NS_NET -DIMPL_THEBES  -DSTATIC_EXPORTABLE_JS_API 
-DOSTYPE=\FreeBSD8\ -DOSARCH=FreeBSD -I/usr/local/include/nss 
-I../../../.././../security/manager/ssl/src -I. -I../../../../dist/include 
-I../../../../dist/include/nsprpub -I/usr/local/include  
-I/usr/local/include/nspr -I/usr/local/include/nss -I/usr/local/include 
-I/usr/local/include-fPIC -I/usr/local/include/nss 
-I/usr/local/include/nss/nss  -I/usr/local/include -fno-rtti -Wall 
-Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wno-ctor-dtor-privacy 
-Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align 
-
 O2 -pipe
  -fno-strict-aliasing -fno-exceptions -fno-strict-aliasing -fshort-wchar 
-ffunction-sections -fdata-sections -pipe  -DNDEBUG -DTRIMMED -O2 
-fomit-frame-pointer  -I/usr/local/include/nss -I/usr/local/include/nss/nss 
 -I/usr/local/include -DMOZILLA_CLIENT -include ../../../../mozilla-config.h 
/usr/ports/www/firefox/work/mozilla-release/security/manager/ssl/src/nsNSSComponent.cpp
nsNSSErrors.cpp
c++ -o nsNSSErrors.o -c -I../../../../dist/stl_wrappers 
-I../../../../dist/system_wrappers -include 
../../../.././../config/gcc_hidden.h -DNSS_ENABLE_ECC -DDLL_PREFIX=\lib\ 
-DDLL_SUFFIX=\.so\  -DMOZ_GLUE_IN_PROGRAM 
-DXPCOM_TRANSLATE_NSGM_ENTRY_POINT=1 -DMOZILLA_INTERNAL_API -D_IMPL_NS_COM 
-DEXPORT_XPT_API -DEXPORT_XPTC_API -D_IMPL_NS_GFX -D_IMPL_NS_WIDGET 
-DIMPL_XREAPI -DIMPL_NS_NET -DIMPL_THEBES  -DSTATIC_EXPORTABLE_JS_API 
-DOSTYPE=\FreeBSD8\ -DOSARCH=FreeBSD -I/usr/local/include/nss 
-I../../../.././../security/manager/ssl/src -I. -I../../../../dist/include 
-I../../../../dist/include/nsprpub -I/usr/local/include  
-I/usr/local/include/nspr -I/usr/local/include/nss -I/usr/local/include 
-I/usr/local/include-fPIC -I/usr/local/include/nss 
-I/usr/local/include/nss/nss  -I/usr/local/include -fno-rtti -Wall 
-Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wno-ctor-dtor-privacy 
-Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align 
-O2 
 -pipe -f
 no-strict-aliasing -fno-exceptions -fno-strict-aliasing -fshort-wchar 
-ffunction-sections -fdata-sections -pipe  -DNDEBUG -DTRIMMED -O2 
-fomit-frame-pointer  -I/usr/local/include/nss -I/usr/local/include/nss/nss 
 

Re: Flash in Firefox

2012-07-30 Thread ajtiM
On Monday 30 July 2012 15:55:46 Warren Block wrote:
 On Tue, 31 Jul 2012, Manish Jain wrote:
  
  I've not experienced any problem with sites that
  use Flash, including Youtube.
  
  
  
  Okay, so can you please go to the URL below and see whether the bubbles
  work for you ?
  
  http://news.discovery.com/human/games-lumosity-word-bubbles.html
  
  I don't have a problem with YouTube either. But if the flash at the URL
  above works for you, I request you to kindly share with me the ports I
  need to install. I spent a lot of time, energy and bandwidth
  installing/reinstalling over a dozen ports, including opera. But neither
  opera nor firefox on my system work for the subject URL
 
 Works here.  amd64,
 
 firefox-14.0.1,1
 linux-f10-flashplugin-11.2r202.236_1
 
 Set up as the Handbook describes.
 ___
 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

It doesn't work on my computer:
FreeBSD 9.0 Release, KDE 4.8.4

I updated Firefox 13 to 14.0.1 and flash doesn't work anymore (on Opera works).
In pluginred.dat I have:
[INVALID]
/usr/local/lib/npapi/linux-f10-flashplugin/libflashplayer.so:$
1336714805000:$

On the previous version of Firefox I didn't have a problem with the same 
version of flash plugin.

Mitja

http://jpgmag.com/people/lumiwa
___
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: Flash in Firefox

2012-07-30 Thread Warren Block

On Mon, 30 Jul 2012, ajtiM wrote:


It doesn't work on my computer:
FreeBSD 9.0 Release, KDE 4.8.4

I updated Firefox 13 to 14.0.1 and flash doesn't work anymore (on Opera works).
In pluginred.dat I have:
[INVALID]
/usr/local/lib/npapi/linux-f10-flashplugin/libflashplayer.so:$
1336714805000:$

On the previous version of Firefox I didn't have a problem with the same
version of flash plugin.


Is that linux-f10-flashplugin10 or linux-f10-flashplugin11?
___
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: Flash in Firefox

2012-07-30 Thread ajtiM
On Monday 30 July 2012 16:49:09 Warren Block wrote:
 On Mon, 30 Jul 2012, ajtiM wrote:
  It doesn't work on my computer:
  FreeBSD 9.0 Release, KDE 4.8.4
  
  I updated Firefox 13 to 14.0.1 and flash doesn't work anymore (on Opera
  works). In pluginred.dat I have:
  [INVALID]
  /usr/local/lib/npapi/linux-f10-flashplugin/libflashplayer.so:$
  1336714805000:$
  
  On the previous version of Firefox I didn't have a problem with the same
  version of flash plugin.
 
 Is that linux-f10-flashplugin10 or linux-f10-flashplugin11?

It is linuxf10-flashplugin11

Mitja

http://jpgmag.com/people/lumiwa
___
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: Waking system up from suspend-to-ram at specified time.

2012-07-30 Thread Piotr Czachur
Ian,

Thank you for wind of hope :)

2012/7/30 Ian Smith smi...@nimnet.asn.au:
 On my Thinkpad T23, BIOS autostart (not autoresume) time setting also
 works only from a cold start.  WoL also worked from 'off' but not from
 S3, but that was on 8.1-STABLE.  What version are you running, and on
 what machine?  Some reports indicate success may depend on which BIOS.

I'm running FreeBSD 9.0 on Pentium 4 (Dell SX270).
WoL wakes my box up from off and S3, and BIOS Auto power on just from off.

 I'll forward you offlist a couple of never-completed drafts that turned
 up in postponed messages from 2010 while hunting mail about this, to
 (bcc'd) avg@, brucec@ and mav@, after researching this in response to an
 ACPI PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern%2F73823cat=

Thanks. Nice to know this.

 Then at least, you also had to modify Linux shutdown behaviour to avoid
 writing the clocktime back to the RTC if a wake time had been set, as
 RTC writes did not preserve the RTC wake interrupt bit, for some reason.

Is this RTC writing supposed to disable Auto power on alarm set via BIOS?
In my situation it's not the case, my box is shut down from cron
(shutdown -h) , and powers on automaticaly next morning.

 FreeBSD also does not preserve (gratuitously zeroes) that bit on all RTC
 writes, which is easily enough fixable, mostly in writertc.c, with few
 other places needing mods that I could see.  Ah yes, plus a (cleanroom)
 utility not unlike rtcwake, but once writertc() is fixed that should be
 relatively trivial, without needing to mess with the shutdown code.

So the reason of not waking up from S3, is RTC Wake bit zeroed during go to S3?

 Present circumstances don't permit me to work on this further, but I do
 think it could be a worthwhile and not so hard project for 'someone' :)

Deal :)
I'd start from enabling wake up from S3 using BIOS Auto power on, and
leave setting RTC alarm from running system as next step.


-- 
Regards,
Piotrek
___
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: Flash in Firefox

2012-07-30 Thread Polytropon
On Mon, 30 Jul 2012 14:55:46 -0600 (MDT), Warren Block wrote:
 On Tue, 31 Jul 2012, Manish Jain wrote:
  Okay, so can you please go to the URL below and see whether the bubbles 
  work 
  for you ?
 
  http://news.discovery.com/human/games-lumosity-word-bubbles.html
 
  [...]

 Works here.  amd64,
 
 firefox-14.0.1,1
 linux-f10-flashplugin-11.2r202.236_1
 
 Set up as the Handbook describes.

Also works here, FreeBSD/i386 8.2-STABLE of August 2011, setup
according to the Handbook, with the difference that I'm using
Opera here with the following ports:

opera-11.50
opera-linuxplugins-11.50
linux-f10-flashplugin-10.3r183.5



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


Re: Flash in Firefox

2012-07-30 Thread Jeff Tipton

On 07/31/2012 05:18, Polytropon wrote:

On Mon, 30 Jul 2012 14:55:46 -0600 (MDT), Warren Block wrote:

On Tue, 31 Jul 2012, Manish Jain wrote:

Okay, so can you please go to the URL below and see whether the bubbles work
for you ?

http://news.discovery.com/human/games-lumosity-word-bubbles.html

[...]

Works here.  amd64,

firefox-14.0.1,1
linux-f10-flashplugin-11.2r202.236_1

Set up as the Handbook describes.

Also works here, FreeBSD/i386 8.2-STABLE of August 2011, setup
according to the Handbook, with the difference that I'm using
Opera here with the following ports:

opera-11.50
opera-linuxplugins-11.50
linux-f10-flashplugin-10.3r183.5




And it works here.
chromium-15.0.874.121 OR midori-0.4.2
linux-f10-flashplugin-11.1r102.55

Setup as per Handbook.
I also have IcedTea-Web Plugin (using IcedTea-Web 1.1.4) (for Java 
applets, also following setup according to Handbook) but I don't think 
it makes difference here.


-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