Re: why I am upset

2012-05-28 Thread Robert Simmons
On Sun, May 27, 2012 at 4:02 PM,  d...@safeport.com wrote:
 On Sun, 27 May 2012, Warren Block wrote:

 There can be a tremendous investment of time in using software, whether
 free or not.  Money too, often.

 Those who work to write, port, and support free software also spend a
 tremendous amount of time in doing that.  Money too, often.

 So both parties have a large investment, and it's easy but
 counterproductive to get emotional about it.  Take a deep breath, be polite,
 and try to appreciate the other guy's problems.  Otherwise it just ends up
 creating more problems, and there are already enough.


 Warren makes a great point. In years past Greg Lehey used to post, How to
 ask a question, or something similar. Its worth resurrecting that. As I
 recall, the major points were: Nobody here is getting paid to do this; there
 are a great number of people with a wealth of information willing to help;
 and, its up to the one asking the question to do it in such a way as to peak
 someones interest.

Just to add to this: even though the original question was asked with
frustration and vitriol, people on the list shouldn't respond in such
juvenile and inappropriate ways as people did earlier in this thread.
The level of discourse on all the other lists is very high.
Unfortunately, the level of discourse on this list when someone
approaches the list poorly is also just as poor.  The type of people
who gave nasty or derisive responses in this thread are the ones that
give the FreeBSD community a bad name.

I'm sure all your mothers told you at one time or another: If you
can't say something nice, don't say anything at all.

Also, pique, from French: to prick or stimulate.

 From an earlier post:


 On 05/26/2012 05:40 PM, Franci Nabalanci wrote:

 I did use portmaster for KDE 4.8 update and it stopped:

 The devel/kdebindings4-python port has been deleted: kdebindings ports
 have
 been refactored.

 Update aborted.

 And I don't know how to save a problem.


 If it is repeatable, re-do the operation with:

  script error.log the-original-command

 I use [and love] FreeBSD as a workstation because: I get better performance
 with hardware that I would otherwise throw away. I am sure of this because
 no charity will take anything I am done with. I assume all on this list
 use FreeBSD for similar or their own reasons. Hence the 'captain obvious
 statement', the FreeBSD sucks threads tend to degrade in direct proportion
 to their length.

 When things go wrong with upgrading a workstation port tree they can
 [often??] go really badly. A couple of tools and/or techniques can help:
 pkg_cleanup, pkg_tree, the pkg port to revert a port to a previous level.
 Check out anything named pkg_ in the port collection.



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


Can't get irc/inspircd to build, any clues?

2012-05-28 Thread Howard Leadmon

 Does anyone know if the irc/inspircd port for FreeBSD works?I have
tried it on an FBSD 9 server, as well as an older version of the FreeBSD
with the same results.

 If I try and run make the build the port, I get the following error:


# make
===  Building for inspircd-2.0.5
make: cannot open BSDmakefile.
*** Error code 1

Stop in /usr/ports/irc/inspircd.
*** Error code 1

Stop in /usr/ports/irc/inspircd.
#


I figure maybe someone has gotten this to build, so figured I would toss it
out here as using my googlefu I found years ago someone posting the same
problem, but never found any resolution.   

 Any ideas, as I would like to check out this software...



---
Howard 



___
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't get irc/inspircd to build, any clues?

2012-05-28 Thread Polytropon
On Mon, 28 May 2012 04:30:14 -0400, Howard Leadmon wrote:
 
  Does anyone know if the irc/inspircd port for FreeBSD works?I have
 tried it on an FBSD 9 server, as well as an older version of the FreeBSD
 with the same results.
 
  If I try and run make the build the port, I get the following error:
 
 
 # make
 ===  Building for inspircd-2.0.5
 make: cannot open BSDmakefile.
 *** Error code 1
 
 Stop in /usr/ports/irc/inspircd.
 *** Error code 1
 
 Stop in /usr/ports/irc/inspircd.
 #
 
 


 I figure maybe someone has gotten this to build, so figured I would toss it
 out here as using my googlefu I found years ago someone posting the same
 problem, but never found any resolution.   

Just tried very carefully, all steps seem to work fine
(OS 8.2-STABLE/x86 of August 2011 here, ports tree not
fully up to date, so port version is just 2.0.2):

# make config
# make fetch
# make extract
# make

I interrupted the make stage as everything seemed to
compile normally. As I said, the installation here is
already a bit old, but I hesitate to update anything
because, you know, never touch a running system. :-)

Make sure your ports tree is okay. The file mentioned
in the error message should be extracted intowork/:
/usr/ports/irc/inspircd/work/InspIRCd-2.0.2/BSDmakefile.

Do a make clean before you try again.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Cloud software ?

2012-05-28 Thread Frank Lanitz
On Fri, 25 May 2012 10:11:21 +0200
Frank Bonnet f.bon...@esiee.fr wrote:

 More precisely we would like to offer to our students and professors
 a kind of private cloud to access/manipulate  their personnal data
 from almost anywhere and with almost any devices ...
 ( Personnal PC, Mac, smartphones   and tablets ... etc )

Unless you are telling us what in detail you like to offer to you
people, a ssh-account at a server will allow all this. 

Cheers, 
Frank
-- 
Frank Lanitz fr...@frank.uvena.de


pgpXeuq5W9CTN.pgp
Description: PGP signature


Re: [ports] why no libXXX after make install of libXXX?

2012-05-28 Thread Bernt Hansson

2012-05-27 01:17, Gary Aitken skrev:

