installing port devel/py-qt4-dbussupport - cannot open Makefile

2013-02-13 Thread Henry Miller
 I'm trying to install devel/py-qt4-dbussupport on freebsd 8.3.  When I type 
make it looks like configure is run, but then I get an error cannot open 
Makefile.  I'm not sure what steps to take next.

google only shows the following query, which is unanswered.  
http://forums.freebsd.org/showthread.php?t=37696 (but I note that this is on 
Freebsd 9)

Creating pyuic4 wrapper...
Creating pyuic4 Makefile...
pylupdate4 and pyrcc4 will not be built because the Qt XML module is missing.
Creating pyqtconfig.py...
===  Building for py27-qt4-dbussupport-4.9.6
make: cannot open Makefile.
*** Error code 1

Stop in /usr/ports/devel/py-qt4-dbussupport.
shairia#  uname -a
FreeBSD shairia.millerfarm.com 8.3-RELEASE-p3 FreeBSD 8.3-RELEASE-p3 #0: Tue 
Jun 12 00:39:29 UTC 2012 root@amd64-
builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64

My steps to get into this state:

portsnap fetch update (about a week ago - a couple days after kde 4.9.5 went 
live)
follow the steps in Updating - 20130203 for updating KDE.  At some point in 
this process I lost system power, but most of the update was done.
I attempted to do the update boost (2013013) instructions, but had problems 
because of mixed python 2.6 and 2.7, so I did a pkg_delete on py26*.   (This 
was probably wrong). 
Looking farther I found the python entry from back in 20110304, but I had to 
errors until I updated perl (20130204), and tcl/tk (20130206).  I then 
completed the python update.

My attempts to do any more updates (either complete boost, or just upgrade 
everything with portmaster -a) all fail on the above port.


___
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


chio fails to read barcodes on some tape changers.

2005-03-22 Thread Henry Miller


I have a problem reading bar codes with chio on freebsd 4.9, and sony
1u (model lib-81) tape changers.   The library sees the bar code, but
chio doesn't report them for reasons I don't understand.

I did my testing with what should be an otherwise identical 2u
(lib-162) changer.  (Someone shipped us a 1u without the bar code
read the first time, since we had the 2u we didn't expect any
differences)  This worked fine.

I've tested 5.3, and that works fine as well.  However upgrading is
not an option at this point (it is planned, but not for a year or
so).I can make changes to the 4.9 system, but I cannot do a full
upgrade to 4.11.   

-bash-2.05b# camcontrol cmd 0:0 -c B8 12 00 00 00 01 00 00 00 76 00
00 -i 0x76 i1 i1 i1 i1   i1 i1 i1 i1   i1 i1 i1 i1  i1 i1 i1 i1
i1 i1 i1 i1  i1 i1 i1 i1   i1i1 i1 i1   c36
0 1 0 1 0 0 0 60 2 128 0 52 0 0 0 52 0 1 9 0 0 0 0 0 0 128 0 1 A05Y0M

### A05Y0M is known to be the bar code on the tape, so the unit
itself is reading the bar code, somehow chio is not getting it though.

-bash-2.05b# chio status -v
picker 0:  voltag: :0
slot 0: ACCESS,FULL voltag: :0
slot 1: ACCESS voltag: :0
slot 2: ACCESS voltag: :0
slot 3: ACCESS voltag: :0
slot 4: ACCESS voltag: :0
slot 5: ACCESS voltag: :0
slot 6: ACCESS voltag: :0
slot 7: ACCESS voltag: :0
drive 0: ACCESS voltag: :0

-bash-2.05b# ## install 2u

