Can not install packages: Missing c.43.0 and pthread.so.9.0 in /usr/lib

2008-05-03 Thread Zoong PHAM
After a fresh install of OBSD-4.3 x86 from the CD image downloaded from
ftp.openbsd.org, I could not install many packages from few FTP
sites, including ftp.openbsd.org.

The error message was about c.43.0 and pthread.so.9.0 in /usr/lib.
I did not see any files with "c.43.0" and "pthread.so.9.0" in the names.
So I did this to resolve the problem:

ln -s /usr/lib/libc.so.44.0 /usr/lib/libc.so.43.0 
ln -s /usr/lib/libstdc++.so.44.0 /usr/lib/libstdc++.so.43.0
ln -s /usr/lib/libpthread.so.10.0 /usr/lib/libpthread.so.9.0 

After that, I now can install many packages.

Are there know problems with the CD image from ftp.openbsd.org?
Is that right what I did to resolve?

Thanks,
Zoong



Re: Thinkpad x61 can see 3 GB of RAM out of total 4 GB

2008-04-09 Thread Zoong PHAM
On Wednesday,  9 April 2008 at 14:57:51 -0400, [EMAIL PROTECTED] wrote:
> 
> The Thinkpad's BIOS should have a setting to remap the physical memory
> to address space above 4 GB, that should make a 64 bit OS see all of
> it.

I tried Ubuntu 8.04 AMD64 beta Live CD yesterday.
It can see all 4GB RAM without any changes to the BIOS.

--
Zoong



Thinkpad x61 can see 3 GB of RAM out of total 4 GB

2008-04-08 Thread Zoong PHAM
My new Thinkpad x61 has 4 GB of RAM.
The BIOS can see 4 GB.
OBSD-4.2 and 4.3 (snapshot 07/04/2008), both i386 and amd64, can see
only 3 GB.
What can I do to make OBSD see all the RAM?

FYI, the Windows XP that preinstalled by IBM can also see only 3 GB.

Thanks,
Zoong PHAM



what version/release for Thinkpad x61

2008-03-15 Thread Zoong PHAM
I am getting a Thinkpad x61 soon.
What version or release should I choose?
4.2 or 4.3 or latest snapshot?

I need to run Windows XP as well so should I have dual boot or use qemu
and Windows as a guest OS?
What is the status of (k)qemu in OpenBSD now?

Thanks,
Zoong



How to stop cwm

2007-11-22 Thread Zoong PHAM
How do I stop or get out of CWM?

So far I have to use Ctrl-Alt-Backspace.

My ~/.xinitrc is the same as /etc/X11/xinit/xinitrc except "fvwm" is
replaced with "cwm".

TIA,
Zoong



Re: Does Xenocara requires sets x*42.tgz

2007-11-16 Thread Zoong PHAM
On Friday, 16 November 2007 at 10:52:41 +, Edd Barrett wrote:
> On 16/11/2007, Zoong PHAM <[EMAIL PROTECTED]> wrote:
> > The reason is the X sets don't have window manager cwm.
> 
> Where did you get this idea from? It's in the sets.

Sorry about the confusion, I missed that.
It is really in the X sets.

Thanks.
Zoong



Re: Does Xenocara requires sets x*42.tgz

2007-11-15 Thread Zoong PHAM
On Friday, 16 November 2007 at  1:19:43 +, Stuart Henderson wrote:
> Why? That doesn't make sense. If you want to use X, just install
> the sets.

The reason is the X sets don't have window manager cwm.
I just want to use cwm. How can I use cwm without Xenocara ?

Regards,
ZP



Does Xenocara requires sets x*42.tgz

2007-11-15 Thread Zoong PHAM
I want to try out the window manager cwm that comes with 4.2 Xenocara.
Does it require the sets x*42.tgz?

My plan is installing 4.2 without the sets x*42.tgz. Then extract
xenocara.tgz to /usr/src/ and follow the instruction in
/usr/src/xenocara/README to build xenocara.
Are they the correct steps?

Thanks,
ZP



Need help with sendmail: Error message "sm-mta: ... User unknown" only from few external senders.