On 05/26/12 14:03, Gary Aitken wrote:

I'm trying to install audacious, which depends on libmowgli.
The port fails to build because of a missing library.
Shouldn't the build of a library result in the library being placed in 
/usr/local/lib?


I notice that /var/db/pkg/libmowgli-1.0.0/+CONTENTS
and similar files for a few other packages
shows files which don't exist:

@comment PKG_FORMAT_REVISION:1.1
@name libmowgli-1.0.0
@comment ORIGIN:devel/libmowgli
@cwd /usr/local
...

lib/libmowgli.so

It's a link.

lib/libmowgli.so.2

So is this one.

lib/libmowgli.so.2.0.0

Links to this file.


I had no problems building devel/libmowgli

lrwxr-xr-x   1 root  wheel18 28 Maj 12:38 libmowgli.so - 
libmowgli.so.2.0.0
lrwxr-xr-x   1 root  wheel18 28 Maj 12:38 libmowgli.so.2 - 
libmowgli.so.2.0.0

-rwxr-xr-x   1 root  wheel 88546 28 Maj 12:38 libmowgli.so.2.0.0



I think this is a screwed up situation;
there are no libmowgli files in /usr/local/lib

What's the best way to recover from it if so?


Try pkg_add -r libmowgli
___
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, masquerading, exposed root?

2012-05-28 Thread Anton Shterenlikht
I've a problem with sendmail setup,
for which I have no satisfactory solution.

I've several hosts, all on the university
network. I'd like to forward all root's mail
from all these hosts to my personal email.

The problem seems to be with the From field.

If I leave the root exposed, the From
field looks e.g. r...@mech-anton240.men.bris.ac.uk,
which is rejected by the university mailer,
because it has no knowledge of this address.

The only solution I've found is not to
expose root, and then masquerade all From
to @bris.ac.uk, which is acceptable, but
then I get root mail from all my hosts always originating
at r...@bris.ac.uk, so I have trouble distinguishing
between individual hosts. I solve this
by setting the hostname in the subject like.

But I'm mostly worried about not exposing root.
Plus the network people hate to see r...@bris.ac.uk
anywhere on the network.

Can anybody suggest a better solution?

Thanks


-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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't get irc/inspircd to build, any clues?

2012-05-28 Thread Howard Leadmon
 I just took a look and granted I was on version 2.0.5 (I am also on amd64,
so not x86) and there is no
/usr/ports/irc/inspircd/work/InspIRCd-2.0.2/BSDmakefile present at that
path.   So I then went to the inspircd.org site and downloaded both the
2.0.5 and 2.0.2 archives, and again I see no BSDmakefile.

 Is there some command that is called, or something performed that creates
this BSDmakefile??   If so, maybe on amd64 this isn't working.


---
Howard 


 -Original Message-
 From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-
 questi...@freebsd.org] On Behalf Of Polytropon
 Sent: Monday, May 28, 2012 4:46 AM
 To: Howard Leadmon
 Cc: questi...@freebsd.org
 Subject: Re: Can't get irc/inspircd to build, any clues?
 
 On Mon, 28 May 2012 04:30:14 -0400, Howard Leadmon wrote:
 
   Does anyone know if the irc/inspircd port for FreeBSD works?I have
  tried it on an FBSD 9 server, as well as an older version of the FreeBSD
  with the same results.
 
   If I try and run make the build the port, I get the following error:
 
 
  # make
  ===  Building for inspircd-2.0.5
  make: cannot open BSDmakefile.
  *** Error code 1
 
  Stop in /usr/ports/irc/inspircd.
  *** Error code 1
 
  Stop in /usr/ports/irc/inspircd.
  #
 
 
 
 
  I figure maybe someone has gotten this to build, so figured I would toss
it
  out here as using my googlefu I found years ago someone posting the
 same
  problem, but never found any resolution.
 
 Just tried very carefully, all steps seem to work fine
 (OS 8.2-STABLE/x86 of August 2011 here, ports tree not
 fully up to date, so port version is just 2.0.2):
 
   # make config
   # make fetch
   # make extract
   # make
 
 I interrupted the make stage as everything seemed to
 compile normally. As I said, the installation here is
 already a bit old, but I hesitate to update anything
 because, you know, never touch a running system. :-)
 
 Make sure your ports tree is okay. The file mentioned
 in the error message should be extracted intowork/:
 /usr/ports/irc/inspircd/work/InspIRCd-2.0.2/BSDmakefile.
 
 Do a make clean before you try again.
 
 
 
 --
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-
 unsubscr...@freebsd.org

___
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: Working and Supported SCSI Controller

2012-05-28 Thread vermaden
 I haven't looked into that topic for a long time, but in
 the past, I've had _no_ problems using Ataptec's 2940
 type of controllers (either W or U, and UW). The ahc
 driver worked well with them.
 
 Polytropon

 LSI 53C1010-66 (Ultra160, sym(4)) or 53C1030 (Ultra320, mpt(4)) based ones.
 
 Marius

 I'm using an Adaptec 29160N (Ultra 160) with the ahc driver.  It has
 internal and external 69 pin LVD connectors, a 68 pin internal
 single-ended connector and a 50 pin internal single-ended connector.
 
 Don Lewis

   I haven't looked into that topic for a long time, but in
   the past, I've had _no_ problems using Ataptec's 2940
   type of controllers (either W or U, and UW). The ahc
   driver worked well with them.
 Agreed.  Adaptec has the reputation of being expensive but 
 robust and well-supported; my experience confirms all three.
 
 Robert Huff