-bash-2.05b# camcontrol rescan all
Re-scan of bus 0 was successful
-bash-2.05b# camcontrol cmd 0:0 -c B8 12 00 00 00 01 00 00 00 76 00
00 -i 0x76 i1 i1 i1 i1   i1 i1 i1 i1   i1 i1 i1 i1  i1 i1 i1 i1
i1 i1 i1 i1  i1 i1 i1 i1   i1i1 i1 i1   c36
0 1 0 1 0 0 0 60 2 128 0 52 0 0 0 52 0 1 9 0 0 0 0 0 0 128 0 1 A05Y0Q
-bash-2.05b# chio status -v
picker 0:  voltag: :0
slot 0: ACCESS,FULL voltag: A05Y0Q:0
slot 1: ACCESS voltag: :0
slot 2: ACCESS voltag: :0
slot 3: ACCESS voltag: :0
slot 4: ACCESS voltag: :0
slot 5: ACCESS voltag: :0
slot 6: ACCESS voltag: :0
slot 7: ACCESS voltag: :0
slot 8: ACCESS voltag: :0
slot 9: ACCESS voltag: :0
slot 10: ACCESS voltag: :0
slot 11: ACCESS voltag: :0
slot 12: ACCESS voltag: :0
slot 13: ACCESS voltag: :0
slot 14: ACCESS voltag: :0
slot 15: ACCESS voltag: :0
drive 0: ACCESS voltag: :0
-bash-2.05b#   

Does anyone know what might be wrong?  What I could change to make
this work?   I'm looking for an easy fix, though if I must I will
write a utility to do the parts of chio we need.  Should I send this
to freebsd-scsi?


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


Re: Is my computer under spec?

2004-11-01 Thread Henry Miller

On Mon, 2004-11-01 at 00:35, Loren M. Lang wrote:
 I have been having performance problems with my computer for months,
 ever since I did a fresh install of freebsd 5.2.1.  I thought the
 situation might change after debugging was turned off in RELENG_5 so
I
 upgraded a couple weeks ago to 5.3-BETA7, but only saw slight
 improvements.  I'm running Xorg, fvwm 2.4, several xterms,
vncviewer,
 mozilla, xmms, and xine and my system was really running slow.  At
some
 point mozilla was killed because the system was out of swap space.
I
 have a pentium celeron 3 600 MHz, with 128 megs of ram, 30 gig hd,
256
 oh the inhumanity!!

This is why you system sucks. It's swapping like mad. Xorg (on my
system) weighs in a 50-70 MB, Mozilla will tip the scales in that
range
easily as well. Xterm-static comes in at 3-5MB each. If programs get
killed because of swap space, more ram will save the day. Or more swap
space, but in your case I say more ram.

Note that X maps the memory of your graphics cards, which means it
shows up as using more RAM that it really is.   I still have a system
with 128 megs of ram, 256 swap, and the only time I've hard problems is
when I was running two different versions of KDE.  (as in KDE stable on
vt 8, and kde-CVS on vt9 while doing compilers and other work)  

More swap would help.   Konqueror seems a little more light weight to
me, but you would have to try it to see if it helps for your usage.

You can add more ram, but considering the age of that system it really
isn't worth the cost.   I don't know what that system takes, but in
many cases old RAM isn't made anymore, so when  you can buy it (supply
and demand) you pay far more than it is worth.   Either see if someone
else has an old system who can send you ram, or spend your money on a
new computer.  A cheap clearance system may come in at not much more if
you shop around.   I'd recommend saving my money for the new system.



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


Re: dummynet

2004-10-29 Thread Henry Miller

I know it is about time for this thread to die, but I couldn't resist
responding this once.

On 10/28/2004 at 18:13 [EMAIL PROTECTED] wrote:

I agree with some of that, but unless the person has the money to
spend,
then using dummnynet is acceptable. Not everyone can drop 10+ grand on
a
nokia firewall that has everything packaged into a nice gui.
A commercial add-on for FreeBSD is $800. Half a weeks salary for a 
marginal programmer, and it actually works. Unless you live in Russia
(or the Russian Federation or whatever the heck they call it now) and 
make $22/week I dont see the point of turturing yourself.

The boss pays his sysadmin every week, no matter what.   The Boss
expects that the systems will runs with the least overall cost.
Sometimes that means buying something, sometimes that means configuring
what is there.

There is always a point in learning.   However there is not enough time
in the world to learn everything, so you need to choose what you will
learn.  Just the fact that you know all the details of configuring
something is valuable, because at sometime in the future your needs
will change.   