2007-03-01 Thread Zoong PHAM
I have problem with receiving email for virtual users:
Most of emails sent to a virtual user [EMAIL PROTECTED] receive OK
most of the time. However, some emails sent to that address get a
error message like this:
Feb 22 21:00:27 www sm-mta[1583]: l1MA0P1a001583: <[EMAIL PROTECTED]>... User 
unknown
Feb 22 21:00:27 www sm-mta[1583]: l1MA0P1a001583: from=<[EMAIL PROTECTED]>, 
size=0, class=0, nrcpts=0, proto=SMTP , daemon=MTA, relay=smtp.com [69.20.6.88]

And [EMAIL PROTECTED] received this email:

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: 22 February 2007 17:00
> To: [EMAIL PROTECTED]
> Subject: failure notice

> Hi. This is the qmail-send program at smtp.com.
> I'm afraid I wasn't able to deliver your message to the following
addresses.
> This is a permanent error; I've given up. Sorry it didn't work out.

> <[EMAIL PROTECTED]>:
> 69.46.129.175 does not like recipient.
> Remote host said: 550 5.1.1 <[EMAIL PROTECTED]>... User unknown
> Giving up on 69.46.129.175.


Some tests:
# sendmail -bv [EMAIL PROTECTED]
[EMAIL PROTECTED] deliverable: mailer local, user a_13745156
#

# sendmail -bt
ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter  
> $w
www
> /map virtuser [EMAIL PROTECTED]

map_lookup: virtuser ([EMAIL PROTECTED]) returns a_13745156 (0)
> 3,0 [EMAIL PROTECTED]

canonify   input: user1 @ client1 . com
Canonify2  input: user1 < @ client1 . com >
Canonify2returns: user1 < @ client1 . com . >
canonify returns: user1 < @ client1 . com . >
parse  input: user1 < @ client1 . com . >
Parse0 input: user1 < @ client1 . com . >
Parse0   returns: user1 < @ client1 . com . >
ParseLocal input: user1 < @ client1 . com . >
ParseLocal   returns: user1 < @ client1 . com . >
Parse1 input: user1 < @ client1 . com . >
Recurseinput: a_13745156
canonify   input: a_13745156
Canonify2  input: a_13745156
Canonify2returns: a_13745156
canonify returns: a_13745156
parse  input: a_13745156
Parse0 input: a_13745156
Parse0   returns: a_13745156
ParseLocal input: a_13745156
ParseLocal   returns: a_13745156
Parse1 input: a_13745156
Parse1   returns: $# local $: a_13745156
parsereturns: $# local $: a_13745156
Recurse  returns: $# local $: a_13745156
Parse1   returns: $# local $: a_13745156
parsereturns: $# local $: a_13745156


My server details:
Name: www.myserver.com
OS: OBSD-3.6
IP: 69.46.129.175
Sendmail: 8.13.4

Notes: a_13745156 is a real local account which holds mails for
address: [EMAIL PROTECTED]

Thanks,
ZP 



Re: java on openbsd 4.0?

2007-01-09 Thread Zoong PHAM
On Tuesday,  9 January 2007 at 13:37:37 -0300, Gustavo Rios wrote:
> Is it possible to build jdk;java directly from openbsd: I always
> believed i had to "install" linux emulation first.

No, I don't think so.

I just installed jdk-1.5.0p19
from the port: very much "make; make install"

After that, I could compile and run helloworld.java :-)

If you want the packages, email me privately.

HTH,
Zoong



Re: Which tools the OpenBSD developers are using?

2006-11-28 Thread Zoong PHAM
On Tuesday, 28 November 2006 at 17:33:38 -0600, John Brooks wrote:
> Haven't heard of an AK45, but I'm told the Russians are real 
> proud of their AK-47.

The AK47 is the original and the most popular (licenced to China and
other countries to manufacture) of the AK series.
There are newer and more advanced AKs after the AK47.

I never seen a AK45. Maybe it's a "open source" version of AK47.
Anyway, AK47s are simple and just works like OpenBSD.

Zoong



Re: Which tools the OpenBSD developers are using?

2006-11-28 Thread Zoong PHAM
On Tuesday, 28 November 2006 at 18:12:48 -0500, Jim Razmus wrote:
> * Diana Eichert <[EMAIL PROTECTED]> [061128 18:09]:
> > I use a soldering iron, dremel tool, sheet metal/plastic nibbler and
> > solder wick.