Thank You gentleman, gonna try 'Ataptec AHA-2940UW' this time
and share the results.

Regards,
vermaden
























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


pwd_mkdb: /etc/master.passwd: Inappropriate file type or format

2012-05-28 Thread Antonio Olivares
Dear folks,

Two of three machines updated to xfce4.10 successfully.  Now only one
refuses to work.  I encounter the error above.

I have tried numerous approaches already, but none have seemed to work.

Error message is as follows:

Creating user `messagebus' with uid `556'
pwd_mkdb:  olivares
gid is incorrect
pwd_mkdb:  at line #25
pwd_mkdb:  /etc/master.passwd:  Inappropriate file type or format
pw:  passwd file update:  No such file or directory
*** Error code 74

Stop in /usr/ports/devel/dbus.

=== Installation of dbus-1.4.12_2 (devel/dbus) failed
=== Aborting update


I have looked into

http://forums.freebsd.org/archive/index.php/t-22791.html

http://freebsd.1045724.n5.nabble.com/How-can-I-rescue-my-passwd-file-after-corrupting-it-and-why-does-it-still-work-td3778319.html

I have copied the file master.passwd.bak from /var/backups/ into /etc/
and it still does not work.  I cannot get around this error.

I cleaned up the stuff that I did not remove, now I have no working desktop.

Is there a way to fix it via livecd/livedvd, or can I copy it from
another machine and resync it?

Or do I just flat install FreeBSD again and be done with it?

Advice/Comments/Suggestions are appreciated and hopefully I can get
back this machine one way or another.

Best Regards,


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


library search path

2012-05-28 Thread fake fake
To install tmux under $HOME/bin, I have installed libevent library
under $HOME/lib (I do not have root privilege).
Then set the variable LD_LIBRARY_PATH to $HOME/lib in .cshrc.
But ./configure --prefix=$HOME in src/tmux returns configure:
error: libevent not found.
What am I doing wrong?
___
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: font sizes in xfce 4.10

2012-05-28 Thread Warren Block

On Sun, 27 May 2012, Antonio Olivares wrote:


I believe that I have found a way to fix the issue.

The problem was the DPI, the fonts are the same size.  Now everything
seems to be normal :)


When Settings/Appearance/Custom DPI is unchecked, it should get the 
actual monitor DPI value from X, which in turn gets it from the monitor 
via DDC.  Some monitors fail at this, but most work.

___
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: font sizes in xfce 4.10

2012-05-28 Thread Antonio Olivares
On Mon, May 28, 2012 at 9:49 AM, Warren Block wbl...@wonkity.com wrote:
 On Sun, 27 May 2012, Antonio Olivares wrote:

 I believe that I have found a way to fix the issue.

 The problem was the DPI, the fonts are the same size.  Now everything
 seems to be normal :)


 When Settings/Appearance/Custom DPI is unchecked, it should get the actual
 monitor DPI value from X, which in turn gets it from the monitor via DDC.
  Some monitors fail at this, but most work.

This is exactly what I did :)
Although I did not state it correctly :(

Best Regards,


Antonio
___
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: starting xfce4 reboots machine

2012-05-28 Thread Warren Block

On Sun, 27 May 2012, Waitman Gobble wrote:


Hi,

I've been running FreeBSD 10.0-CURRENT for some months, last time i rebuilt
the system was April 20th. I've rebooted my machine many times and started
X and Xfce4 without any trouble, however today I'm out of town on the road
and when I startx my machine reboots. If I log in as root and startx i can
run xorg without xfce4. but if i try startxfce4 the machine reboots. If I
try to startx without xfce4 from my non-root account it locks up.
It's pretty quick and nothing I can see in the logs...

Anyone have any ideas about troubleshooting??? It seems like it's out of
the blue with no changes to the system that I recall. :)


First, make sure you have cairo-1.10 instead of 1.12.  After that, run 
pkg_libchk from sysutils/bsdadminscripts.  Rebuild anything that says it 
is missing libxfce4-utils.


After that, well, I still see some unsteadiness from xfce-4.10. 
There's a long delay on start, like a DNS timeout (but I have working 
DNS).  Switching to console works, switching back usually does not, 
rebooting the machine.  Leaving X and starting again reboots the 
machine.  These last two could be due to the recent X upgrade, except 
I'm pretty sure they did not happen until xfce-4.10.

___
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: Cloud software ?

2012-05-28 Thread Marcelo Celleri

Hi,

You could try sprakleshare, it's something like dropbox in your own
server.


Marcelo.


El vie, 25-05-2012 a las 18:41 -0500, Derek Ragona escribió:
 At 06:15 AM 5/25/2012, Frank Bonnet wrote:
 On 05/25/2012 12:10 PM, Dennis Glatting wrote:
 On Fri, 2012-05-25 at 10:11 +0200, Frank Bonnet wrote:
 Hello
 
 I'm searching for a cloud software :-)
 
 More precisely we would like to offer to our students and professors
 a kind of private cloud to access/manipulate  their personnal data
 from almost anywhere and with almost any devices ...
 ( Personnal PC, Mac, smartphones   and tablets ... etc )
 There is a couple of cheap ways of doing this. First, download the free
 version of VMWare ESXi and partition your hardware. Another is to
 install VirtualBox, a Type-2 HyperVisor.
 
 Depending on what you consider a cloud, take a look at Hadoop. Hadoop
 isn't partitioning hardware but Hadoop and the applications that run on
 top of Hadoop can give you an interesting view of these technologies and
 how they can be applied to cloudy data.
 
 As for how to get data into/out-of the cloud, let me know how that
 works. :)
 
 
 
 
 Hi Dennis
 
 Thank you for that info !
 gonna investigate the hadoop way.
 
 
 
 
 I have built and managed a couple large hadoop clusters.  Contact me 
 directly for more information.
 
 -Derek
 