Complex configuration is normally the cost of flexibility, so if you
needs change all the time you are better of learning how to configure
the free solution because in the long run the time spent learning
configuration means you can jump in and reconfigure it as needed.   If
your needs rarely change then maybe you are better off learning
something else with your time.  (note that there are free things that
are hard to configure without being flexable, but in generally free
software is hard to configure because it is flexable)

If your needs are such that you would need 10 commercial licenses, then
by your numbers you are looking at $8000.   For a company trying to
deal with several offices this is possible.  Now we are looking at a
month or more worth of salary for our sysadmin.   It is suddenly a lot
easier to justify time spent learning.   (in the case of hardware
solutions it isn't unheard of for companies to have two of each
machine, next to each other, but one off, just so any idiot can turn
the spare on if things go wrong, we can easily add more licenses unless
the legalese is right)

If the commercial solution does what you need, and the free one
doesn't, then you have to evaluate the cost of buying, vs the cost of
implementing something.   Managers should be good at this.   Generally
it will come down to buy, but there are exceptions.

If your company is just on the edge justifying a full time sysadmin,
but doesn't have 40/hours a week worth of stuff for him to do, then the
sysadmin should be saving money by using free stuff wherever it works.
 If your company has hundreds of sysadmins, and is so complex that
despite their best efforts nobody can really keep track of everything,
then you should be more inclined to buying something that is easy to
use.

I'm sure there are more considerations too.   Any argument for or
against free software that ignores the above is flawed!  Since you have
stated a generalization that ignores the above, your argument is
flawed, even if it is correct in nearly all cases.

P.S. Note I'm using the term sysadmin, not programer.   Programs can
often admin, and sysadmins can often program, but the skill sets are
different.

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


Re: Need some ideas

2004-10-28 Thread Henry Miller

On 10/27/2004 at 16:08 Bob Bomar wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I am building a machine that connects to my stereo, to play mp3's, and
does some other stuff.  I am looking a way to add a keypad for
fast forward/rewind/stop/play/pause/next/prev, etc.  I tried hacking a
keyboard, but I didnt get too far.  The one serial port on the machine

is taken,
so it needs to be parallel or USB.

Anybody have any ideas?

Several.  

I'd start with
http://www.arcadecontrols.com/arcade.htm
which is a more general how-to site, but has a bunch of stuff that
might be of interest.  In particular lookup their interfaces link,
which is the most customize able solution.   Very do it yourself, but
that means you can put exactly the buttons you want on.  I you haven't
looked at this link beware, there are some examples that just might
inspire you to toss everything out so far and start over again.

You can also search google for numeric keypad.   Don't forget to search
froogle as well.



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


Re: How to connect iBook to my BSD network

2004-10-28 Thread Henry Miller


On 10/28/2004 at 14:41 Jonathon McKitrick wrote:

On Thu, Oct 28, 2004 at 08:15:26AM +0100, Dick Davies wrote:
: * Jonathon McKitrick [EMAIL PROTECTED] [1049 04:49]:
: Hang on - you got a basestation? What does it plug into, the link to
your ISP
: or one of your ethernet ports on the server? Or does the dhcp server
connect
: through the basestation too? 

We got a base station.  It has both a modem serial jack and an
ethernet
jack.  My network has a wireless hub (with wired jacks as well, of
course)
connected to my desktop box.

: I'm a little confused because the BS will have its own DHCP server
if I
remember
: right.

Really?  Okay, I didn't know that.  I was looking at the preferences
page
on
the apple and trying to figure out how to set up TCP/IP.  I was under
the
assumption the BS was just another hub, and I had to assign it an
address.
Since you got me going with DHCPD, I tried that, but it didn't work.
Are
you suggesting all I need to do is patch the BS to my hub and set the
laptop
to get the DHCP address itself?  If so, how do I get my desktop box to
recognize the BS?

Most base stations have a DHCP server, but you need to turn it on.
Read the docs on the base station, then log in and see.   I set my base
station so that 192.168.1.n , where 128n256 is assigned by the BS,
and the rest is reserved for static IPs.   I'm guessing that this bs
has dhcp and NAT built in, because it has a modem port.  Even if it
didn't though, most of them do.