I am low budget developer so I use chopsticks, sushi and tap water.



Re: BSD laptop

2006-11-16 Thread Zoong PHAM
On Thursday, 16 November 2006 at 16:17:16 -0700, Rick Kelly wrote:
> 
> Stay away from the T30. They have a lot of motherboard and disk
> failures.

Oops, I am about to buy a 2nd hand T30 to run OBSD-4.0.
I currently have a X24 and it works beautifully with 3.8
But the X24 lacks of a serial port so I am thinking of getting a T30.
So should I stick with the X24 and buy a USB or PCMCIA serial card? Can
someone recommend one?

TIA,
Zoong



Re: Opinion of MySQL 5.xx on OpenBSD 3.9...

2006-09-10 Thread Zoong PHAM
On Sunday, 10 September 2006 at 17:30:00 +0200, Henning Brauer wrote:
> we just run with increaeed maxfiles (kern.maxfiles=4096). the mysql 
> config mysqld section:
> 
> [mysqld]

Thanks Henning for sharing the info.

Zoong



Re: Opinion of MySQL 5.xx on OpenBSD 3.9...

2006-09-08 Thread Zoong PHAM
On Thursday,  7 September 2006 at 17:03:55 +0200, Henning Brauer wrote:
> 
> as said before, our mysqlds on sparc64, mp- & up-i386, and sparc are 
> very stable; some see more than 400 queries/s sometimes.

Do you mind to share your /etc/sysctl.conf
and /etc/my.cnf ?

Thanks
Zoong



Re: Installing Tor on OBSD3.8

2006-08-22 Thread Zoong PHAM
On Tuesday, 22 August 2006 at 14:44:04 -0400, Nick Guenther wrote:
> >1. What is involved in installing Tor - any special proceedures or any
> >gotchas?
> 
> gethostbyname_r(), which OpenBSD doesn't even have.

I got Tor compiled and ran OK on OBSD-3.8 without any changes.
Here are what I did:
- download the latest port from the the latest snapshot. Note this is
  not official supported because the snapshot is not for OBSD-3.8.
- move the port tor to /usr/ports/net/
- make; make install.

I even modified the Makefile to install the the latest tor via port.
Again, this is not "official supported".

> >2. Does it have any effect on overall performance?
> 
> Yes. It redirects traffic bouncing it all over the internet.

It is slower. I use only ftp, ssh and http(s).

> >3. Is my understanding of the function of Tor accurate and will it
> >actually anonymize all machines behind the firewall? Would this extend
> >to blocking IP addresses, or does it merely mangle the packet headers?
> 
> No, not entirely. They make this quite clear at http://tor.eff.org

I installed tor on a firewall (OBSD-3.8) so all my boxes behind the firewall
are anonymized.
I don't think it has any effect on PF.

HTH,
Zoong



Re: sendmail and milter

2006-08-10 Thread Zoong PHAM
On Friday, 11 August 2006 at  8:00:38 +0700, riwanlky wrote:
> 
> if it is possible to have more than one milter while using sendmail?

Yes.

> i have the following configuration in my sendmail.cf

You should add/remove milters via the mc file rather than directly
modifying sendmail.cf

HTH,
Zoong



Re: HTTP Load balancer

2006-07-06 Thread Zoong PHAM
On Thursday,  6 July 2006 at 17:27:09 +0100, Richard Wilson wrote:
> 
> Can anyone recommend a load balancer for http/https for OpenBSD?
> Currently I'm using Pound, from http://www.apsis.ch/pound/ which runs 
> under OpenBSD

I use pound too.
Version 1.8 and 1.9 work for me.

I can't get version 2.0.9 work.
Compiled OK. Running but no log (even on foreground) and doesn't return
any page to client.

Do you mind to share some experience with Pound version 2 on OBSD?

TIA,
Zoong



Re: About soft updates

2006-07-06 Thread Zoong PHAM
On Thursday,  6 July 2006 at 17:39:26 +0200, mickey wrote:
> > Do you refer to systems with low memory (or at least the need to
> > have the kernel not to occupy more memory than a minimum), for
> > example? If not, some example would be really appreciated to get
> > a deeper understanding of the technology.