___
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't get irc/inspircd to build, any clues?

2012-05-28 Thread Polytropon
On Mon, 28 May 2012 08:41:44 -0400, Howard Leadmon wrote:
  I just took a look and granted I was on version 2.0.5 (I am also on amd64,
 so not x86) and there is no
 /usr/ports/irc/inspircd/work/InspIRCd-2.0.2/BSDmakefile present at that
 path.   So I then went to the inspircd.org site and downloaded both the
 2.0.5 and 2.0.2 archives, and again I see no BSDmakefile.

I don't see any FreeBSD sources on their download page,
https://github.com/inspircd/inspircd/downloads. I think
it's the usual Linux source packages (haven't looked in
detail, I admit).



  Is there some command that is called, or something performed that creates
 this BSDmakefile??   If so, maybe on amd64 this isn't working.

Erm... just to get that right: You are _not_ using the
sources obtained via ports collection, instead you try
to compile Linux source code?

That won't work.

FreeBSD != Linux. Linux sources typically don't compile.
That's why applications need to be ported, that's what
is in the ports collection. You should _never_ need to
download stuff from the web.

First check your /usr/ports/irc/inspircd/Makefile. It
should indicate version 2.0.5. Then do

# make clean

to make sure there's nothing unusual left. Then go
step by step. First check if the sources will be
obtained correctly:

# make fetch

Then extract the sources:

# make extract

The sources will also be checked for a checksum match,
this makes sure the obtained sources are good. The file
/usr/ports/irc/inspircd/work/InspIRCd-2.0.5/BSDmakefile
should now be present.

As a next step, set your options:

# make config

And if this has worked, you can actually start to build
from that sources:

# make

If done, install it:

# make install

By the way, using a port management tool would have the
same effect, it's just more comfortable, but offers less
step by step diagnostics. A command like

# portmaster irc/inspircd

would install from source. Note that the port management
tool would call all the required steps automatically. I
suggested the step by step method only to see where the
problem occurs (because there are more than one point that
can go wrong).

If everything fails, just try to install from a precompiled
binary package:

# pkg_add -r inspircd

