Re: VirtualBox - does it work for FreeBSD?

2010-01-21 Thread Glyn Millington
Daniel C. Dowse writes:
 > On Thu, 21 Jan 2010 07:11:53 + at 
 > Glyn Millington  wrote:
 > 
 > >
 > >Good Morning :-)
 > >
 > >A quick question for anyone running VirtualBox on a FreeBSD _host_
 > >machine, with Linux or Windows as a _guest_ OS.  
 > >
 > >
 > >Does it work? 
 > >
 > >
 > >That is, do the guest additions work fully for those guests, or are
 > >there limitations such those I experience currently when running
 > >FreeBSD 8 as the guest?  (eg no access to USB, no fullscreen mode).
 > >Any major problems with a FreeBSDS host and Windows/Linux guest?
 > >
 > >atb
 > 
 > for Guest OS Windows XP Pro SP2 : 
 >  
 > I used to mount usb & disc drives, outside of VB and access the
 > Volumes as a SMB Network Share. Fullscreen Works after installing the
 > Host Utilities for Windows. 

Thanks to Ivan and yourself -that's just the info I need!

atb

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


VirtualBox - does it work for FreeBSD?

2010-01-20 Thread Glyn Millington

Good Morning :-)

A quick question for anyone running VirtualBox on a FreeBSD _host_
machine, with Linux or Windows as a _guest_ OS.  


Does it work? 


That is, do the guest additions work fully for those guests, or are
there limitations such those I experience currently when running
FreeBSD 8 as the guest?  (eg no access to USB, no fullscreen mode).
Any major problems with a FreeBSDS host and Windows/Linux guest?

atb


Glyn


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


ANNOUNCE: New Custom XFCE isos based on 8.0-RELEASE-p2 (32 and 64 bits)

2010-01-10 Thread Glyn Millington
Manolis Kiagias writes:
 > Hey all,
 > 
 > I have just completed the second 8.0-RELEASE based build of the 'Custom
 > releases' project hosted here:
 > 
 > http://freebsd-custom.wikidot.com


Nice!!  Many many thanks.

atb

Glyn
___
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: sendmail && SMTP AUTH: question about /etc/mail/auth/client-info file

2010-01-08 Thread Glyn Millington
Matthias Apitz writes:
 > 
 > Hello Glyn,
 > 
 > I have read the above page during my configuration but it does not
 > explain to me which user must be configured in U: value; Is it me? Or is it
 > the userID the sendmail daemon is running as? It works with "U:root",
 > but what does this mean exactly?


Sorry, Matthias, I misread your question.  I think it can only refer
to the uid under which sendmail is running, but can find no proof of
that :-)

atb


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


sendmail && SMTP AUTH: question about /etc/mail/auth/client-info file

2010-01-07 Thread Glyn Millington
Matthias Apitz writes:
 > Hello,
 > 
 > Because I was forced by my ISP to do so, I have configured successfully
 > as described in the FBSD docs the sendmail with SMTP AUTH;
 > 
 > one question remains: the required file /etc/mail/auth/client-info has 
 > the line:
 > 
 > AuthInfo:smtp.1blu.de "U:root" "I:Y" "P:X"
 > 
 > where the I: value is the userID given by the ISP and P: its password;
 > what does the U: value is good for exactly? thanks in advance

Hi Matthias,

U = user

for details see 

http://www.sendmail.org/~ca/email/auth.html


atb

Glyn
___
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: The question of moving vi to /bin

2009-06-28 Thread Glyn Millington
Polytropon  writes:
> When Bill G. arrives at the pearly gate, ol' Pete won't ask
> him what he did do, instead send him to MICROS~1 C:\HELL.EXE
> with the advice to click on the devil to start the everlasting
> pain. :-)


Brilliant!!


atb








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

2009-06-27 Thread Glyn Millington
Patrick Reich  writes:

> One thing to add here is that the ports tree remains tied to
> teTeX.  If you install TexLive (either from DVD or Romain's)
> and then install a port like texmacs, lyx, texmaker, or auctex
> to edit your files, you'll pull in teTeX as a dependency.  You
> end up with both teTeX and TeXLive installed.  If someone knows
> how to avoid the duplicity, please do chime in 

Hi Patrick,


Just to say that "duplicity" usually means something like "deceitful and
dishonest behaviour" - duplication is what you want to avoid!  I only
mention it because this is a slip that could get you into serious
trouble in the wrong context!!  :-)

You are right about the ports tree and my way round this has been to edit
the relevant port Makefie and simply remove the dependency under
BUILD_DEPENDS, LIB_DEPENDS and RUN_DEPENDS.  Most things then find
TeXLive and build themselves nicely after that. There may be an automated
way of doing this but I haven't found it yet.


atb







Glyn
___
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: Installing latest version of LaTeX

2009-06-06 Thread Glyn Millington
Roland Smith  writes:

> On Sat, Jun 06, 2009 at 07:34:07AM +0100, Glyn Millington wrote:
>> bf  writes:
>> 
>> >> Thanks for the info.  I'll have to try to install TeX Live.
>> >
>> > This is not trivial, which is one of the reasons it hasn't been done.
>> 
>> Well *porting* TeX Live is certainly not trivial!  But actually
>> installing it as free-standing software is not too hard.
>> 
>> Get it from here:
>> 
>> http://www.tug.org/texlive/acquire.html
>> 
>> 
>> I find that the live installation over the internet works very well - the
>> links are there on the same page. Everything is installed in its own
>> directory structure so it is easy to clean out if you need to do so.
>> 
>> One useful point - in the main menu TeX Live gives the opportunity for the
>> installer to create symbolic links to its main programs in standard
>> directories. It is so much easier than doing so by hand!!
>
> It is less messy if you just add the path to the TeXLive binaries to the
> path element of the default profile in /etc/login.conf:

Brilliant!! - that never occurred to me :-)


atb





Glyn
___
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: Installing latest version of LaTeX

2009-06-06 Thread Glyn Millington
bf  writes:

>> Thanks for the info.  I'll have to try to install TeX Live.
>
> This is not trivial, which is one of the reasons it hasn't been done.

Well *porting* TeX Live is certainly not trivial!  But actually
installing it as free-standing software is not too hard.

Get it from here:

http://www.tug.org/texlive/acquire.html


I find that the live installation over the internet works very well - the
links are there on the same page. Everything is installed in its own
directory structure so it is easy to clean out if you need to do so.

One useful point - in the main menu TeX Live gives the opportunity for the
installer to create symbolic links to its main programs in standard
directories. It is so much easier than doing so by hand!!


If you decide to download the huge iso instead, just mount it and install
from there.

mount_cd9660 -o ro /dev/`mdconfig -a -t vnode -f /path/to/file.iso`
/mount-point

Good luck:-)








Glyn
___
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: Can you ACTUALLY print from FreeBSD?

2009-04-20 Thread Glyn Millington

Sorry - meant to add this to post

Take a look here:- 

http://openprinting.org/show_printer.cgi?recnum=HP-OfficeJet_4110

A free driver is available, rather than the windows .dll


Good luck :-)

atb


Glyn
___
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: Can you ACTUALLY print from FreeBSD?

2009-04-20 Thread Glyn Millington
Keith Seyffarth  writes:

> I'm trying to print from my FreeBSD machine. I've been through a
> number of online tutorials and instructions on printing from Unix or
> FreeBSD in particular, but they all seem to start with the assumption
> that printing from the machine is possible. I'm trying to get to that
> starting point.


A laudable ambition!

> cups-base-1.3.9_3   Common UNIX Printing System
> cups-pdf-2.5.0  A virtual printer for CUPS to produce PDF files
> cups-pstoraster-8.15.4_2 Postscript interpreter for CUPS printing to non-PS 
> printers
> gutenprint-cups-5.1.7_3 GutenPrint Printer Driver
> libgnomecups-0.2.3_1,1 Support library for gnome cups admistration
> hplip-2.8.2_4   Drivers and utilities for HP Printers and All-in-One 
> device

Looks good so far.

> The printer I'm working with is a HP Officejet 4110.

> 1. how can I get permissions on the device to stick, so that I do not
>have to reboot the machine every time we want to print or have to
>power cycle the printer?

Wrong file  - add the changes to /etc/devfs.rules

/etc/devfs.conf is for fixed devices - devfs.rules for plug-in stuff.

> 2. Am I correct that the missing .dll (that seems awfully Windows to
>me) is the problem in getting a filter to print? If so, what do I
>need to do to install it?

I don't know - try it with the permissions set as above.


> And, actually, a third printing-related issue: How do I get cupsd to
> start on startup? I have these two lines in /etc/rc.conf:\
>
> cupsd_enable="YES" # enable cups printing management

That should be enough to get it running.

> devfs_system_ruleset="system" # something else they say cups needs

in which  case the first line in /etc/devfs.rules should be

[system=10] 

that line starts a new ruleset with the name system and the number 10


atb


Glyn
___
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: is there a way to upgrade Only ports that need it??

2009-04-13 Thread Glyn Millington
Gary Kline  writes:

>   is there any way t o not upgrade "all installed ports", but only
>   those that are not current?  
>
>   tired of having my main box grinding away for endless days


portupgrade -akOP does the trick here. 

The time taken depends in large part on how many ports nned to be
upgraded.  If you keep your ports up to date regularly and often, the
periods of endless grinding wil be reduced.

atb



Glyn
___
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: xi?

2009-02-28 Thread Glyn Millington
gahn  writes:

> Hi all:
>
> I am rebuilding those ports and run into some problems. one of those
> is:
>
> checking for XINPUT... configure: error: Package requirements (x11 xext
> xi >= 1.2 inputproto >= 1.5) were not met:
>
> Requested 'xi >= 1.2' but version of Xi is 1.1.3
>
> searching for a while and can't find this "xi". how could I upgrade
> this "xi"?

/usr/ports/X11/libXi  would be my guess :-)