My box has 2GB RAM and it constantly shows 1GB free (via top and
vmstat).
Should I use soft updates on all filesystems?
It's a semi busy web and mail server.
Or should I use at least soft updates on var?

Cheers,
ZP



Re: Sendmail security problem

2006-03-25 Thread Zoong PHAM
On Friday, 24 March 2006 at 14:12:44 +0100, Alexander Bochmann wrote:
> 
> Replacing OpenBSDs sendmail with sendmail.org's version 
> is a non-issue (as in "just works") on any OpenBSD version 
> which ships >= 8.12. 

Do you  mind to share the instruction of how to replace OpenBSD's
sendmail with sendmail.org's 8.13.6?

TIA,



How to change timezone

2006-03-12 Thread Zoong PHAM
How do I change timezone with minimum impact to MySQL databases and web
applications?
Is that simple as:
- stop Web apps
- stop MySQL
- rm /etc/localtime
- ln /usr/share/zoneinfo/a_country/a_city /etc/localtime
- reboot server.

If the new timezone has the same time (same offset compared to GMT) as
the current timezone, do I still have to stop web apps, MySQL before?
And do I have to reboot the server after?

The reason is to avoid dealing with daylight saving.
The server is hosted at a data center in different country.
The server time is set to the timezone where I live.
Day light saving is applicable to both the timezone of the data center
and where I live.
The new timezone has no day light saving.

I use the built-in ntp to sync time with pool.ntp.org.

OpenBSD-3.6 with latest patches.

Thanks,
Zoong



Re: IBM Thinkpad X40, which model?

2006-01-25 Thread Zoong PHAM
On Wednesday, 25 January 2006 at 15:17:27 +0800, [EMAIL PROTECTED] wrote:
> >I wonder which model is supported best by 3.8 or the coming 3.9.
> 
> 2371-HSM works just fine on 3.8 & current.

Can hibernate work in X mode for that model ?

> >CPU speed, video graphics, Wifi, etc... are not that important to me.
> The X40 comes with 3 macs out of the box...it's BUILT for wifi...
> I suggest you look elsewhere.

No. What I really mean is 10Mbps or 54Mbps Wifi is no much a worry for
me. Same as 1MB or 2MB cache.

I have decided the X40.
I want this laptop to run only OBSD and I travel a lot so I want a light
weight one.
I just want to know from the experience of the users in this list which
particular model of the X40 works best in 3.8.


Thanks,
Zoong



IBM Thinkpad X40, which model?

2006-01-24 Thread Zoong PHAM
I plan to get a IBM Thinkpad X40 laptop.
I can see at least there are 3 different models.
I wonder which model is supported best by 3.8 or the coming 3.9.

My highest requirements are:
- hibernate
- light weight

CPU speed, video graphics, Wifi, etc... are not that important to me.

Thanks,
Zoong



Need advice about VPN

2006-01-17 Thread Zoong PHAM
I need some advices about VPN.

We have 2 offices, each is connected via ADSL to the Internet with a
dynamic IP.
One office uses OpenBSD as the firewall and the other uses the firewall
functions of the ADSL modem.
That can be changed so that both offices use OpenBSD for firewalls.
We have full access to the firewalls at the 2 offices.

And we also have 2 servers with static IPs. They are hosted (colo) by a
hosting company in an other country.
We have no idea what sort of firewall the hosting company is using.

We need to have VPN between the 2 offices and optionally with the
hosting servers.
All the PCs in 2 offices need to see each other.

Should we use IPSec or use OpenVPN?
Any pros and cons b/w the 2 ways for our environments?

Thanks,
Zoong



Connect a Zaurus 3100 to a VGA monitor/projector

2006-01-10 Thread Zoong PHAM
Does anyone know if a Zaurus 3100 can work with any VGA
monitor/projector?
And where can I buy a VGA adapter for Zaurus 3100?

Thanks,
Zoong



Re: Analogue of "sort -M" option in OpenBSD?