You can use FreeBSD to serve DHCP, but I don't know of any advantage to
doing that.

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


Re: Hacker activity?

2004-10-28 Thread Henry Miller

On 10/28/2004 at 10:39 Steve Suhre wrote:

I'm not sure if this is the correct group...but I'm getting some weird

activity on the network. The security reports will show 50-100
attempts to 
login to a server, most as root but some are attempts to login to
other 
seemingly random account names. The login attempts are through ssh or 
telnet, all come from the same remote server, and all fail. I'm also 
getting some odd cgi calls to a script on a secure ssl server. There's

nothing that this particular script could do for a hacker, but the
script 
is sent a random string, sometimes many times a minute, other times
it's 
every 2 -3 minutes. I grabbed the ip address and blocked it, and about
10 
minutes later it had moved to another ip. I'm now blocking a range of
ip's. 
These don't seem like enough iterations to be very successful, the
odds
are 
overwhelmingly in favor of the server at this rate... Does anyone have
a 
clue what might be happening or where I should go to find out?

First, the term is cracker.  Hackers are the good guys.   (I know, I
know, nobody else cares)

There are two possibilities: an honest person has mistyped something
and is connecting to your machine instead of one he has access to; or a
dishonest person is trying to break into your computer.   I'd bet on
the latter, nobody accidently sends random strings to a cgi script.  

Often a script is running, attempting every computer on the Internet,
or every interesting one.  (It takes too long to try 4 billion
addresses, when most don't have a machine behind them so they try
machines that are more interesting)   They may or may not be targeting
you in particular, often they are just looking for any machine they can
get into, meaning your not the only one they are going after.

Here are some things you can try, in addition to what you have done.
Not all of them will apply though, think about each.

Take an old line printer out of the closet and have syslog log to that.
 This gives you are hard copy of what is happening.   If someone does
break into your system, one of their first tasks will be falsify the
logs so you don't know it.  They can't modify something that has been
printed to paper though.   Consider logging to a different machine on
your network as well.

In addition to blocking that address, see who owns the net block.   If
it is a responsible ISP and you send logs to the right person, you can
sometimes solve this problem.  It doesn't work often, but it sometimes
helps.   If nothing else it is harmless.

If it looks like this is in the same country as you, or at least a
country that is friendly to yours, you might ask a lawyer to get a
cease and desist order.  It is unlikely you can ever make this worth
the cost, but keep it in mind.

Make sure root cannot login to your system via ssh.  This is the
default in FreeBSD, but try to ssh into your machine as root, correct
password, just to make sure.

Read all the security advisories on www.freebsd.org (there are other
places to get these too, some are better), and make sure your system is
patched for them all.  

Do a security audit of that cgi script.   Remember, better find
nothing, than not do it and find there is a buffer overflow attack.
Their goal isn't to get the script to do anything, it is to get your
system to run their code in place of the script.  These attacks are
fairly complex, but effective.  Ideally run your webserver in a Jail,
but that can't always be done.

Turn off telnet if you can.  Nearly everything has an ssh client
nowadays, so this normally isn't a problem.  

Basiclly what I'm suggesting is a combination of double checking the
security on your machine, and trying to get them cut off.  There is no 

One last idea: look up honeypot on google.   You might want to run one
yourself just to get an idea of what they are trying to do.

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


Re: Sorry

2004-10-27 Thread Henry Miller

On 10/27/2004 at 12:18 Jaime Moss wrote:

I am looking at non Microsoft platforms for a mail server.

Does FreeBSD have one in it ?

sendmail is included, though mostly because it always has been
included, not because we feel it is any good.   Postfix, exim, and
qmail are in ports in case you want a different once.  There may be
more.  (sendmail is hard to configure, and historiclly has been the
injection point of many root cracks.   Many people regard it as
unfixable.  How true any of this is can be debated)   I have no opinion
on which is best.   All have their advocates.  Each has advantages and
disadvantages.  

You will have to decide which is better for you.

I will also be looking at Linux.

What is the differnce between FreeBSD and Linux?