You may need to update your ports tree.


atb

Glyn
___
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: Why FreeBSD not popular on hardware vendors

2008-12-13 Thread Glyn Millington
Jerry McAllister  writes:


> But, we can _gently_ (it hasn't always been so gentle) teach
> newbies that the list is meant for something higher than just
> repeatedly ragging on why isn't FreeBSD more like MS or RHEL
> or whatever.

Or even "why isn't FreeBSD more like FreeBSD used to be back in the day?"

As a newcomer to FreeBSD (who will never be a programmer or serious
sysadmin) I'm grateful for the firm but fair approach taken here by most
people, for the toleration of my occasional inanities, and for helpful
answers. 


I'm also grateful to Chad for helping me look at again at Compiz-fusion -
I prefer fvwm myself, but CF IS gorgeous, no doubt about it, and my
eleven  year old thinks its cool :-) 

atb






Glyn
___
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: OO, text OR .odt to HTML?

2008-11-22 Thread Glyn Millington
Gary Kline <[EMAIL PROTECTED]> writes:

> On Sat, Nov 22, 2008 at 10:06:48PM +0000, Glyn Millington wrote:
>> Gary Kline <[EMAIL PROTECTED]> writes:
>> 
>> >is there a push button way of turning an odt file or plain ascii file
>> >into HTML using openoffice?
>> >
>> >i've googled, but haven't found anything.  
>> 
>> In OO 3
>> 
>> File->Export->File Format -> html/xhtml
>> 
>   when were you dfinally able to get 3 built??  i tried a month ago and
>   something snafu'd.  

October 15th! If memory serves there were no problems here.


> i'll give it a 2nd try; meanwhile will see if your
>   pointers works on my 2.4
>
>   gary
>
>   PS: YES!   [[ still will try to rebuilt OO3 ]]

Splendid :-)



atb

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


Re: OO, text OR .odt to HTML?

2008-11-22 Thread Glyn Millington
Gary Kline <[EMAIL PROTECTED]> writes:

>   is there a push button way of turning an odt file or plain ascii file
>   into HTML using openoffice?
>
>   i've googled, but haven't found anything.  

In OO 3

File->Export->File Format -> html/xhtml



hth


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


Re: Official FreeBSD Forums

2008-11-17 Thread Glyn Millington
Matthew Seaman <[EMAIL PROTECTED]> writes:

> Giorgos Keramidas wrote:
>
>>   * Having five gazillion posts that say "me too", is not exactly a
>> productive answer to a problem.  Alas, this is often what you get
>> when you gather hundreds of _very_ inexperienced people and you hand
>> them a web interface to freely post short, often unintelligible
>> snippets that are more suitable for Twitter than a FAQ page.
>
> There's a Thanks button feature in vBulletin that can be enabled to
> help catch the 'me too' type postings.
>
>> I've been posting to forums with the mozex Firefox extension and GNU
>> Emacs for more than a couple of years now.  Here's how a typical ``post
>> to a forum'' session looks like for me now:
>>
>>   http://flickr.com/photos/[EMAIL PROTECTED]/2961070181/
>
> Oh, wow.  That's perfect.  Or it would be if it was compatible with
> firefox-3.0.4 ... 

Well, yes, but "Its All Text" does the same trick for text boxes and it
is compatible.


https://addons.mozilla.org/en-US/firefox/addon/4125

Wouldn't be without it!

atb


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


Re: re changing from vista

2008-11-14 Thread Glyn Millington
[EMAIL PROTECTED] writes:

> Jerry McAllister <[EMAIL PROTECTED]> escribió:
>
>> On Sat, Nov 15, 2008 at 08:00:23AM +1000, Da Rock wrote:
>>
>>>
>>> On Fri, 2008-11-14 at 11:58 +0100, peter wrote:
>>> > Dear sirs
>>> >
>>> > please can you help me i am totally confused i want to change from
>>> > windows vista
>>> >
>>> > but i cannot understand which system to use
>>> >
>>> > i am not sure if freebsd will work with my hardware and software


Take a look at the FreeBSD FAQ here - section 4 is the one you need.


http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/index.html

Some research om the hardware front can save you lots of pain later.



>>> >
>>> > kind regards
>>> >
>>> > Peter
>>>
>>> Welcome to the free world Peter!
>>>
>>> FreeBSD is a very powerful and stable system, but that said it is also
>>> very hands on - the opposite extreme of vista which is all hands off.
>>> This means that you will have a very steep learning curve.
>>>
>>> This list is /very/ helpful, others may not be so friendly or helpful.
>>> This is great for newbies who need some real help in getting to know
>>> their system and fixing problems, but there are times when even this is
>>> not enough if you don't have enough experience with the system.
>>>
>>> My advice is this: get used to the *nix (linux, unix and other
>>> derivatives) systems and how they do things, and the best way to do this
>>> is to use linux which is like a halfway house for windows users. The
>>> software available for all systems is HUGE. And all this software will
>>> usually run on both systems. The difference is linux will take care of a
>>> lot of maintenance for you (like vista), but still allows you to get
>>> your hands dirty hacking the system to your hearts content.
>>>
>>> This is not to deter you from using FreeBSD - linux is a tough system
>>> when compared to windows, but FreeBSD is even tougher; bit like
>>> comparing a tank to fort knox. But the ease of use and experience you'll
>>> gain from using linux will be more forgiving than using FreeBSD.
>>
>> This is just wrong.I have always found FreeBSD to be easier
>> to install and configure the way I want it that the Red Hat or Suse
>> I often have to use for some servers at work.
>
> Amen to that.  I've converted many Ubuntu users who had shot
> themselves in the foot.  They are now happy freeBSD users. YMMV
>
> ed
>>
>> You can learn them all if you want and use them all.
>> But, don't be bullied in to believing that FreeBSD is any harder
>> than the Lunix flavors out there.

Well, depending on the needs, expectations and background of the learner
I guess that sometimes it might feel harder! Again YMMV.

One thing which makes the transition easier is the marvellous FreeBSD
handbook and documentation.  

Two websites I found helpful were (and are!) Roland Smith's FreeBSD page
here 

http://www.xs4all.nl/~rsmith/freebsd/

(Thank you Roland!!)


and this one


http://www.math.colostate.edu/~reinholz/freebsd/freebsd.html

Good luck,


atb

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


Re: Is KDE4 usable on FreeBSD?

2008-11-01 Thread Glyn Millington
Wojciech Puchar <[EMAIL PROTECTED]> writes:

> it's SLOW and resource hungry - giving nothing else than a good
> look. that's why i compare it to windoze.
>
> and why you need "desktop" (whatever it means) at all?
>
> just window manager is enough, try fvwm2 maybe icewm maybe other etc.
>
> all of them does exactly what's needed. windows management and menu.
>
> what else do you need to WORK? i mean work, not showing up to your
> friends.



O reason not the need! Our basest beggars
Are in the poorest thing superfluous.
Allow not nature more than nature needs,
Man's life is as cheap as beast's. Thou art a lady:
If only to go warm were gorgeous,
Why, nature needs not what thou gorgeous wear'st,
Which scarcely keeps thee warm. But, for true need--
You heavens, give me that patience, patience I need.
You see me here, you gods, a poor old man,
As full of grief as age, wretched in both.
If it be you that stirs these daughters' hearts
Against their father, fool me not so much
To bear it tamely; touch me with noble anger,
And let not women's weapons, water drops,
Stain my man's cheeks. No, you unnatural hags!
I will have such revenges on you both
That all the world shall--I will do such things--
What they are, yet I know not; but they shall be
The terrors of the earth. You think I'll weep.
No, I'll not weep.
I have full cause of weeping, but this heart
Shall break into a hundred thousand flaws,
Or ere I'll weep. O Fool, I shall go mad!

(Lear to his daughters Goneril and Regan,
"King Lear," Act 2, Scene 4, lines 263-285)

Sorry - couldn' resist!

atb

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


Re: fail with wireless network configuration with "SIOCS80211: Invalid argument"

2008-10-31 Thread Glyn Millington
Zhang Weiwu <[EMAIL PROTECTED]> writes:

> Paul B. Mahol wrote:
>> On 10/30/08, Zhang Weiwu <[EMAIL PROTECTED]> wrote:
>>   
>>> Zhang Weiwu wrote:
>>> 
 Hello. I am trying to get an AboveCable (model: ACPC 2000-01) wireless
 card connected to my home network with 40-bit Hex WEP Encryption on
 FreeBSD 6.1.

 # ifconfig wi0 inet 192.168.1.90 ssid ZWW wepmode on wepkey 0xea82552825
 ifconfig: SIOCS80211: Invalid argument

   
>>
>> Why is "deftxkey 1" missing ?
>>
>> from ifconfig(8)
>>
>>  Note that you must set a default transmit key with deftxkey for
>>^
>>  the system to know which key to use in encrypting outbound traf-
>>  fic
>>
>>   
> That quoted line of text is not appearing in my version (6.4) FreeBSD's
> manual.
>
> I tried to add "deftxkey 1", same result. a.k.a. the interface is
> configured, but DHCP couldn't obtain IP address, manually assigned IP
> address couldn't communicate with other hosts.

What do you have in /etc/rc.conf and in /boot/loader.conf?

atb


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


Re: flash-9, 10 on FreeBSD

2008-10-29 Thread Glyn Millington
"FBSD1" <[EMAIL PROTECTED]> writes:

> Mikhail Teterin <[EMAIL PROTECTED]> writes:
>
>> Sent by Glyn Millington:
>>> My solution was to install Wine and run the MS port of Firefox. So far
>>> it works flawlessly for me.
>>>
>> This has two problems:
>>
>>   1. It requires a (licensed) Windows install handy.
>
> No it doesn't. The MS version of Firefox is running here under Wine with
> no problems and definitely no Windows.  Why do you think it needs a
> Windows install?
>
>
>>   2. The solution is only suitable for i386 -- not for amd64, which is
>>  what I'm using.
>
> Ah well, there you have me!
>
> Glyn
> _______
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Glyn Millington
> Sent: Wednesday, October 29, 2008 3:41 PM
> To: Mikhail Teterin
> Cc: [EMAIL PROTECTED]; Danielisz Laszlo; [EMAIL PROTECTED]
> Subject: Re: flash-9, 10 on FreeBSD
>
>   What is not clear is do you run wine/firefox from the command line or 
> from
> within KDE or gnome?

An answer to this question and an apology for missing the question the
first time.  

Neither.  I use good old Fvwm, but actually launch MS Firefox from the
Rox filer.

I was surprised at how easy this was to set up.  I don't say it is right
or clever, but it does work, and I'm not so very interested in Flash that
I want to spend ages fiddling to make it work in the other ways that have
been suggested.  I'm getting older so like to pick my fights with care!


atb


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


Re: Calling FBSD1 -

2008-10-29 Thread Glyn Millington
Glyn Millington <[EMAIL PROTECTED]> writes:

> Hi there FBSD1
>
> I note that your system has twice sent a copy of my post, unaltered, in
> the thread "Flash 9,10 FreeBSD" to the freebsd-questions list!
>
> Is there something wrong ?

Apologies Joeb,   I see now that you did in fact append a question.  But
why two copies?

atb


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


Calling FBSD1 -

2008-10-29 Thread Glyn Millington

Hi there FBSD1

I note that your system has twice sent a copy of my post, unaltered, in
the thread "Flash 9,10 FreeBSD" to the freebsd-questions list!

Is there something wrong ?


atb



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


Re: flash-9, 10 on FreeBSD

2008-10-29 Thread Glyn Millington
Mikhail Teterin <[EMAIL PROTECTED]> writes:

> Sent by Glyn Millington:
>> My solution was to install Wine and run the MS port of Firefox. So far
>> it works flawlessly for me.
>>   
> This has two problems:
>
>   1. It requires a (licensed) Windows install handy.

No it doesn't. The MS version of Firefox is running here under Wine with
no problems and definitely no Windows.  Why do you think it needs a
Windows install? 


>   2. The solution is only suitable for i386 -- not for amd64, which is
>  what I'm using.

Ah well, there you have me!

atb




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


Re: flash-9, 10 on FreeBSD

2008-10-28 Thread Glyn Millington
Dánielisz László <[EMAIL PROTECTED]> writes:

> Hello!
>
> I also had some fight with Adobe's Flash player, but unfortunately without 
> success.
> I remaing curios about any solution.


Szia!

To be honest I gave up with Flash for either the FreeBSD or Linux version
of Firefox.  Couldn't get it to work properly.

My solution was to install Wine and run the MS port of Firefox.  So far
it works flawlessly for me.

Mw notes are here :-


look for the section headed "Flash? Windows!"

atb

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


Re: updating a port with problems (libxml2)

2008-10-17 Thread Glyn Millington
Colin Brace <[EMAIL PROTECTED]> writes:

> Hi all,
>
> I use portsnap to keep the port tree of my FreeBSD 7 box up to date.
> According to portaudit, which I run nightly, there is a problem with the
> current version of libxml2. So, as usual, I run  "sudo portsnap fetch &&
> sudo portsnap update", and then: 
>
> $ cd /usr/ports/textproc/libxml2
> $ sudo make deinstall
> $ sudo make reinstall clean
>
> But this last command results in an error:
>
> ===>  libxml2-2.6.32 has known vulnerabilities:
> => libxml2 -- two vulnerabilities.
>Reference:
> 
> => Please update your ports tree and try again.
>
> It would appear that the port has not yet been updated. Is this some
> temporary glitch? Otherwise, the approach I use is not very robust, since I
> have now managed to deinstall a library upon which a dozen or so programs
> depend. However, this is the first time this has happened.
>
> Comments, suggestions most welcome.

Hi Colin,

I hit  a similar difficulty with cups-base a few days ago.  Matthew
Seaman suggested this as a way of getting the dodgy port to install,
which I used because I *really* needed to print something:-



 portupgrade -m "DISABLE_VULNERABILITIES=yes" cups-base


Lo and behold, within 6 hours of my re-installing the vulnerable port,
the port was fixed and I upgraded to that


hth




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


Re: cups-base port broken???

2008-10-14 Thread Glyn Millington
Matthew Seaman <[EMAIL PROTECTED]> writes:

> Glyn Millington wrote:
> | Is there a work-around which will get me a functional cups-base
>
> First read 
> http://www.vuxml.org/freebsd/ce29ce1d-971a-11dd-ab7e-001c2514716c.html
> and the references cited therein and decide if installing this package is 
> still
> a good idea despite the security problems.
>
> Then, if you do decide to go ahead:
>
> ~   # portupgrade -m "DISABLE_VULNERABILITIES=yes" cups-base
>
> Otherwise, wait until a fix comes out for the package.  For something
> like this, a fix will usually be available within a week or so.

Bless you and many thanks!  had done the homework, but I didn't know the
incantation which would allow me to live dangerously ...

atb





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


cups-base port broken???

2008-10-14 Thread Glyn Millington


Happy St. Callistus' Day!


FreeBSD 7 release.

I'm having trouble upgrading cups-base.  With an up-to-date ports tree
this is what I get.