2006-01-07 Thread Zoong PHAM
On Saturday,  7 January 2006 at 20:29:50 +, Pavel M. Ivanchev wrote:
> > I have just installed sarg 2.1 on OpenBSD and everything during build> was 
> > ok. I applyed all the patches also.> The probles is when i start sarg to 
> > build report i have this output:
> 
>   >   SARG: Records in file: 1842, reading: 0.00%  >   sort: illegal field 
> descriptor  >   SARG: (index) Cannot open file:  >   
> /var/www/htdocs/squid-reports/index.sort
> 

sarg-2.1 without any patches is built and runs fine with OBSD-3.8 .

With OBSD-3.6, you need some patches that I can send you off list if you
want.

HTH,
Zoong



Re: what is the maximum length of username?

2006-01-03 Thread Zoong PHAM
On Thursday, 29 December 2005 at 12:41:29 -0700, Theo de Raadt wrote:
> > Is it advisable to change the definition to increase the maximum length?
> 
> No.  I strongly advise you against that.

I won't attempt to do that.

Thanks, 
Zoong



Re: what is the maximum length of username?

2005-12-29 Thread Zoong PHAM
On Thursday, 29 December 2005 at 10:33:47 +, John Gould wrote:
> 
> "The login name may be up to 31 characters long.  For compatibility with
.
> Is that not long enough?

Do you know where it is defined in the source tree?
Is it advisable to change the definition to increase the maximum length?

Thanks,
Zoong



what is the maximum length of username?

2005-12-28 Thread Zoong PHAM
What is the maximum length of username for useradd(8)?
Where is it defined?

In the list archive at
http://www.monkey.org/openbsd/archive/misc/0101/msg00766.html
dated 2001, it said the maximum length is 8.
My current OBSD-3.6 can have username of 28 characters.
I think the maximum length is 32.
I need to confirm that number.

TIA,
Zoong



Re: How to increase number of semaphore ?

2005-11-30 Thread Zoong PHAM
On Wednesday, 30 November 2005 at 17:07:51 +0100, Otto Moerbeek wrote:
> 
> So first try semmni, semmns and semmsl.

Bingo! I tried with the first one and it seems to work (the 5th instance
of Apache started OK).