Short answer: not much.   Both a really good, free operating systems.
Either will run your mail server just fine, in fact all the software I
listed above will run on either.   It is rare to find something that
runs on linux that cannot be made to run on FreeBSD with little work. 

Long answer:   ask on the advocacy lists.  Saying anything more is
off-topic for this list, because most answers come down to personal
preference.  Often any discussion soon starts to sound like Catholics
and Lutherans arguing over religion, so be careful about asking this
question.

Note however that linux comes from many different distributions, which
affects the differences.

A short (incomplete) list of things that often come up when this
question is asked:  License,.   Fragmentation,  Hardware support,
Quality of source code, Which algorithm is used in a particular place,
Installers, How your configure it, and  How you install programs.   

You get to decide for yourself.  Unlike religions, you are not assigned
a place in Hell for picking wrong.



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


Scsi tape sense codes, getting last n (10)

2004-10-22 Thread Henry Miller
I'm looking for a way to trace all sense codes come back from a tape
drive in Freebsd 4.9.  (latter we will go to 5.3, but 4.9 matters
today)

The programs we use do not check sense codes, much less show them.  In
theory they could issue a command that fails, then issue a second
command that also fails.  The second failure will cause the sense code
from the first failure to be lost. (yes there are separate control and
io errors, but if they are both the same type that doesn't help)  My
boss does not trust these programs to stop after the first error, so
issuing ioctl MTIOCERRSTAT after the program completes is not enough.

Therefore I'm looking for some way to hook scsi (/dev/nsa0 in
particular) so that I can log sense codes as they occurs, if there are
any.  Does anyone know of a way to do this?  I didn't see anything in
the source.   We do not want to modify the kernel, or the other
programs.  

I'm also working with the drive manufacture, but so far I have not
discovered anything that seems useful.  (We are only interested in one
model)

I think that these programs just stop if there is any error we would
care about, but that is not enough.  I don't write the requirements,
and checking for sense codes after we run the program program does not
meet them.

Perhaps this could be asked on -scsi, but this isn't a Freebsd issue,
just something that runs on top of Freebsd.

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


Re: Rid of those Windows Desktops!

2004-10-21 Thread Henry Miller


On 10/21/2004 at 14:07 Brian wrote:
I've been planning this for sometime and finally have the time to do
it.

We have various machines in the home no real fruity hardware,
everything
seems to supported by all current versions of FreeBSD 4.9,4.10 5.2.1
etc

I've used FreeBSD for a number of years but mostly in the work place
as
Routers/Firewalls Webservers and file servers etc.

I've never really put a lot of time into turning FreeBSD into a solid
work
station which I'm sure it's more than able to be.

For the most part all the workstations will be used for the usuall,
web,email, irc and local development.

Cutting the long story short for people who use FreeBSD as a desktop
currently, what version is recommended at the moment for such a task.

Most of the boxes have fairly good specs, 1.9GHZ plenty of hdd space
and
lots of RAM.

Can people recommend some nice window managers, email clients etc ?

Or point to some documentation on building a secure stable desktop
enviroment.

I am doing my own searches too, I just like to hear from current
users.

The FreeBSD handbook is nice.   Don't be afraid to read linux
documentation, most of that applies.  Don't be afraid to try Linux or
netBSD for that matter, they have differences which may make them
better in some cases.  Though I've found FreeBSD nicer than all the
other systems I've tried, that is a personal choice.  

I like KDE.   Many others like it too.   You can get a useable
replacement desktop by just installing all of kde.  Many other people
like Gnome,  I've never used it so I can't say anything about it.  The
KDE guys like to point out the Gnome tries to make you do it their way
while KDE lets you configure everything to work like you want.  I don't
know what the Gnome guys say.   Try both and make your own decisions
(your users can make their own decision if you configure things right)

Unless you have slow machines (you don't) or are used to something
else, start with gnome or kde.   You can mix and match the two to some
extent.   Either alone will do everything you want.  There are better
programs for some things, but for the most part the best desktop apps
are part of either Gnome or KDE.   (plenty of exceptions to that rule,
but if you call it true you will avoid a lot of junk)



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