,
| glynthebearded# portupgrade cups-base
| --->  Upgrading 'cups-base-1.3.5_2' to 'cups-base-1.3.8_1' (print/cups-base)
| --->  Building '/usr/ports/print/cups-base'
| ===>  Cleaning for cups-base-1.3.8_1
| ===>  cups-base-1.3.8_1 has known vulnerabilities:
| 
| ** Command failed [exit code 1]: /usr/bin/script -qa
|/tmp/portupgrade.5624.0 env UPGRADE_TOOL=portupgrade
|UPGRADE_PORT=cups-base-1.3.5_2 UPGRADE_PORT_VER=1.3.5_2 make
| 
| ** Fix the problem and try again.
| ** Listing the failed packages (-:ignored / *:skipped / !:failed)
| ! print/cups-base (cups-base-1.3.5_2)   (unknown build error)
`

The story behind this is that I deinstalled  the cups-base package, then
found that I couldn't reinstall; so did pkg_add -r and got
cups-base-1.3.5_2; which is fine except that it won't work with the
installed version of gnutls, it wants an older version.

Is there a work-around which will get me a functional cups-base


atb


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


Re: Utility to extract iso files without burning

2008-10-03 Thread Glyn Millington
Warren Liddell <[EMAIL PROTECTED]> writes:

> Im looking for a GUI or command line that will allow me to extract 
> information 
> within an ISO file... im using FreeBSD 7.1-PRERELEASE KDE4.1.1 AMD64


well, you can mount it and then search around inside ..


mount_cd9660 -o ro /dev/`mdconfig -a -t vnode -f /path/to/file.iso` /mount-point



Good luck!


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


Re: tex, teTex, LaTeX help

2008-07-30 Thread Glyn Millington
"Joey Mingrone" <[EMAIL PROTECTED]> writes:

> I've been told that LaTeX is probably the best solution for creating
> scientific papers with math fonts, so I'm trying to get a working
> installation.

A noble ambition!

> fonts, but it seems they are in the teTex port, but that port
> conflicts with the tex port and it seems teTex is no longer being
> updated.

Alas the news about teTeX is true.

> Is there a guide for getting all this set up, or can some kind soul
> suggest a installation method that works well for them?

Have you had a look at TeXLive?


http://www.tug.org/texlive/

For FreeBSD that means downloading the iso, mounting it like this


mount_cd9660 -o ro /dev/`mdconfig -a -t vnode -f /path/to/file.iso` /mount-point

cd to the mount point and look out for script entitled install-tl.sh

the script pretty well takes you through the installation


Good luck!


atb



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


Re: FreeBSD for webserver?

2008-07-22 Thread Glyn Millington
Paul Schmehl <[EMAIL PROTECTED]> writes:

> This seems to be a common misperception about ports.  Ports aren't
> something magical.  They do exactly what you would do from the
> commandline (i.e. ./configure, make, make install), except they come
> with several bonuses.
>
> 1) The port maintainer has already worked out all the quirks to make
> it compile and install properly on FreeBSD.  2) The port maintainer
> has already supplied patches that allow the software to build
> correctly on FreeBSD.  3) All the dependencies are already taken care
> of.  4) Upgrading is quite simple and straightforward.  5) The
> software is now architechture-independent (in most cases), meaning you
> can move from Intel to AMD (for example) without having to worry that
> the software will no longer build and you'll have to start from
> scratch again.

Could I add 6.  Removing software from the system quickly and cleanly is
also a doddle!?  Building/installing "by hand" often leaves you hunting
down files ...


atb




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


Re: devfs and scanner

2008-05-23 Thread Glyn Millington
Sébastien Morand <[EMAIL PROTECTED]> writes:

>> Is the uscanner0 device  also dealt with in /etc/devfs.rules ?
>>
>
> I don't have such a file, is devd.conf the same purpose?

No it isn't.


/etc/devfs.conf deals with devices avaiable at boot time - cdrom drives
etc

devices that are plugged in and unplugged - usb gadgets like scanners :-)
- are handled by /etc/devfs.rules


So get rid of that entry in /etc/devfs.conf and insert the right thing in
/etc/devfs.rules

Mine looks like this:-


[system=10]
add path 'unlpt*' mode 0660 group cups
add path 'ulpt*' mode 0660 group cups
add path 'lpt*' mode 0660 group cups
## Glyn added these below
add path 'da*'  mode 0660 group operator
add path 'uscanner*' mode 0660 group operator
add path 'tap*' mode 0660 group operator

You will want to change operator to scanner for your scanner group. 




That first line gives the ruleset a name and a number; then in
/etc/rc.conf you should put the line

devfs_system_ruleset="system"

That should work after a reboot.

atb


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


Re: devfs and scanner

2008-05-22 Thread Glyn Millington
Sébastien Morand <[EMAIL PROTECTED]> writes:

> Hi
>
> a would like to up my scanner automatically ofr regular user, so I
> create theses lines in devfs.conf:
> link  uscanner0   scanner
> perm  uscanner0   0660
> own   uscanner0   root:scanner
>
> I create the group scanner and add the user in it, but it doesn't
> work. When I plug the scanner I get:
> $ ls -l /dev/uscanner0
> crw-r--r--  1 root  operator0, 124 May 22 21:25 /dev/uscanner0
>
> And what I would like is:
> crw-rw-r--  1 root  scanner0, 124 May 22 21:25 /dev/uscanner0
>
> How can I achieve this?

Is the uscanner0 device  also dealt with in /etc/devfs.rules ?

atb

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


Re: Problem Sending Mail With Postfix

2008-05-19 Thread Glyn Millington
"Montag" <[EMAIL PROTECTED]> writes:

> I've got Postfix SMTP server set up on a FreeBSD 7 box.  I'm receiving
> mail just fine, and I can send mail to my other web accounts (gmail),
> but my mail is getting rejected from the mailing lists.  Here is the
> output from the local mail queue:
>
> host mx1.free.bsd.org said: my.mywebsite.com: Helo command rejected:
> Host not found (in reply to RCPT TO command))
> freebsd-questions@freebsd.org
>
> Any thoughts?  

Montag, what values do you have in /usr/local/etc/postfix/main.cf for


mydomain
myorigin
mydestination
mynetworks?


What is the FQDN of the machine you are trying to send mail from? 


And yes, the real error mesage would be a help!


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


Re: another problem

2008-05-17 Thread Glyn Millington
John Wynstra <[EMAIL PROTECTED]> writes:

> I applied this fix, it worked for the previous problem and I came to
> the next one.

The story of my life :-) 

> I am getting the impression this is very filthy code.

Couldn't possibly comment!


Not sure I can help directly with this one but ..

1. Is your ports tree up to date? And have you run  pkgdb -F lately just
   to make the database is in good shape?   I'm pretty sure  that's NOT the
   problem here  but never does any harm to check :-)

2. There are ways around building openoffice natively.  This was a major
   step for me as I  need the thing occasionally and my hardware is too
   antique to build it that way.  You can either
   

   A. Install a native FreeBSD binary package - take a look in
  
  ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/
  
  I'm told this should run on a -7.0-release   system too. But no
  guarantees!



   B. Install a *Linux* binary and run that through FreeBSD's
  compatibility set-up.  This is what I am currently doing and it
  works perfectly as far as I can tell.  Detailed instructions here

http://www.math.colostate.edu/~reinholz/freebsd/linux_openoffice.html


One other thought - it helps if you reply _beneath_ the person to whom
you are replying.  That way Question and Answer follow in logical order,
which helps if there are several layers of Q and A


hth




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


Re: another problem

2008-05-17 Thread Glyn Millington
John Wynstra <[EMAIL PROTECTED]> writes:

> Now what is -lgio-2.0? and why is it missing?
> What tools do I have for debugging this?

Well, I'm pretty new to this too, but you almost certainly have grep.


So you could 


$cd /usr/ports

$grep -R lgio-2.0 *


Depending on where in the ports tree it resides, this may take a few
minutes to run, but it will in the end spit out the line you need:-

devel/gio-fam-backend/files/patch-gio_fam_Makefile.in:+ -lgio-2.0 \


hth



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


Re: another problem

2008-05-17 Thread Glyn Millington
John Wynstra <[EMAIL PROTECTED]> writes:

> And glib2 is part of Gnome?
> I never installed Gnome because I don't like Gnome.
> I tried to manually install /usr/ports/devel/gio-fam-backend and got
> the same error.
>
> Perhaps I need to get Gnome off the installation CDROM.
> I really only need the library stuff.
>
> Alternatively is there an Internet source for the missing Gnome libraries?

Yes there is.

Here is a snip from the Makefile in /usr/ports/devel/gio-fam-backend

,
| PORTNAME=   gio-fam-backend
| PORTVERSION=2.16.3
| CATEGORIES= devel
| MASTER_SITES=   
${MASTER_SITE_GNOME:S,%SUBDIR%,sources/glib/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/},}
 \
| 
ftp://ftp.gtk.org/pub/glib/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}/ \
| ftp://ftp.gimp.org/pub/%SUBDIR%/ \
| ftp://ftp.cs.umn.edu/pub/gimp/%SUBDIR%/ \
| http://www.ameth.org/gimp/%SUBDIR%/ \
| ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,graphics/gimp/%SUBDIR%,}
| MASTER_SITE_SUBDIR= gtk/v${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
| DISTNAME=   glib-${PORTVERSION}
`

Compare the 2nd line with the last - this port needs glib-2.16.3


Now

$cat /usr/ports/devel/glib20/distinfo

MD5 (gnome2/glib-2.16.3.tar.bz2) = 195f9a803cc5279dbb39afdf985f44cb
SHA256 (gnome2/glib-2.16.3.tar.bz2) = 
562742a234c7b842d891ec8ed4c9bead093c33863cca01e31912f59f6c8e887d
SIZE (gnome2/glib-2.16.3.tar.bz2) = 4540919

so if you install that port then gio-fam-backend will work.  It worked here!

hth

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


Re: Very slow xfce

2008-05-17 Thread Glyn Millington
"Nishita Desai" <[EMAIL PROTECTED]> writes:

> On Sat, May 17, 2008 at 3:27 PM, Glyn Millington <[EMAIL PROTECTED]> wrote:
>>>> Have a look at /var/log/Xorg.0.log  - any interesting error messages?
>
>> "Nishita Desai" <[EMAIL PROTECTED]> writes:
>>> Nothing I can spot.
>
> Okay, I didn't see this earlier.
>
> [drm] failed to load kernel module "i915"
> (EE) [drm] drmOpen failed.
> (EE) intel(0): [dri] DRIScreenInit failed. Disabling DRI.
>
> I have dri-7.0.3_1,2 installed
>
> xdriinfo gives
> # xdriinfo
> Xlib: connection to ":0.0" refused by server
> Xlib: No protocol specified
>
> Error: Couldn't open display


Try adding this to xorg.conf


Section "DRI"
Mode0666
EndSection



hth







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


Re: Very slow xfce

2008-05-17 Thread Glyn Millington
"Nishita Desai" <[EMAIL PROTECTED]> writes:

> Hello,
>
> I am having a very strange problem. I just finished installing
> Xfce-4.4 and got it to work with XDM. But all xfce native applications
> are behaving very strangely:
>
> 1. The terminal doesn't echo back my characters till I've typed the
> next character. This is applicable to backspace key and password
> prompts (which wont show up till _after_ if finished typing and
> pressed enter)
> 2. The menus dont render properly. Again, I can see the the items only
> when I hover over them.
>
> xterm works fine, so do menus within Firefox. Although my cursor
> disappears in Firefox's text-boxes sometimes.
>
> I have just installed exactly this combination on another system and
> it works fine. I am quite at a loss where to even start looking. Any
> help would be appreciated.


Just as a start, until the experts arrive ..

Is Xfce just too much for the system?  It ran nicely here a while back on
a 900mhz machine - but was noticeably slower than fvwm, so I ditched it
:-)

Firefox works - but does it take forever for ff to start?


Xterm works - close down firefox and everything else, fire up an xterm
and run top - is there anything using up a lot of memory or cpu that
shouldn't be there at all?

Have a look at /var/log/Xorg.0.log  - any interesting error messages?


What does your .xinitrc look like?  


atb



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


Re: Linux compat library error: ELF file OS ABI invalid

2008-05-14 Thread Glyn Millington
Kris Kennaway <[EMAIL PROTECTED]> writes:

>> Sorry Kris, I was in part plain wrong in my first reply to this one.
>>
>> Linking /compat/linux/usr/X11R6 to /compat/linux/usr/local fixed my
>> initial problem
>>
>>
>>> | /usr/compat/linux/opt/openoffice.org2.4/program/soffice.bin:
>>> | error while loading shared libraries:
>>> | /usr/local/lib/libXext.so.6: ELF file OS ABI invalid
>>
>> What I still don't get is why ldconfig doesn't find the the X11R6
>> directory, when /compat/linux/etc/ld.so.conf point at it
>>
>>
>> include ld.so.conf.d/*.conf
>> /lib
>> /usr/lib
>> /usr/local/lib
>>
>> it seems to be ignoring the first line.
>>
>> Either there is a real problem here or the real problem is my ignorance,
>> and I'm not sure which it is!
>
> You re-ran the ldconfig command that rescans the specified directory
> to rebuild its cache, right? :)

Well - the problem was my own blindness.  There was a LD_LIBRARY variable
in .bashrc which seems to have messed up the linux path stuff. Get rid of
that, run the ldconfig just to be sure, and all works as it should.  I
had *completely* forgotten it was there - have just moved to FreeBSD from
Linux, after three years of dithering!, and had not removed that line
when I brought my .bashrc with me.

Sorry for the noise, and *many* thanks for all the help - as always I've
learned some useful things.


atb



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


Re: Linux compat library error: ELF file OS ABI invalid

2008-05-13 Thread Glyn Millington
Glyn Millington <[EMAIL PROTECTED]> writes:

>
> Sorry Kris, I was in part plain wrong in my first reply to this one.
>
> Linking /compat/linux/usr/X11R6 to /compat/linux/usr/local fixed my
> initial problem
>
>
>>>>>>>>>> | /usr/compat/linux/opt/openoffice.org2.4/program/soffice.bin:
>>>>>>>>>> | error while loading shared libraries:
>>>>>>>>>> | /usr/local/lib/libXext.so.6: ELF file OS ABI invalid
>
> What I still don't get is why ldconfig doesn't find the the X11R6
> directory, when /compat/linux/etc/ld.so.conf point at it
>
>
> include ld.so.conf.d/*.conf
> /lib
> /usr/lib
> /usr/local/lib
>
> it seems to be ignoring the first line.
>
> Either there is a real problem here or the real problem is my ignorance,
> and I'm not sure which it is!


It was my ignorance plus an entry in ~/.bashrc about which I had totally
forgotten.   Apologies all round I'm afraid 

Many thanks - 

atb



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


Re: Linux compat library error: ELF file OS ABI invalid

2008-05-13 Thread Glyn Millington
Tijl Coosemans <[EMAIL PROTECTED]> writes:

>> Ah! (bangs head against wall!)   Yes I do:-
>> 
>> in ~/.bashrc  
>> 
>> LD_LIBRARY_PATH="/usr/local/lib:/usr/local/share/squeak/3.7-7"
>> 
>> Having removed that realplayer comes up with no problem.
>> 
>> Should have spotted that one :-( 
>> 
>> So many thanks for solving both my problems today!  
>
> :) Your welcome. Does OpenOffice actually still need that symlink now?

Will check that one later - must finish what I'm working on with OO
first!  

Many thanks again, and sorry to have bothered the list with this!


atb 






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


Re: Linux compat library error: ELF file OS ABI invalid

2008-05-13 Thread Glyn Millington
Boris Samorodov <[EMAIL PROTECTED]> writes:

> On Tue, 13 May 2008 19:16:51 +0100 Glyn Millington wrote:
>
>> > % echo ${LD_LIBRARY_PATH}
>> /usr/local/lib:/usr/local/share/squeak/3.7-7
>
> The culprit is the first path. It results in non-standard linux
> path-finding. If you remove it all _linux_ troubles should go away.
> I said "linux" since assume that there was a reason why you has
> that path at the first place.


There was indeed - but thank you very much!I should have spotted
this one myself :-( but forgot it was there (an old entry I should have
removed.)



atb






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


Re: Linux compat library error: ELF file OS ABI invalid

2008-05-13 Thread Glyn Millington
Boris Samorodov <[EMAIL PROTECTED]> writes:

> On Tue, 13 May 2008 09:14:54 +0100 Glyn Millington wrote:
>
>
>> FreeBSD 7.0 release, ports currently up-to-date
>> Trying to launch Linux Open Office 2.4 I get the following error message
>
>> ,
>> | /usr/compat/linux/opt/openoffice.org2.4/program/soffice.bin: error while
>> | loading shared libraries: /usr/local/lib/libXext.so.6: ELF file OS ABI
>> | invalid
>> `
>
>> Now I *think*   that what it ought to load is 
>> /usr/compat/linux/usr/X11R6/lib/libXext.so.6
>> but it goes for the FreeBSD X extension lib instead.
>> Can anyone help me to fix this?
>
> Please, show an output for:


Hi Boris,  thank you for taking an interest in my struggles :-)

Ok - here we go .


> -
> % uname -a

FreeBSD glynthebearded.millingtons.org 7.0-RELEASE FreeBSD 7.0-RELEASE
#0: Mon Apr 7 21:33:37 BST 2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GLYN1KERNEL i386

The changes in GLYNKERNEL from GENERIC relate only to acpi and apm.


> % pkg_info -xI 'linux'

linux-atk-1.9.1 Accessibility Toolkit, Linux/i386 binary
linux-cairo-1.0.2   Linux cairo binary
linux-expat-1.95.8  Linux/i386 binary port of Expat XML-parsing library
linux-flashplugin-9.0r124 Adobe Flash Player NPAPI Plugin
linux-fontconfig-2.2.3_7 Linux/i386 binary of Fontconfig
linux-glib2-2.6.6   Version 2.X Linux/i386 binary port of GLib
linux-gtk2-2.6.10   GTK+ library, version 2.X, Linux binary
linux-hicolor-icon-theme-0.5_1 A high-color icon theme shell from the 
FreeDesktop project
linux-jpeg-6b.34RPM of the JPEG lib
linux-nvu-1.0   A complete Web Authoring System
linux-openssl-0.9.7f SSL and crypto library (Linux Version)
linux-pango-1.10.2  Linux pango binary
linux-png-1.2.8_2   RPM of the PNG lib
linux-realplayer-10.0.9.809.20070726 Linux RealPlayer 10 from RealNetworks
linux-scim-libs-1.4.4 Smart Common Input Method platform, library part, Linux 
bin
linux-sun-jdk-1.5.0.15,2 Sun Java Development Kit 1.5 for Linux
linux-tiff-3.7.1TIFF library, Linux/i386 binary
linux-xorg-libs-6.8.2_5 Xorg libraries, linux binaries
linux_base-fc-4_13  Base set of packages needed in Linux mode (for i386/amd64)


> % strings /compat/linux/etc/ld.so.cache | grep libXextlibXext.so.6

/usr/X11R6/lib/libXext.so.6

> % echo ${LD_LIBRARY_PATH}

/usr/local/lib:/usr/local/share/squeak/3.7-7

> % sysctl -a | grep linux

hw.snd.compat_linux_mmap: 0
compat.linux.oss_version: 198144
compat.linux.osrelease: 2.4.2
compat.linux.osname: Linux






> -
>
> As well as 'cat ' if it's not very long. If it
> is long then please give an URL to that file.

#!/bin/sh
/usr/compat/linux/bin/sh /usr/compat/linux/opt/openoffice.org2.4/program/soffice


thanks again






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


Re: Linux compat library error: ELF file OS ABI invalid

2008-05-13 Thread Glyn Millington
Kris Kennaway <[EMAIL PROTECTED]> writes:

> Mel wrote:
>> On Tuesday 13 May 2008 15:48:58 Glyn Millington wrote:
>>> Mel <[EMAIL PROTECTED]> writes:
>>>> On Tuesday 13 May 2008 14:05:43 Glyn Millington wrote:
>>>>>>>>> Trying to launch Linux Open Office 2.4 I get the following error
>>>>>>>>> message ,
>>>>>>>>>
>>>>>>>>> | /usr/compat/linux/opt/openoffice.org2.4/program/soffice.bin:
>>>>>>>>> | error while loading shared libraries:
>>>>>>>>> | /usr/local/lib/libXext.so.6: ELF file OS ABI invalid
>>>>>>>>>
>>>>>>>>> `
>>>>> that include statement leads to /usr/X11R6
>>> Wow - can I just check that I have this right before I do it?!
>>>
>>>> Best fix:
>>>> rm /usr/X11R6
>>> get rid of /usr/X11R6, which on a system-wide basis is a link to /usr/local
>>>
>>>> touch /usr/X11R6
>>> Create an empty  *file* /usr/X11R6
>>>
>>>> chflags schg /usr/X11R6
>>> make it system-immutable
>>>
>>>> /sbin/ldconfig -m /usr/local/lib (just to force the linker to re-read the
>>>> dupes).
>>> Merge new stuf in the /usr/local/lib directory into the hints file
>>>
>>>> As a bonus, the old apps you still have pointing to /usr/X11R6
>>> But the app in question needs to get at
>>>
>>> /usr/compat/linux/usr/X11R6/
>>
>> The app however looks for /usr/X11R6/lib/libXfoo.so.1. If both exist
>> in base system and linux emulation, then the linker will hand it the
>> first one it finds, which because of the /usr/X11R6 symlink to
>> /usr/local will be the FreeBSD one.
>
> The lookup order for linux binaries is /compat/linux/foo first, then
> /foo if the former does not exist.  So if /compat/linux/usr/X11R6
> exists, then it is seen by linux binaries (similarly for files below
> this path).  As far as I know, this file should be a directory, not a
> symlink.  Moreover, the desired libXext.so.6 lives in that
> directory. It is a symlink pointing to another file in the same
> directory.  If neither exist (or exist but are corrupted), then the
> linux binary will fall back to the bogus FreeBSD one in another search
> path.


Sorry Kris, I was in part plain wrong in my first reply to this one.

Linking /compat/linux/usr/X11R6 to /compat/linux/usr/local fixed my
initial problem


>>>>>>>>> | /usr/compat/linux/opt/openoffice.org2.4/program/soffice.bin:
>>>>>>>>> | error while loading shared libraries:
>>>>>>>>> | /usr/local/lib/libXext.so.6: ELF file OS ABI invalid

What I still don't get is why ldconfig doesn't find the the X11R6
directory, when /compat/linux/etc/ld.so.conf point at it


include ld.so.conf.d/*.conf
/lib
/usr/lib
/usr/local/lib

it seems to be ignoring the first line.

Either there is a real problem here or the real problem is my ignorance,
and I'm not sure which it is!

with thanks yet again


atb


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


Re: Linux compat library error: ELF file OS ABI invalid

2008-05-13 Thread Glyn Millington
Tijl Coosemans <[EMAIL PROTECTED]> writes:

> On Tuesday 13 May 2008 17:49:02 Glyn Millington wrote:
>> Tijl Coosemans <[EMAIL PROTECTED]> writes:
>>> On Tuesday 13 May 2008 16:50:51 Glyn Millington wrote:
>>>> Linking /compat/linux/usr/X11R6 to /compat/linux/usr/local got
>>>> Openoffice running but reaplay is giving the same kind of error :-(
>>>
>>> Which error exactly?
>> 
>> This baby  (sorry - should have included it)
>> 
>> [EMAIL PROTECTED]:~$ /usr/compat/linux/bin/sh realplay
>> 
>> /usr/local/lib/RealPlayer/realplay.bin: error while loading shared
>> libraries: /usr/local/lib/libgdk-x11-2.0.so.0: ELF file OS ABI invalid
>> 
>> 
>> I'll bet it wants this one :-)
>> 
>> /usr/compat/linux/usr/lib/libgdk-x11-2.0.so.0
>> 
>> 
>> and of course I have just linked /usr/compat/linux/usr/local to X11R6
>> lol 
>> 
>> 
>> Can I win on this one :-)
>
> That's suspicious, realplayer just works for me. Do you have some LD_*
> variable defined in your environment?

Ah! (bangs head against wall!)   Yes I do:-

in ~/.bashrc  

LD_LIBRARY_PATH="/usr/local/lib:/usr/local/share/squeak/3.7-7"

Having removed that realplayer comes up with no problem.

Should have spotted that one :-( 


So many thanks for solving both my problems today!  


atb




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


Re: Linux compat library error: ELF file OS ABI invalid

2008-05-13 Thread Glyn Millington
Kris Kennaway <[EMAIL PROTECTED]> writes:

> Mel wrote:
>> On Tuesday 13 May 2008 15:48:58 Glyn Millington wrote:
>>> Mel <[EMAIL PROTECTED]> writes:
>>>> On Tuesday 13 May 2008 14:05:43 Glyn Millington wrote:
>>>>>>>>> Trying to launch Linux Open Office 2.4 I get the following error
>>>>>>>>> message ,
>>>>>>>>>
>>>>>>>>> | /usr/compat/linux/opt/openoffice.org2.4/program/soffice.bin:
>>>>>>>>> | error while loading shared libraries:
>>>>>>>>> | /usr/local/lib/libXext.so.6: ELF file OS ABI invalid
>>>>>>>>>
>>>>>>>>> `
>>>>> that include statement leads to /usr/X11R6
>>> Wow - can I just check that I have this right before I do it?!
>>>
>>>> Best fix:
>>>> rm /usr/X11R6
>>> get rid of /usr/X11R6, which on a system-wide basis is a link to /usr/local
>>>
>>>> touch /usr/X11R6
>>> Create an empty  *file* /usr/X11R6
>>>
>>>> chflags schg /usr/X11R6
>>> make it system-immutable
>>>
>>>> /sbin/ldconfig -m /usr/local/lib (just to force the linker to re-read the
>>>> dupes).
>>> Merge new stuf in the /usr/local/lib directory into the hints file
>>>
>>>> As a bonus, the old apps you still have pointing to /usr/X11R6
>>> But the app in question needs to get at
>>>
>>> /usr/compat/linux/usr/X11R6/
>>
>> The app however looks for /usr/X11R6/lib/libXfoo.so.1. If both exist
>> in base system and linux emulation, then the linker will hand it the
>> first one it finds, which because of the /usr/X11R6 symlink to
>> /usr/local will be the FreeBSD one.
>
> The lookup order for linux binaries is /compat/linux/foo first, then
> /foo if the former does not exist.  So if /compat/linux/usr/X11R6
> exists, then it is seen by linux binaries (similarly for files below
> this path).  As far as I know, this file should be a directory, not a
> symlink.  Moreover, the desired libXext.so.6 lives in that
> directory. It is a symlink pointing to another file in the same
> directory.  


Just to summarise :-)

So far this description above fits my situation exactly - everything is where
you say it should be, and everything worked until a couple of days
ago. Having done a  portupgrade -akOP recently things appear tio have
gone wrong with the results as described originally.


For some reason  /usr/compat/linux/opt/openoffice.org2.4/program/soffice.bin

can't find the linux library which is where you describe it, until I
make a symlink, linking  /compat/linux/usr/local to X11R6 - then soffice
works but other things break


> If neither exist (or exist but are corrupted), then the linux binary
> will fall back to the bogus FreeBSD one in another search path.

But doesn't the above suggest that

A. It exists and
B. It works when soffice.bin can find it.

?

atb





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


Re: Linux compat library error: ELF file OS ABI invalid

2008-05-13 Thread Glyn Millington
Tijl Coosemans <[EMAIL PROTECTED]> writes:

> On Tuesday 13 May 2008 16:34:11 Glyn Millington wrote:
>> Tijl Coosemans <[EMAIL PROTECTED]> writes:
>>> On Tuesday 13 May 2008 10:14:54 Glyn Millington wrote:
>>>> FreeBSD 7.0 release, ports currently up-to-date
>>>> 
>>>> 
>>>> Trying to launch Linux Open Office 2.4 I get the following error
>>>> message
>>>> 
>>>> 
>>>> ,
>>>> | /usr/compat/linux/opt/openoffice.org2.4/program/soffice.bin: error while
>>>> | loading shared libraries: /usr/local/lib/libXext.so.6: ELF file OS ABI
>>>> | invalid
>>>> `
>>>> 
>>>> Now I *think*   that what it ought to load is 
>>>> 
>>>> /usr/compat/linux/usr/X11R6/lib/libXext.so.6
>>>> 
>>>> but it goes for the FreeBSD X extension lib instead.
>>>> 
>>>> Can anyone help me to fix this?
>>>
>>> If /compat/linux/usr/local doesn't exist, perhaps making it a
>>> symlink to X11R6 does the trick.
>> 
>> Spot on!!Many thanks :-)
>> 
>> What I don't understand is why that works, when
>> /compat/linux/etc/ld.so.conf points at the right place in the very
>> first line!
>
> I suspect some OO executable or lib has some search paths hardcoded
> which the linker checks before using the ldconfig cache. If you want
> you could check this with: objdump -p  | grep RPATH

That gets me a 

objdump: soffice: File format not recognized

> Also, when a Linux program opens a file (i.e. libXext.so.6), FreeBSD
> first tries to find it under /compat/linux, then under /. So linker
> tries to open /usr/local/lib/libXext.so, but it didn't exist under
> /compat/linux so it got the FreeBSD libXext.so.

OK - tghatnk you, that bit I *do* understand.

many thanks





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


Re: Linux compat library error: ELF file OS ABI invalid

2008-05-13 Thread Glyn Millington
Tijl Coosemans <[EMAIL PROTECTED]> writes:

> On Tuesday 13 May 2008 16:50:51 Glyn Millington wrote:
>> Linking /compat/linux/usr/X11R6 to /compat/linux/usr/local got
>> Openoffice running but reaplay is giving the same kind of error :-(
>
> Which error exactly?

This baby  (sorry - should have included it)

[EMAIL PROTECTED]:~$ /usr/compat/linux/bin/sh realplay

/usr/local/lib/RealPlayer/realplay.bin: error while loading shared
libraries: /usr/local/lib/libgdk-x11-2.0.so.0: ELF file OS ABI invalid


I'll bet it wants this one :-)

/usr/compat/linux/usr/lib/libgdk-x11-2.0.so.0


and of course I have just linked /usr/compat/linux/usr/local to X11R6 lol


Can I win on this one :-)

atb




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


Re: Linux compat library error: ELF file OS ABI invalid

2008-05-13 Thread Glyn Millington
Mel <[EMAIL PROTECTED]> writes:

> On Tuesday 13 May 2008 15:48:58 Glyn Millington wrote:
>> Mel <[EMAIL PROTECTED]> writes:
>> > On Tuesday 13 May 2008 14:05:43 Glyn Millington wrote:
>> >> >>>> Trying to launch Linux Open Office 2.4 I get the following error
>> >> >>>> message ,
>> >> >>>>
>> >> >>>> | /usr/compat/linux/opt/openoffice.org2.4/program/soffice.bin:
>> >> >>>> | error while loading shared libraries:
>> >> >>>> | /usr/local/lib/libXext.so.6: ELF file OS ABI invalid
>> >> >>>>
>> >> >>>> `
>> >>
>> >> that include statement leads to /usr/X11R6
>>
>> Wow - can I just check that I have this right before I do it?!
>>
>> > Best fix:
>> > rm /usr/X11R6
>>
>> get rid of /usr/X11R6, which on a system-wide basis is a link to /usr/local
>>
>> > touch /usr/X11R6
>>
>> Create an empty  *file* /usr/X11R6
>>
>> > chflags schg /usr/X11R6
>>
>> make it system-immutable
>>
>> > /sbin/ldconfig -m /usr/local/lib (just to force the linker to re-read the
>> > dupes).
>>
>> Merge new stuf in the /usr/local/lib directory into the hints file
>>
>> > As a bonus, the old apps you still have pointing to /usr/X11R6
>>
>> But the app in question needs to get at
>>
>> /usr/compat/linux/usr/X11R6/
>
> The app however looks for /usr/X11R6/lib/libXfoo.so.1. If both exist in base 
> system and linux emulation, then the linker will hand it the first one it 
> finds, which because of the /usr/X11R6 symlink to /usr/local will be the 
> FreeBSD one.

ok - got it.

> And yes, Kris, this isn't the 'proper' way, but it's the way that works. I'd 
> be happy to know the proper way as all suggestions I found about 'fixing' 
> linux ldconfig setup generated bogus results (ie. fixed nothing) and this 
> fixed everything.

Me too!!

Linking /compat/linux/usr/X11R6 to /compat/linux/usr/local got Openoffice
running but reaplay is giving the same kind of error :-(




> I always suspected this to be because the linker look up is correct, but the 
> actual file is handed in the base system not in the /compat/linux chroot, but 
> I haven't bothered to verify that.

OK - will await wisdom on this one :-)

atb and thanks again



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


Re: Linux compat library error: ELF file OS ABI invalid

2008-05-13 Thread Glyn Millington
Glyn Millington <[EMAIL PROTECTED]> writes:

> Tijl Coosemans <[EMAIL PROTECTED]> writes:
>
>> On Tuesday 13 May 2008 10:14:54 Glyn Millington wrote:
>>> FreeBSD 7.0 release, ports currently up-to-date
>>> 
>>> 
>>> Trying to launch Linux Open Office 2.4 I get the following error message
>>> 
>>> 
>>> ,
>>> | /usr/compat/linux/opt/openoffice.org2.4/program/soffice.bin: error while
>>> | loading shared libraries: /usr/local/lib/libXext.so.6: ELF file OS ABI
>>> | invalid
>>> `
>>> 
>>> Now I *think*   that what it ought to load is 
>>> 
>>> /usr/compat/linux/usr/X11R6/lib/libXext.so.6
>>> 
>>> but it goes for the FreeBSD X extension lib instead.
>>> 
>>> Can anyone help me to fix this?
>>
>> If /compat/linux/usr/local doesn't exist, perhaps making it a symlink
>> to X11R6 does the trick.
>
> Spot on!!Many thanks :-)

Whoops - spoke to soon :-)  Realplayer still doesn't get it!

Thanks for OO though.


atb




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


Re: Linux compat library error: ELF file OS ABI invalid

2008-05-13 Thread Glyn Millington
Tijl Coosemans <[EMAIL PROTECTED]> writes:

> On Tuesday 13 May 2008 10:14:54 Glyn Millington wrote:
>> FreeBSD 7.0 release, ports currently up-to-date
>> 
>> 
>> Trying to launch Linux Open Office 2.4 I get the following error message
>> 
>> 
>> ,
>> | /usr/compat/linux/opt/openoffice.org2.4/program/soffice.bin: error while
>> | loading shared libraries: /usr/local/lib/libXext.so.6: ELF file OS ABI
>> | invalid
>> `
>> 
>> Now I *think*   that what it ought to load is 
>> 
>> /usr/compat/linux/usr/X11R6/lib/libXext.so.6
>> 
>> but it goes for the FreeBSD X extension lib instead.
>> 
>> Can anyone help me to fix this?
>
> If /compat/linux/usr/local doesn't exist, perhaps making it a symlink
> to X11R6 does the trick.

Spot on!!Many thanks :-)

What I don't understand is why that works, when
/compat/linux/etc/ld.so.conf points at the right place in the very first
line!

,
| include ld.so.conf.d/*.conf
| /lib
| /usr/lib
| /usr/local/lib
`

The only .conf file in  ld.so.conf.d is

xorg-x11-i386.conf

which contains the line

/usr/X11R6/lib

Is ldconfig ignoring the first line?

I'm grateful but puzzled - thanks again :-)



atb


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


Re: Linux compat library error: ELF file OS ABI invalid

2008-05-13 Thread Glyn Millington
Mel <[EMAIL PROTECTED]> writes:

> On Tuesday 13 May 2008 14:05:43 Glyn Millington wrote:
>> >>>> Trying to launch Linux Open Office 2.4 I get the following error
>> >>>> message ,
>> >>>>
>> >>>> | /usr/compat/linux/opt/openoffice.org2.4/program/soffice.bin: error
>> >>>> | while loading shared libraries: /usr/local/lib/libXext.so.6: ELF
>> >>>> | file OS ABI invalid
>> >>>>
>> >>>> `
>> that include statement leads to /usr/X11R6

Wow - can I just check that I have this right before I do it?!


>
> Best fix:
> rm /usr/X11R6

get rid of /usr/X11R6, which on a system-wide basis is a link to /usr/local



> touch /usr/X11R6

Create an empty  *file* /usr/X11R6




> chflags schg /usr/X11R6

make it system-immutable

> /sbin/ldconfig -m /usr/local/lib (just to force the linker to re-read the 
> dupes).

Merge new stuf in the /usr/local/lib directory into the hints file






> As a bonus, the old apps you still have pointing to /usr/X11R6 

But the app in question needs to get at 

/usr/compat/linux/usr/X11R6/

which is a directory contain a lot of libs - are you suggesting I remove
it?  Sorry if I'm being slow but want to be sure about this one!





> will now complain and be exposed and anything that wants to install or
> modify something in /usr/X11R6 will be exposed too.  I've done this
> about a week after I upgraded and it solved all the linux linker
> problems and only one app I had compiled from source rather then using
> a port, wasn't working anymore. Recompiled and no problemo.

Many thanks

atb

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


Re: Linux compat library error: ELF file OS ABI invalid

2008-05-13 Thread Glyn Millington
Wojciech Puchar <[EMAIL PROTECTED]> writes:

>> system for a couple of days while it builds. The Linux version was
>
> less than 16h on 1200Mhz CPU.

LOL - maybe I exaggerated :-) But this one has a 900Mhz CPU, and this is
the fastest I have available.  

atb

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


Re: Linux compat library error: ELF file OS ABI invalid

2008-05-13 Thread Glyn Millington
Wojciech Puchar <[EMAIL PROTECTED]> writes:

>> (via rc.conf)
>>
>> Is it possible to use libmap.conf to persuade  a Linbux binary to use a
>> Linux library, or is that not the way to go?
>
> compile openoffice from ports. it works fine - natively.

Thanks - yes it does, but it means tying up this by no means over-powered
system for a couple of days while it builds. The Linux version was
working nicely till sometime over the weekend.  Then something happened -
I probably upgraded a port which changed something I hadn't noticed.


atb





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


Re: Linux compat library error: ELF file OS ABI invalid

2008-05-13 Thread Glyn Millington
Kris Kennaway <[EMAIL PROTECTED]> writes:

> Glyn Millington wrote:
>> Kris Kennaway <[EMAIL PROTECTED]> writes:
>>
>>> Glyn Millington wrote:
>>>> FreeBSD 7.0 release, ports currently up-to-date
>>>> Trying to launch Linux Open Office 2.4 I get the following error message
>>>> ,
>>>> | /usr/compat/linux/opt/openoffice.org2.4/program/soffice.bin: error while
>>>> | loading shared libraries: /usr/local/lib/libXext.so.6: ELF file OS ABI
>>>> | invalid
>>>> `
>>>> Now I *think*   that what it ought to load is 
>>>>
>>>> /usr/compat/linux/usr/X11R6/lib/libXext.so.6
>>>> but it goes for the FreeBSD X extension lib instead.

>>> kldload linux
>>> or build it into your kernel.
>>
>> Thanks Kris - trouble is its already there!
>>
> No, that is not necessary.  Next thing to check is that /usr/X11R6 is
> before /usr/local in your linux ldconfig search path.


Yes, it is right where it should be

$cat /usr/compat/linux/etc/ld.so.conf

include ld.so.conf.d/*.conf
/lib
/usr/lib
/usr/local/lib


that include statement leads to /usr/X11R6

many thanks


atb

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


Re: Linux compat library error: ELF file OS ABI invalid

2008-05-13 Thread Glyn Millington
Kris Kennaway <[EMAIL PROTECTED]> writes:

> Glyn Millington wrote:
>> FreeBSD 7.0 release, ports currently up-to-date
>>
>>
>> Trying to launch Linux Open Office 2.4 I get the following error message
>>
>>
>> ,
>> | /usr/compat/linux/opt/openoffice.org2.4/program/soffice.bin: error while
>> | loading shared libraries: /usr/local/lib/libXext.so.6: ELF file OS ABI
>> | invalid
>> `
>>
>> Now I *think*   that what it ought to load is 
>>
>> /usr/compat/linux/usr/X11R6/lib/libXext.so.6
>>
>> but it goes for the FreeBSD X extension lib instead.
>>
>> Can anyone help me to fix this?
>
> kldload linux
>
> or build it into your kernel.



Thanks Kris - trouble is its already there!

glynthebearded# kldload linux
kldload: can't load linux: File exists

(via rc.conf)

Is it possible to use libmap.conf to persuade  a Linbux binary to use a
Linux library, or is that not the way to go?








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


Linux compat library error: ELF file OS ABI invalid

2008-05-13 Thread Glyn Millington

FreeBSD 7.0 release, ports currently up-to-date


Trying to launch Linux Open Office 2.4 I get the following error message


,
| /usr/compat/linux/opt/openoffice.org2.4/program/soffice.bin: error while
| loading shared libraries: /usr/local/lib/libXext.so.6: ELF file OS ABI
| invalid
`

Now I *think*   that what it ought to load is 

/usr/compat/linux/usr/X11R6/lib/libXext.so.6

but it goes for the FreeBSD X extension lib instead.

Can anyone help me to fix this?


atb



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


Re: X11 installation error

2008-05-05 Thread Glyn Millington
"Ruel Luchavez" <[EMAIL PROTECTED]> writes:

> I already try it but the server reply me an error:
>
> Error:  FTP Unable to get
> ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.2-release/Latest/
>   xorg.tbz: File unavailable (e.g., file not found, no access)
> pkg_add: unable to fetch 'ftp://ftp.freebsd.org/
>   pub/FreeBSD/i386/packages6.2-release/Latest/xorg.tbz' by URL
>
> can anyone Help me to solve it..

Is there something odd going on in your package database? Have you tried
a 

#pkgdb -F ?


atb



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


Re: OPen Office 2.0 via packages

2005-11-04 Thread Glyn Millington
"Andrew P." <[EMAIL PROTECTED]> writes:

> Just try to pkg_add it. OO doesn't require Java to run,
> only to build. 

Brilliant!!   This (about Java) was  what I needed to know.



> There are some run-dependencies, you can see them here:
> http://www.freshports.org/editors/openoffice.org-2.0/

Sorry - should have found this myself!  Still learning about the
resources


Many thanks for a marriage saved :-)

atb




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


OPen Office 2.0 via packages

2005-11-04 Thread Glyn Millington


Greetings!

For the sake of a continuing happy marriage !  I really need to install
OPenOffice 2 on a machine at home - soon to be running FreeBSD 6.0 (i386)
:-)  I can't build the port because the hard drive is too small - just
enough spare space for the compiling. 

Is it possible to do this via packages? Can anyone give me pointers as
to what packages I need, what bits of Java are necessary for a
pre-compiled package?  Is it possible to do this via packages at all?

Thanks in advance

atb

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


Re: interesting past 4 hours...

2005-10-15 Thread Glyn Millington
Gary Kline <[EMAIL PROTECTED]> writes:

>   I'll give xfce a try.  Again.  I  played with it months ago
>   but gave up on it after a few days.  Can I run all KDE-ware 
>   and Gnome suites too?

Hi Gary,

I'm running Xfce4 over here on Slackware, and there are no problems
firing up KDE apps as needed. 

A neat thing if you have python aboard is the MenuMaker script

http://menumaker.sourceforge.net/

,
| MenuMaker is utility written entirely in Python that scans through the
| system for installed programs and generates menu for specified X window
| manager. It is by far more superior to existing solutions in terms of
| knowledge base size, maintainability and extensibility, and has a number
| of features that have no counterparts in its class. MenuMaker is intended
| for users of lightweight *NIX graphical desktop environments.
`

But it will scoop up all your KDE and Gnome apps too :-)  It certainly
beats churning out menus by hand!  It works with Fluxbox, openbox, Icewm,
Windowmaker, Xfce and Xfce4...


Good luck

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


Re: TrueType fonts sources

2005-05-09 Thread Glyn Millington
[EMAIL PROTECTED] writes:

> Hi
> OK I have installed the font server etc -- all I need are some
> TrueTypefonts to put in the TT directory. Does anyone know:
> 1.where can I get them.
> 2. How I can convert my TT fonts on my ms$  system to TT for freebsd.

1. Have a look in /usr/ports/x11-fonts 

webfonts and xorgfonts-truetype  should get you started



2. It's all there in section 5.5 of the Handbook, which may well be on
   your hard-drive @ 

/usr/share/doc/handbook/x-fonts.html


Good luck - and have a good trip :-)

atb


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


Re: Best upgrade strategy

2005-04-12 Thread Glyn Millington
jason henson <[EMAIL PROTECTED]> writes:

> Glyn Millington wrote:
>
>>Greetings!
>>
>>I'm a newcomer to FreeBSD, an immigrant from the wonderful world of
>>Slackware Linux. Finished installing on Sunday!
>>
>>I wanted to make sure the system was up to date with regard to security
>>fixes etc so used cvsup to upgrade  source and re-built the kernel - it
>>all went like a dream - what a system!!  What documentation!!
>>
>>
> Hold on,  just the kernel or the kernel and world.  You have to keep 
> these in sync on FreeBSD.
> Just checking because I hear you can just upgrade the linux kernel to 
> your hearts content without messing with the other stuff on the system.

Bless you, no, I did the lot! Buildworld, installworld, the works as
described in the handbook.  And was staggered by how straightforward it
was, to be honest.

No, my question was about swapping the target for cvsup at the point when
5.4 becomes a "production release" - can I then simply track 5.4 for
security releases etc or will that cause complications with a system that
has tracked 5-stable for the few days it has been in existence.  It sems
form the various replies I've had that there should be no problem.

Many thanks





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


Re: Best upgrade strategy

2005-04-12 Thread Glyn Millington
"Andrew P." <[EMAIL PROTECTED]> writes:

> Glyn Millington wrote:
>> That is fine, but at the point when 5.4 becomes the production release, I
>> would like simply to track that for security fixes etc rather than follow
>> the stable developement branch.
>> Can I acheive that simply by putting
>> *default release=cvs tag=RELENG_5_4
>> into my cvsup file, at the right time -ie as soon as 5.4 becomes
>> a production release? ?  Or will there be such
>> complications that it would be best to perform yet another install (which
>> is smooth but slow on my set-up).
>
>
> Yes, you can use RELENG_5_4 tag to track
> security fixes when 5.4 is released. It
> goes smoothly most of the times, some
> people even managed to upgrade from
> 4.x to 5.x without reinstalling (ok,
> _that_ wasn't smooth). Just look through
> release notes, src/UPDATING and so on,
> and use mergemaster carefully.

Thanks Andrew - just needed to check this with those who know, to make
sure I had not miscontrued the Handbook!

atb

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


Best upgrade strategy

2005-04-12 Thread Glyn Millington

Greetings!

I'm a newcomer to FreeBSD, an immigrant from the wonderful world of
Slackware Linux. Finished installing on Sunday!

I wanted to make sure the system was up to date with regard to security
fixes etc so used cvsup to upgrade  source and re-built the kernel - it
all went like a dream - what a system!!  What documentation!!

Enough rapture!  Here's the question Having installed 5.3 from cd, I
performed the above upgrade once and found that I was at version 6
Current! Back to the drawing board and started again with the following
line in my cvsup file

*default release=cvs tag=RELENG_5

Better - I only find myself with a pre-release 5.4 :-)

That is fine, but at the point when 5.4 becomes the production release, I
would like simply to track that for security fixes etc rather than follow
the stable developement branch.

Can I acheive that simply by putting


*default release=cvs tag=RELENG_5_4

into my cvsup file, at the right time -ie as soon as 5.4 becomes
a production release? ?  Or will there be such
complications that it would be best to perform yet another install (which
is smooth but slow on my set-up).

Thanks in advance





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


Re: Very slow printing with stock FreeBSD5.3 + CUPS + Gimp-Print + HPDeskJet612C

2005-04-11 Thread Glyn Millington
Roland Smith <[EMAIL PROTECTED]> writes:


>> Can you point me to the docs for this?  I'm very new to FreeBSD finished
>> install with this printing problem  yesterday!
>
> The flags for the ppc driver are documented in the ppc(4) manual
> page. Just run 'man ppc' from the console or an xterm to view it.
>
> More information on setting up printers can be found in §9.3 of the
> Handbook.
>
> Some things that I learned while setting up my FreeBSD workstation are
> recorded at http://www.xs4all.nl/~rsmith/freebsd/

Just the job!

Many thanks

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


Re: Very slow printing with stock FreeBSD5.3 + CUPS + Gimp-Print + HPDeskJet612C

2005-04-11 Thread Glyn Millington
Roland Smith <[EMAIL PROTECTED]> writes:

> On Mon, Apr 11, 2005 at 07:36:32AM +0100, Glyn Millington wrote:
>> "Anthony M. Agelastos" <[EMAIL PROTECTED]> writes:
>> 
>> > Interrupt storm detected on "irq7: lpt0"; throttling interrupt source
>
>> 1. Back up /boot/device.hints
>> 2. In device hints add a line
>> 
>> hint.ppc.0.flags="0x20"
>
> Flags=0x20 means disabling IRQ and use polling instead. If you add 0x08
> it also puts the port in enhanced capability mode. So try flag=0x28, and
> use 0x20 if that doesn't work.
>
>> AFTER the line which says
>> 
>> hint.ppc.0.irq="7"
>
> You can remove this line, because flags=0x20 instructs the driver to use
> polling instead of an interrupt line.

Right!!

Many thanks.

Can you point me to the docs for this?  I'm very new to FreeBSD finished
install with this printing problem  yesterday!

atb

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


Re: Very slow printing with stock FreeBSD5.3 + CUPS + Gimp-Print + HPDeskJet612C

2005-04-10 Thread Glyn Millington
"Anthony M. Agelastos" <[EMAIL PROTECTED]> writes:

> Interrupt storm detected on "irq7: lpt0"; throttling interrupt source

1. Back up /boot/device.hints
2. In device hints add a line

hint.ppc.0.flags="0x20"

AFTER the line which says

hint.ppc.0.irq="7"

3. save and reboot

hth


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


Re: console mail client

2005-04-02 Thread Glyn Millington
Gert Cuykens <[EMAIL PROTECTED]> writes:

> so if i understand it corectly the hole mail thingie is based on
>
> -a mail client (mutt) 
> -a mail sender (sendmail)
> -a mail storage (postfix)
> -a mail receiver (fetchmail)

As Chris said, not quite.

The place to _begin_ on all this is is the Handbook

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mail-using.html

I'm assuming you are on a  machine linking to an ISP's smtp and pop3
servers?

To set up e-mail as God intended what you need in brief is

A. A mail transport agent - sendmail OR postfix, (or exim or even qmail)
but not both.  This will hand off the e-mail once you have posted it and
will take care of one part of its journey into your computer/s.

B. A Mail reader/composer, an MUA, mail user agent.  Lots of these to
choose from, mutt or elm being old standbyes.

C. Something to fetch the mail if you are using your ISP's pop3 server
   Fetchmail is good.

D. Something to sort the mail - procmail is a good mail processor


Coming in the process  is something like:-


Fetchmail -> sendmail/postfix -> procmail -> mutt

There are opportunities for filtering spam at different points in this
chain.

The outward move is simpler

mutt -> sendmail -> your ISP


OR   you can use something like Mozilla Thunderbird which is an
all-in-one mail system by itself, and is possibly easier to set up.

Good luck!

atb






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


Re: Unsubscribe?

2005-03-25 Thread Glyn Millington
Doug Paquette <[EMAIL PROTECTED]> writes:

> Group,
>
> Sorry to have to ask this question here, but does
> anyone have the address to where I unsubscribe to the
> various free bsd mailing lists?
>
> Thanks
>
> Doug
>
>
>   
> __ 
> Do you Yahoo!? 
> Yahoo! Small Business - Try our new resources site!
> http://smallbusiness.yahoo.com/resources/ 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

It should be at the bottom of each mail sent to the list!! As above... 

hth


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


Re: Postfix partial status error in syslog

2005-03-21 Thread Glyn Millington
Matt Rechkemmer <[EMAIL PROTECTED]> writes:

> Anyone else out there running Postfix, seeing this in their syslogs?
> postfix/master[83222]: warning: master_status_event: partial status (4 bytes)
> postfix/master[83222]: warning: master_status_event: partial status (4 bytes)
>
> It seems to occur during any Postfix operation, delivering mail, running a
> cleanup and so forth.  Mail doesn't seem to be affected on my system, so I
> wonder if this is just some kind of debug warning (possibly)?

Hi Matt,

This thread might shed a little consolatory light?

http://tinyurl.com/6b4vj


hth

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