Here is what I did
# ipcs -T  | grep semmni
semmni: 10  (# of semaphore identifiers)
# sysctl -w kern.seminfo.semmni=20
kern.seminfo.semmni: 10 -> 20
# ipcs -T  | grep semmni
semmni: 20  (# of semaphore identifiers)

I will have look further see if there are any other dependent
parameters or the value that I just set is right.

Thanks a lot, guys.

Zoong



Re: How to increase number of semaphore ?

2005-11-30 Thread Zoong PHAM
Hi Sean,

On Wednesday, 30 November 2005 at  7:34:59 -0800, Sean Comeau wrote:
> > How can I fix that?

My real question is "if I increased the number of semaphore, would it
fix the problem ?"
Remember the error message I have is:
[Thu Dec  1 01:51:19 2005] [error] mod_ssl: Parent process could not
create private SSLMutex semaphore (System error follows)
[Thu Dec  1 01:51:19 2005] [error] System: No space left on device
(errno: 28)

If the fix is "increase number of metaphores", then which parameters
below can I increase?


> test:~# sysctl kern.seminfo
> kern.seminfo.semmni=10   # max number of semaphore identifiers (i.e., 
> sets)
> kern.seminfo.semmns=60   # max number of semaphores system-wide
> kern.seminfo.semmnu=30   # i'm not sure...
> kern.seminfo.semmsl=60   # maximum number of semaphores per set
> kern.seminfo.semopm=100  # not sure
> kern.seminfo.semume=10   # never changed this one myself
> kern.seminfo.semusz=100  # or this
> kern.seminfo.semvmx=32767# max value of semaphore, looks good probably
> kern.seminfo.semaem=16384# no idea
> 
> test:~# sysctl kern.shminfo
> kern.shminfo.shmmax=33554432 # max size of shared memory segment (bytes)
> kern.shminfo.shmmin=1# min size of shared memory segment (bytes)
> kern.shminfo.shmmni=128  # max number of shared memory segments 
> system-wide
> kern.shminfo.shmseg=128  # max number of shared memory segments per proc
> kern.shminfo.shmall=8192 # total amount of shared memory available (pages)
> 
> OK, I assume you know how to use /etc/sysctl.conf to increase these values

I know how to use sysctl(8).

Thanks,
Zoong



How to increase number of semaphore ?

2005-11-30 Thread Zoong PHAM
I can not start another (5th) instances of Apache.
Below is the error message from /var/www/logs/error_log:

[Thu Dec  1 01:51:19 2005] [error] mod_ssl: Parent process could not
create private SSLMutex semaphore (System error follows)
[Thu Dec  1 01:51:19 2005] [error] System: No space left on device
(errno: 28)

I tried to stop all the instances of Apache and ipcs reported no
left-over semaphores .
Then I can start only 4 instances. The 5th one always gives the above
error message.

How can I fix that?

Thanks,
Zoong



Re: pf stops URLs without a trailing slash

2005-08-15 Thread Zoong PHAM
On Monday, 15 August 2005 at 15:59:13 +0100, John Wright wrote:
> 
> One thing to note about URLs which point to directories which don't have
> trailing slashes it they will get a URL redirect back which states the name
> of the web server how it is configured and not how it was passed in that
> particular request.
> 
> So if the request was for http://mywebserver.com/directory you could get
> redirected to http://www.mywebserver.com/directory/ which is slightly
> different.

That's the problem combined with the way my reverse proxy works:
The original request (without trailing slashes and at port 80) appears
as from the local IP. Apache redirects it by appends a trailing slash
to the original URL. But this time, it appears from the client's IP at
some ports that I defined in the reverse proxy settings.

Anyway, I open those ports in pf and now things work as before.

Thanks,
Zoong



Re: pf stops URLs without a trailing slash

2005-08-15 Thread Zoong PHAM
On Monday, 15 August 2005 at 22:12:19 +0800, Lars Hansson wrote:
> Highly unlikely, pf does not inspect package contents.
> 
> More information on the problem is needed such as actual error
> messages from www browsers and the apache logs.

>From Apache access_log I now understand the problem.
Since I use a reverse proxy server in front of Apache, it redirects
the requests to different ports that were not opened by pf.
As soon as I open those ports, the URLs without trailing slash work.

Thanks,
Zoong



pf stops URLs without a trailing slash

2005-08-15 Thread Zoong PHAM
I recent turn on pf on as web server and all URLs without a trailing
slash stop working.
As soon as I turn off pf, they work again.

I know that a correct URL is the one with trailing slash if the last
part is a directory name.
So apart from teaching users to use correct URLs or investigate to
use Apache rewrite module, is there any thing I can do with pf to 
get around the problem?

The pf.conf doesn't have any NAT rules.

It has few simple "pass in" rules like this:
pass in on $Ext_IF inet proto tcp from any to $Ext_IPs port $HTTP_Port keep 
state label "IN_HTTP_TCP"

It is OpenBSD-3.6

TIA,
Zoong



Re: Negotiating a license for Sun Java on OpenBSD?

2005-08-09 Thread Zoong PHAM
On Monday,  8 August 2005 at 18:03:25 +0100, Edd Barrett wrote:
> 
> Suns newest ultra 20 x64 workstation retails at under #1000.
> 
> Not as expensive as they once were.

I never think Sun stuff expensive compared to other big vendors.
In fact, Sun charge the least but we hardly buy them b/c of their low
quality compared to other vendors.
Or maybe the companies I work for just got rip off by other vendors :-)

Zoong



Re: Text editor

2005-08-07 Thread Zoong PHAM
On Sunday,  7 August 2005 at  9:34:18 +0200, Sigfred Heversen wrote:
> The only text editor in bsd.rd is ed, so chances are that one may have 
> to use it on occasion (shudder).

And if you are in support role, sometimes you have to tell someone on the
phone how to edit system config files (in single user mode) with ed.
Life is tough :-)

Zoong



Re: Error "libtool: link: only absolute run-paths are allowed"

2005-07-03 Thread Zoong PHAM
On Saturday,  2 July 2005 at 20:54:15 -0700, Jacob Meuser wrote:
> ok, I forgot something.  try
> 
> $ make LIBTOOL=/usr/local/bin/libtool

It still doesn't work. Same error message:

$ make LIBTOOL=/usr/local/bin/libtool
cd subversion/mod_dav_svn && /usr/local/bin/libtool --tag=CC --silent 
--mode=link gcc  -g -O2-DNEON_ZLIB -DNEON_SSL  -L/usr/local/lib/db4 
-L/usr/local/lib  -rpath  -avoid-version -module -o mod_dav_svn.la  activity.lo 
deadprops.lo file_revs.lo liveprops.lo lock.lo log.lo merge.lo mod_dav_svn.lo 
repos.lo update.lo util.lo version.lo 
../../subversion/libsvn_repos/libsvn_repos-1.la 
../../subversion/libsvn_fs/libsvn_fs-1.la 
../../subversion/libsvn_delta/libsvn_delta-1.la 
../../subversion/libsvn_subr/libsvn_subr-1.la -lintl  -lz
libtool: link: only absolute run-paths are allowed
*** Error code 1

Stop in /tmp/subversion-1.2.0 (line 268 of ./build-outputs.mk).
$



Re: Error "libtool: link: only absolute run-paths are allowed"

2005-07-03 Thread Zoong PHAM
On Sunday,  3 July 2005 at  5:29:43 +0159, Han Boetes wrote:
> That probably won't work. This is the proper spell:
> 
> make LIBTOOL=/usr/local/bin/libtool

It still doesn't work. Same error message:

$ make LIBTOOL=/usr/local/bin/libtool
cd subversion/mod_dav_svn && /usr/local/bin/libtool --tag=CC --silent 
--mode=link gcc  -g -O2-DNEON_ZLIB -DNEON_SSL  -L/usr/local/lib/db4 
-L/usr/local/lib  -rpath  -avoid-version -module -o mod_dav_svn.la  activity.lo 
deadprops.lo file_revs.lo liveprops.lo lock.lo log.lo merge.lo mod_dav_svn.lo 
repos.lo update.lo util.lo version.lo 
../../subversion/libsvn_repos/libsvn_repos-1.la 
../../subversion/libsvn_fs/libsvn_fs-1.la 
../../subversion/libsvn_delta/libsvn_delta-1.la 
../../subversion/libsvn_subr/libsvn_subr-1.la -lintl  -lz
libtool: link: only absolute run-paths are allowed
*** Error code 1

Stop in /tmp/subversion-1.2.0 (line 268 of ./build-outputs.mk).
$

I even edited Makefile to change LIBTOOL and 
replaced /tmp/subversion-1.2.0/libtool with /usr/local/bin/libtool.
Both still produce the same error message.

TIA,
Zoong



Re: Error "libtool: link: only absolute run-paths are allowed"

2005-07-02 Thread Zoong PHAM
On Saturday,  2 July 2005 at 19:44:25 -0700, Jacob Meuser wrote:
> 
> if you want to use libtool from the port and not the libtool included
> in the subversion sources, which _might_ clear up your problem, you
> should set LIBTOOL in the environment.
> 
> $ ./configure ...
> $ env LIBTOOL=/usr/local/bin/libtool make
> $ env LIBTOOL=/usr/local/bin/libtool make install

It doesn't help. Here are what I tried:
$ echo $SHELL
/bin/ksh
$ export LIBTOOL=/usr/local/bin/libtool
$ LIBTOOL=/usr/local/bin/libtool ./configure 
--prefix=/usr/local/subversion-1.2.0 --with-neon=/usr/local 
--with-apr=/usr/local --with-apr-util=/usr/local --with-zlib --without-jdk 
--with-apache=/tmp/httpd-2.0.54 --with-editor=/usr/local/bin/vim --enable-dav 
--enable-so
$

cd subversion/mod_dav_svn && /bin/sh /tmp/subversion-1.2.0/libtool --tag=CC 
--silent --mode=link gcc  -g -O2-DNEON_ZLIB -DNEON_SSL  
-L/usr/local/lib/db4 -L/usr/local/lib  -rpath  -avoid-version -module -o 
mod_dav_svn.la  activity.lo deadprops.lo file_revs.lo liveprops.lo lock.lo 
log.lo merge.lo mod_dav_svn.lo repos.lo update.lo util.lo version.lo 
../../subversion/libsvn_repos/libsvn_repos-1.la 
../../subversion/libsvn_fs/libsvn_fs-1.la 
../../subversion/libsvn_delta/libsvn_delta-1.la 
../../subversion/libsvn_subr/libsvn_subr-1.la -lintl  -lz
libtool: link: only absolute run-paths are allowed
*** Error code 1