Maybe such a package is present (haven't checked).


I hope I didn't misunderstand you, but allow me to repeat:
You cannot use Linux sources with the ports collection.
The ports collection has automated fetching, extracting,
configuring and building mechanisms. You should use them.


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: pwd_mkdb: /etc/master.passwd: Inappropriate file type or format

2012-05-28 Thread Polytropon
On Mon, 28 May 2012 08:44:46 -0500, Antonio Olivares wrote:
 I have copied the file master.passwd.bak from /var/backups/ into /etc/
 and it still does not work.  I cannot get around this error.

You have to make sure /etc/passwd and /etc/master.passwd have
the same content (just that they differ in passwords and in
file permissions). The database files /etc/(s)pwd.db will be
created from those files by the pwd_mkdb command. This of
course requires root access (which I assume you have made
sure).



 Is there a way to fix it via livecd/livedvd, or can I copy it from
 another machine and resync it?

You can use the files (_both_ files!) from before starting
the dbus installation. Regenerate the databases with the
pwd_mkdb command.



 Or do I just flat install FreeBSD again and be done with it?

That is possible, but should be your last option.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: library search path

2012-05-28 Thread Polytropon
On Mon, 28 May 2012 23:11:26 +0900, fake fake wrote:
 To install tmux under $HOME/bin, I have installed libevent library
 under $HOME/lib (I do not have root privilege).
 Then set the variable LD_LIBRARY_PATH to $HOME/lib in .cshrc.
 But ./configure --prefix=$HOME in src/tmux returns configure:
 error: libevent not found.
 What am I doing wrong?

Note that you need to _add_ $HOME/lib to $LD_LIBRARY_PATH
(and check that it's expanded correctly).

Do you have access to the ports tree (reading)? Then you
could simply redefine $WRKDIRPREFIX to where you can
compile, and $PREFIX to where you can install to. See
man 7 ports for details.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: library search path

2012-05-28 Thread Martin Laabs

Hello,

just a guess:

On 28.05.2012 16:11, fake fake wrote:


To install tmux under $HOME/bin, I have installed libevent library
under $HOME/lib (I do not have root privilege).
Then set the variable LD_LIBRARY_PATH to $HOME/lib in .cshrc.


LD_LIBRARY_PATH only affects the dynamic linker and its search path
when executing a program. You will need this when you execude tmux afterwards.


But ./configure --prefix=$HOME in src/tmux returns configure:


With --prefix=... you tell the configure script where you wanna install the 
files. Now you have to tell the gcc where to search for the 
library/includes. So try to set CFLAGS=-I $HOME/include -L $HOME/lib


Best regards,
 Martin Laabs

___
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't get irc/inspircd to build, any clues?

2012-05-28 Thread Mark Felder
I'm currently the maintainer and it works on the machines I run it on. I  
also pushed it through redports to prove it can compile on 7.4, 8.x, 9,  
CLANG, etc.


It looks like BSDMakefile is generated during the build process. I'm  
guessing something on your system is screwed up if it can't generate it.


Things to try:

-delete /usr/src
-delete /var/db/sub/ports-all
-re-fetch ports via csup
-install sysutils/bsdadminscripts, run pkg_libchk and fix any issues there
-try building again
-perhaps its an issue with your shell? have any strange aliases or  
configuration?

___
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, masquerading, exposed root?

2012-05-28 Thread Polytropon
On Mon, 28 May 2012 12:49:43 +0100, Anton Shterenlikht wrote:
 If I leave the root exposed, the From
 field looks e.g. r...@mech-anton240.men.bris.ac.uk,
 which is rejected by the university mailer,
 because it has no knowledge of this address.

You should be able to use sendmail's masquerading features.
For example to be configured in the correct .mc file:

FEATURE(always_add_domain)
FEATURE(`masquerade_entire_domain')
FEATURE(`masquerade_envelope')
FEATURE(`allmasquerade')
MASQUERADE_AS(`bris.ac.uk')
MASQUERADE_DOMAIN(`bris.ac.uk.')
MASQUERADE_DOMAIN(localhost)
MASQUERADE_DOMAIN(localhost.localdomain)

That should turn r...@mech-anton240.men.bris.ac.uk into
r...@bris.ac.uk if that's okay for you. If you change
root's name field in the passwd database (use chsh),
you could add a specific machine name so you'll easily
see from which root account you're receiving messages,
e. g. 

From: mech-anton240.men root r...@bris.ac.uk
To: You where.you.wanna@your.root.mail.to
Subject: mech-anton240.men.bris.ac.uk security run output

... and so on ...

That's no big problem as you're not going to reply to
that address. (If you had to, setting Reply-To: would
surely help.)


Or you could use /etc/mail/aliases to redirect root to
a different mail address.


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: pwd_mkdb: /etc/master.passwd: Inappropriate file type or format

2012-05-28 Thread Antonio Olivares
On Mon, May 28, 2012 at 10:46 AM, Polytropon free...@edvax.de wrote:
 On Mon, 28 May 2012 08:44:46 -0500, Antonio Olivares wrote:
 I have copied the file master.passwd.bak from /var/backups/ into /etc/
 and it still does not work.  I cannot get around this error.

 You have to make sure /etc/passwd and /etc/master.passwd have
 the same content (just that they differ in passwords and in
 file permissions). The database files /etc/(s)pwd.db will be
 created from those files by the pwd_mkdb command. This of
 course requires root access (which I assume you have made
 sure).

 Is there a way to fix it via livecd/livedvd, or can I copy it from
 another machine and resync it?

 You can use the files (_both_ files!) from before starting
 the dbus installation. Regenerate the databases with the
 pwd_mkdb command.

 Or do I just flat install FreeBSD again and be done with it?

 That is possible, but should be your last option.

 --

I have run the command as root user
# pwd_mkdb -d /etc/master.passwd

but it fails with a pam_auth() or I can't remember exact error
message, I will need to run command and post the exact error message
here :(

Either do this, or install a desktop which does not depend on
devel/dbus package(s).

Regards,


Antonio
___
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: pwd_mkdb: /etc/master.passwd: Inappropriate file type or format

2012-05-28 Thread Polytropon
On Mon, 28 May 2012 11:51:23 -0500, Antonio Olivares wrote:
 I have run the command as root user
 # pwd_mkdb -d /etc/master.passwd

Looks wrong; the parameter -d is -d directory, explained
as Store databases into specified destination directory
instead of /etc.

The coorect command should be

# pwd_mkdb /etc/master.passwd

See man pwd_mkdb for details.



 but it fails with a pam_auth() or I can't remember exact error
 message, I will need to run command and post the exact error message
 here :(

Some file access error would be possible.



 Either do this, or install a desktop which does not depend on
 devel/dbus package(s).

The dbus port is often used to enhance functionality, but
it's not entirely required to run KDE, Gnome or Xfce (to name
the big three). Just make sure X is compiled without it.
Maybe some functionality might be missing, but if you don't
depend on it... as for just automount, FreeBSD has a native
solution that worked even before HAL and DBUS.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: starting xfce4 reboots machine

2012-05-28 Thread Waitman Gobble
On Mon, May 28, 2012 at 7:42 AM, Warren Block wbl...@wonkity.com wrote:

 On Sun, 27 May 2012, Waitman Gobble wrote:

  Hi,

 I've been running FreeBSD 10.0-CURRENT for some months, last time i
 rebuilt
 the system was April 20th. I've rebooted my machine many times and started
 X and Xfce4 without any trouble, however today I'm out of town on the road
 and when I startx my machine reboots. If I log in as root and startx i can
 run xorg without xfce4. but if i try startxfce4 the machine reboots. If I
 try to startx without xfce4 from my non-root account it locks up.
 It's pretty quick and nothing I can see in the logs...

 Anyone have any ideas about troubleshooting??? It seems like it's out of
 the blue with no changes to the system that I recall. :)


 First, make sure you have cairo-1.10 instead of 1.12.  After that, run
 pkg_libchk from sysutils/bsdadminscripts.  Rebuild anything that says it is
 missing libxfce4-utils.

 After that, well, I still see some unsteadiness from xfce-4.10. There's a
 long delay on start, like a DNS timeout (but I have working DNS).
  Switching to console works, switching back usually does not, rebooting the
 machine.  Leaving X and starting again reboots the machine.  These last two
 could be due to the recent X upgrade, except I'm pretty sure they did not
 happen until xfce-4.10.


thanks. i'll check it out..

Waitman
___
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: library search path

2012-05-28 Thread Eitan Adler
On 28 May 2012 08:54, Polytropon free...@edvax.de wrote:
 On Mon, 28 May 2012 23:11:26 +0900, fake fake wrote:
 To install tmux under $HOME/bin, I have installed libevent library
 under $HOME/lib (I do not have root privilege).
 Then set the variable LD_LIBRARY_PATH to $HOME/lib in .cshrc.
 But ./configure --prefix=$HOME in src/tmux returns configure:
 error: libevent not found.
 What am I doing wrong?

 Note that you need to _add_ $HOME/lib to $LD_LIBRARY_PATH
 (and check that it's expanded correctly).

 Do you have access to the ports tree (reading)? Then you
 could simply redefine $WRKDIRPREFIX to where you can
 compile, and $PREFIX to where you can install to. See
 man 7 ports for details.

You can also try -DINSTALL_AS_USER though it may not work as advertised.

-- 
Eitan Adler
___
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: removing /var/empty on a non-system disk

2012-05-28 Thread Gary Aitken

On 5/25/2012 4:01 PM, Polytropon wrote:

On Fri, 25 May 2012 15:04:50 -0600, Gary Aitken wrote:

On 05/25/12 14:21, Polytropon wrote:

On Fri, 25 May 2012 14:04:50 -0600, Gary Aitken wrote:

something I'm not seeing

I've got a disk previously used as a sys disk I'm trying to clean up.
What's the key to removing /var/empty?

280 /hd1/var#sysctl kern.securelevel
kern.securelevel: -1
281 /hd1/var#ls -l
total 4
dr-xr-xr-x  2 root  wheel  512 Jan  3 00:55 empty
282 /hd1/var#chflags noschg empty
283 /hd1/var#chmod 777 empty
chmod: empty: Operation not permitted
284 /hd1/var#rmdir empty
rmdir: empty: Operation not permitted


Interesting, I just tried this on my home system (FreeBSD 8.2-STABLE)
and it worked as intended. I did use the exact commands,
same securelevel.

Use the -o option for ls (ls -lo) to check on the effect
of chflags and chmod.


Just found it, something I forgot about a long time ago...
I was running under su logged in as my normal user.
Had to back all the way out and log in as root.


I should have mentioned that I did the (successful) test
logging in as root (real console login). If you use su -
or su root, the effect should be the same. You can always
check the success of your operation with the ls -lo command.


Nope.  That was the problem.  I had logged in on the vty as normal user 
and done su root.  Had to back all the way out and log in on the vty as 
root to make it work.

___
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: pam_start(): system error

2012-05-28 Thread Patrick Lamaiziere
Le Fri, 25 May 2012 22:36:01 -0400,
Tim Dunphy bluethu...@gmail.com a écrit :

Hello,

  My freebsd 8.2 box has a new, interesting error. When I go to change
 any user password I see the message passwd: pam_start(): system error
 as in :
 
 [root@LBSD2:/etc/pam.d] #passwd
 Changing local password for root
 passwd: pam_start(): system error
 
 passwd is able to see it's libraries:

you can try to reinstall the world and merge the pam configuration
(/etc/pam.d). You can check the pam modules (.so) also
(in /usr/lib/pam_*.so)

Good luck, regards.
___
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: Cloud software ?

2012-05-28 Thread Frank Bonnet

Thanks Marcelo seems useful for me
let's try tomorrow


Le 28/05/2012 16:51, Marcelo Celleri a écrit :

Hi,

You could try sprakleshare, it's something like dropbox in your own
server.


Marcelo.


El vie, 25-05-2012 a las 18:41 -0500, Derek Ragona escribió:

At 06:15 AM 5/25/2012, Frank Bonnet wrote:

On 05/25/2012 12:10 PM, Dennis Glatting wrote:

On Fri, 2012-05-25 at 10:11 +0200, Frank Bonnet wrote:

Hello

I'm searching for a cloud software :-)

More precisely we would like to offer to our students and professors
a kind of private cloud to access/manipulate  their personnal data

from almost anywhere and with almost any devices ...

( Personnal PC, Mac, smartphones   and tablets ... etc )

There is a couple of cheap ways of doing this. First, download the free
version of VMWare ESXi and partition your hardware. Another is to
install VirtualBox, a Type-2 HyperVisor.

Depending on what you consider a cloud, take a look at Hadoop. Hadoop
isn't partitioning hardware but Hadoop and the applications that run on
top of Hadoop can give you an interesting view of these technologies and
how they can be applied to cloudy data.

As for how to get data into/out-of the cloud, let me know how that
works. :)




Hi Dennis

Thank you for that info !
gonna investigate the hadoop way.




I have built and managed a couple large hadoop clusters.  Contact me
directly for more information.

-Derek



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

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


mount refused, no journal

2012-05-28 Thread Gary Aitken

I mounted a previous system disk,
cleaned everything off it using rm,
then stuck a bunch of files on it.

Used it for a day or so,
including at least one
  shutdown -r
then halted the system to swap a CD.

Upon reboot, the system refuses to mount the drive:

mount -o rw -t ufs /dev/ada0p2 /hd1
Failed to find journal.  Use newfs to create one
Failed to start journal: 2
mount: /dev/ada0p2 : No such file or directory

Doing
  mount -o ro -t ufs /dev/ada0p2 /hd1
succeeds.

tunefs -p /hd1
shows
  soft updates   enabled
  soft update journaling enabled
  gjournal   disabled

tunefs -p /
shows the same

The error looks like it's expecting gjournal to be enabled,
but the tunefs output shows it should not be.

Any hints?

Thanks,

Gary
___
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: removing /var/empty on a non-system disk

2012-05-28 Thread Robert Bonomi
h
 From owner-freebsd-questi...@freebsd.org  Mon May 28 14:10:55 2012
 Date: Mon, 28 May 2012 13:05:45 -0600
 From: Gary Aitken free...@dreamchaser.org.r-bonomi.com
 To: Polytropon free...@edvax.de
 Cc: freebsd-questions@freebsd.org
 Subject: Re: removing /var/empty on a non-system disk

 On 5/25/2012 4:01 PM, Polytropon wrote:
 
  I should have mentioned that I did the (successful) test
  logging in as root (real console login). If you use su -
  or su root, the effect should be the same. You can always
  check the success of your operation with the ls -lo command.

 Nope.  That was the problem.  I had logged in on the vty as normal user 
 and done su root.  Had to back all the way out and log in on the vty as 
 root to make it work.

I'm going to guess that you did 'su root', not 'su - root'.  The two commands
are *NOT* identical.   'su root' does not run the root 'login' scripts; thus
environment variables (including path, user, logname etc.) are *not* set as
they are on root login -- this causes some 'am i root' tests to fail.  OTOH,
'su - root' should be equivalent to a root login in all respects.

NOTE; there will be issues if the 'working directory' of a parent process is 
the directory you are trying to delete.


___
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


Portmaster Fetch

2012-05-28 Thread Silvio Siefke
Hello,

is there a chance that portmaster can be only fetch all Source which need 
update?
I mean make fetch-recursiv has helped in the ports collection, when i think 
right, 
but can portmaster that with all packages they need update?

Thanks for help. 

Regards
Silvio
___
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: removing /var/empty on a non-system disk

2012-05-28 Thread Gary Aitken

On 5/28/2012 3:08 PM, Robert Bonomi wrote:


On 5/25/2012 4:01 PM, Polytropon wrote:


I should have mentioned that I did the (successful) test
logging in as root (real console login). If you use su -
or su root, the effect should be the same. You can always
check the success of your operation with the ls -lo command.


Nope.  That was the problem.  I had logged in on the vty as normal user
and done su root.  Had to back all the way out and log in on the vty as
root to make it work.


I'm going to guess that you did 'su root', not 'su - root'.  The two commands
are *NOT* identical.   'su root' does not run the root 'login' scripts; thus
environment variables (including path, user, logname etc.) are *not* set as
they are on root login -- this causes some 'am i root' tests to fail.  OTOH,
'su - root' should be equivalent to a root login in all respects.


ahhh.. Thank you.  That explains a number of things.

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


nanoBSD Driver Build

2012-05-28 Thread Thomas D. Dean
I need to build a (for me) complicated driver for nanoBSD running on an 
Elan SC520, an i386 system.


I have nanoBSD running, just need the driver.

I mount a disk from an i386 system and can build userland applications OK.

I installed usr/share/mk.

To build the driver, I need the source tree.  How much of that do I need?

I have /usr/obj/nanobsd.TS5700/i386.i386/usr/src/sys and its subtree. 
Is this what I need?


Tom Dean
___
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: pwd_mkdb: /etc/master.passwd: Inappropriate file type or format

2012-05-28 Thread Antonio Olivares

 Looks wrong; the parameter -d is -d directory, explained
 as Store databases into specified destination directory
 instead of /etc.

 The coorect command should be

        # pwd_mkdb /etc/master.passwd

 See man pwd_mkdb for details.

 but it fails with a pam_auth() or I can't remember exact error
 message, I will need to run command and post the exact error message
 here :(

 Some file access error would be possible.

 Either do this, or install a desktop which does not depend on
 devel/dbus package(s).

 The dbus port is often used to enhance functionality, but
 it's not entirely required to run KDE, Gnome or Xfce (to name
 the big three). Just make sure X is compiled without it.
 Maybe some functionality might be missing, but if you don't
 depend on it... as for just automount, FreeBSD has a native
 solution that worked even before HAL and DBUS.

 --

Polytropon  all,

I have run
# vipw /etc/master.passwd

and removed the offending line #25.  Then I ran the command
# pwd_mkdb -d /etc/master.passwd

and it succeeded!  :)  Then I readded the user with adduser command
and all is well.  I got back my xfce desktop and it is working.
Thanks to special folks like you and others who are very helpful.  I
was getting desperate and was about to throw the towel and reinstall
FreeBSD on this machine.  I had old backups from last year, but all
the new changes would have been a waste to get back from those.

Best Regards,


Antonio
___
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: mount refused, no journal (solved)

2012-05-28 Thread Gary Aitken
Not sure why it happened in the first place,
but the failure to re-establish the journal using tunefs
was a result of su root and not su - root

On 05/28/12 14:34, Gary Aitken wrote:
 I mounted a previous system disk,
 cleaned everything off it using rm,
 then stuck a bunch of files on it.
 
 Used it for a day or so,
 including at least one
 shutdown -r
 then halted the system to swap a CD.
 
 Upon reboot, the system refuses to mount the drive:
 
 mount -o rw -t ufs /dev/ada0p2 /hd1
 Failed to find journal. Use newfs to create one
 Failed to start journal: 2
 mount: /dev/ada0p2 : No such file or directory
 
 Doing
 mount -o ro -t ufs /dev/ada0p2 /hd1
 succeeds.
 
 tunefs -p /hd1
 shows
 soft updates enabled
 soft update journaling enabled
 gjournal disabled
 
 tunefs -p /
 shows the same
 
 The error looks like it's expecting gjournal to be enabled,
 but the tunefs output shows it should not be.
 
 Any hints?
 
 Thanks,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: removing /var/empty on a non-system disk

2012-05-28 Thread Gary Aitken
On 05/28/12 15:08, Robert Bonomi wrote:

  From owner-freebsd-questi...@freebsd.org  Mon May 28 14:10:55 2012
 Date: Mon, 28 May 2012 13:05:45 -0600
 From: Gary Aitkenfree...@dreamchaser.org.r-bonomi.com
 To: Polytroponfree...@edvax.de
 Cc: freebsd-questions@freebsd.org
 Subject: Re: removing /var/empty on a non-system disk

 On 5/25/2012 4:01 PM, Polytropon wrote:

 I should have mentioned that I did the (successful) test
 logging in as root (real console login). If you use su -
 or su root, the effect should be the same. You can always
 check the success of your operation with the ls -lo command.

 Nope.  That was the problem.  I had logged in on the vty as normal user
 and done su root.  Had to back all the way out and log in on the vty as
 root to make it work.
 
 I'm going to guess that you did 'su root', not 'su - root'.  The two commands
 are *NOT* identical.   'su root' does not run the root 'login' scripts; thus
 environment variables (including path, user, logname etc.) are *not* set as
 they are on root login -- this causes some 'am i root' tests to fail.  OTOH,
 'su - root' should be equivalent to a root login in all respects.

Thank you.  That explains a number of problems I've been having.  doh.

 NOTE; there will be issues if the 'working directory' of a parent process is
 the directory you are trying to delete.

knew about that part
___
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 I am upset

2012-05-28 Thread Greg 'groggy' Lehey
On Saturday, 22 January 2005 at  9:53:53 +, d...@safeport.com wrote:
 On Sun, 27 May 2012, Warren Block wrote:

 There can be a tremendous investment of time in using software, whether
 free or not.  Money too, often.

 Those who work to write, port, and support free software also spend a
 tremendous amount of time in doing that.  Money too, often.

 So both parties have a large investment, and it's easy but counterproductive
 to get emotional about it.  Take a deep breath, be polite, and try to
 appreciate the other guy's problems.  Otherwise it just ends up creating more
 problems, and there are already enough.

 Warren makes a great point. In years past Greg Lehey used to post,
 How to ask a question, or something similar.

How to get best results from FreeBSD questions.

 Its worth resurrecting that.

It's still there in the FreeBSD web site:
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-questions/
If people are getting upset, maybe it's worth reading it again.

 As I recall, the major points were: Nobody here is getting paid to
 do this; there are a great number of people with a wealth of
 information willing to help; and, its up to the one asking the
 question to do it in such a way as to peak someones interest.

Yes, that's a good paraphrase.

FWIW I think that Mitja has a point, even if in his frustration he put
it badly.  It's a pity that nobody here tried to get him to calm down
and say what went wrong or enter a PR.  While it's true that we're all
volunteers, that doesn't mean we shouldn't be proud of our product and
want to fix it if things go wrong.

Greg
-- 
Sent from my desktop computer
Finger g...@freebsd.org for PGP public key.
See complete headers for address and phone numbers.
This message is digitally signed.  If your Microsoft MUA reports
problems, please read http://tinyurl.com/broken-mua


pgpDR3Bd6XYke.pgp
Description: PGP signature


Re: Portmaster Fetch

2012-05-28 Thread Polytropon
On Mon, 28 May 2012 23:12:31 +0200, Silvio Siefke wrote:
 Hello,
 
 is there a chance that portmaster can be only fetch all Source which need 
 update?
 I mean make fetch-recursiv has helped in the ports collection, when i think 
 right, 
 but can portmaster that with all packages they need update?

Is portmaster -n (run through all steps, but do not make
or install any ports) what you need? Maybe see man portmaster
for more details.


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Portmaster Fetch

2012-05-28 Thread Eitan Adler
On 28 May 2012 14:12, Silvio Siefke siefke_lis...@web.de wrote:
 Hello,

 is there a chance that portmaster can be only fetch all Source which need 
 update?
 I mean make fetch-recursiv has helped in the ports collection, when i think 
 right,
 but can portmaster that with all packages they need update?

portmaster -F


-- 
Eitan Adler
___
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: library search path

2012-05-28 Thread fake fake
Thank you.
./configure --prefix=$HOME CFLAGS=-L $HOME/lib  worked perfectly.

further info:
I should have set LD_LIBRARY_PATH to absolute path.
tmux didn't work with libevent 2.* but did with libevent 1.4.*

On 29 May 2012 00:57, Martin Laabs i...@martinlaabs.de wrote:
 Hello,

 just a guess:


 On 28.05.2012 16:11, fake fake wrote:

 To install tmux under $HOME/bin, I have installed libevent library
 under $HOME/lib (I do not have root privilege).
 Then set the variable LD_LIBRARY_PATH to $HOME/lib in .cshrc.


 LD_LIBRARY_PATH only affects the dynamic linker and its search path
 when executing a program. You will need this when you execude tmux
 afterwards.


 But ./configure --prefix=$HOME in src/tmux returns configure:


 With --prefix=... you tell the configure script where you wanna install the
 files. Now you have to tell the gcc where to search for the
 library/includes. So try to set CFLAGS=-I $HOME/include -L $HOME/lib

 Best regards,
  Martin Laabs

___
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