Stop in /tmp/subversion-1.2.0 (line 268 of ./build-outputs.mk).

I even tried to set LIBTOOL and re-configured and re-install
Apache-2.0.54 first. There is no problem with Apache2.
But the make of Subversion still failed with the same error.

Thanks for your help.
Zoong



Re: Error "libtool: link: only absolute run-paths are allowed"

2005-07-02 Thread Zoong PHAM
On Saturday,  2 July 2005 at  7:32:23 -0700, Matt Phillips wrote:
> Stupid question: what version of Apache do you actually have installed?  

2.0.54

> OpenBSD still uses Apache 1.3.x by default; 

I know. And I have no plan to replace the default one.

> you have to actually install 
> Apache 2.x before subversion's going to work with it (duh).

I did that.
Here are how I configured and compiled Apache-2.0.54:
$ ./configure --prefix=/usr/local/apache2 --enable-ssl --enable-dav 
--enable-dav-fs
$ make; make install

And hre are how I configured and compiled Subversion-1.2.0:
$ ./configure --prefix=/usr/local/subversion-1.2.0 --with-neon=/usr/local 
--with-apr=/usr/local --with-apr-util=/usr/local --with-zlib --without-jdk 
--with-apache=/var/www/home/zoong/tmp/httpd-2.0.54 
--with-editor=/usr/local/bin/vim --enable-dav --enable-so

It is very much like the one in OBSD-3.7 /dev/subversion's Makefile.


> You don't 
> have to uninstall 1.3.x if you don't want to, just run Apache 2.x on a 
> different port if you like.

That's my plan. And Apache 2.x will run as a normal user, not root, nor
www.

TA,
Zoong



Re: Error "libtool: link: only absolute run-paths are allowed"

2005-07-02 Thread Zoong PHAM
On Saturday,  2 July 2005 at 11:59:48 -0700, Jacob Meuser wrote:
> upgrade to OpenBSD 3.7 and use the devel/subervsion port.

I did look into Subervsion of OBSD-3.7 port.
It is using the stand-alone svnserve.
I have no problem with compiling Subversion
as a stand-alone svnserve with OBSD-3.6.
As I said in my previous email, I need Subversion's
WebDAV along with svnserve.
The reason is WebDAV provides better user access management.

Zoong



Error "libtool: link: only absolute run-paths are allowed"

2005-07-02 Thread Zoong PHAM
I received the following error when compiled Subversion-1.2.0
on OBSD-3.6:

$ make
cd subversion/mod_dav_svn && /bin/sh /tmp/subversion-1.2.0/libtool --tag=CC 
--silent --mode=link gcc  -g -O2-DNEON_ZLIB -DNEON_SSL  
-L/usr/local/lib/db4 -L/usr/local/lib  -rpath  -avoid-version -module -o 
mod_dav_svn.la  activity.lo deadprops.lo file_revs.lo liveprops.lo lock.lo 
log.lo merge.lo mod_dav_svn.lo repos.lo update.lo util.lo version.lo 
../../subversion/libsvn_repos/libsvn_repos-1.la 
../../subversion/libsvn_fs/libsvn_fs-1.la 
../../subversion/libsvn_delta/libsvn_delta-1.la 
../../subversion/libsvn_subr/libsvn_subr-1.la -lintl  -lz
libtool: link: only absolute run-paths are allowed
*** Error code 1

Stop in /tmp/subversion-1.2.0 (line 268 of ./build-outputs.mk).
$

I have installed package libtool-1.5.8.tgz and libltdl-1.5.8.tgz

The above error happened when I compiled Subversion with Apache2 
to get the WebDAV working.

If I compiled Subversion without Apache2 (--without-apache --without-apxs)
it would work OK.

What is wrong here?

Any help would be very appreciated.

TIA,
Zoong



Re: Apache chroot and webmail - what is it trying to use?

2005-06-02 Thread Zoong PHAM
On Thursday,  2 June 2005 at 22:28:13 +0100, Stuart Henderson wrote:
> >
> >I cannot tell what resource it is trying to access.
> 
> Probably resolv.conf.

and /etc/hosts.

HTH,
Zoong