Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Problems with installing precompiled Apache 2.2 on QNX 6.4.0: (10 Items)
   
Problems with installing precompiled Apache 2.2 on QNX 6.4.0  
Hi All,

I installed pkgsrc on my QNX 640 on an Atom board. When I tried to install the precompiled binary for apache 2.2, I got 
the following errors. Any help will be appreciated.

--------------------------------------- 


echo $PATH
/usr/pkg/sbin:/proc/boot:/sbin:/usr/sbin:/bin:/usr/bin
# echo $PKG_PATH
ftp://ftp.netbsd.org/pub/pkgsrc/packages/QNX/i386/6.4.1_head_20090724/All
# pkg_add apache-2.2.11nb3.tgz
pkg_add: setupCoproc: execlp() failed: No such file or directory
pkg_add: expect1 failed, rc=0
pkg_add: ftp_start() failed
pkg_add: no pkg found for 'apache-2.2.11nb3.tgz', sorry.
pkg_add: 1 package addition failed
#
Re: Problems with installing precompiled Apache 2.2 on QNX 6.4.0  
On Tue, Sep 15, 2009 at 08:16:59PM -0400, Robert Wang wrote:
> Hi All,
> 
> I installed pkgsrc on my QNX 640 on an Atom board. When I tried to install the precompiled binary for apache 2.2, I 
got the following errors. Any help will be appreciated.
> 
> --------------------------------------- 
> 
> 
> echo $PATH
> /usr/pkg/sbin:/proc/boot:/sbin:/usr/sbin:/bin:/usr/bin
> # echo $PKG_PATH
> ftp://ftp.netbsd.org/pub/pkgsrc/packages/QNX/i386/6.4.1_head_20090724/All
> # pkg_add apache-2.2.11nb3.tgz
> pkg_add: setupCoproc: execlp() failed: No such file or directory
> pkg_add: expect1 failed, rc=0
> pkg_add: ftp_start() failed
> pkg_add: no pkg found for 'apache-2.2.11nb3.tgz', sorry.
> pkg_add: 1 package addition failed
> #

It looks like it can't find the 'ftp' utility.  It should
be in /usr/bin.

-seanb
Re: Problems with installing precompiled Apache 2.2 on QNX 6.4.0  
Thanks for the help. Now I have the following errors, complaining about not being able to create a socket. Do I need to 
do any network configuration?

# pkg_add apache-2.2.11nb3.tgz
ftp: Can't create socket for connection to `2001:4f8:3:7:230:48ff:fec6:9aaa:21': Address family not supported by 
protocol family
pkg_add: Cannot generate temp file for ftp(1)'s nlist output
pkg_add: no pkg found for 'apache-2.2.11nb3.tgz', sorry.
pkg_add: 1 package addition failed
Re: Problems with installing precompiled Apache 2.2 on QNX 6.4.0  
On Wed, Sep 16, 2009 at 01:16:41PM -0400, Robert Wang wrote:
> Thanks for the help. Now I have the following errors, complaining about not being able to create a socket. Do I need 
to do any network configuration?

Yes.  If you want to reach ftp.netbsd.org you'll need
connectivity :)

-seanb
Re: Problems with installing precompiled Apache 2.2 on QNX 6.4.0  
I have network connectivity. I can browse Google using the browser flash ap. The error seems complaining about the 
invalid IP address "2001:4f8:3:7:230:48ff:fec6:9aaa:21" of the board itself. I wonder if this has anything to do with 
DHCP. How do I disable "DHCP" and assign manual IP address to the board?
Re: Problems with installing precompiled Apache 2.2 on QNX 6.4.0  
On Wed, Sep 16, 2009 at 01:34:35PM -0400, Robert Wang wrote:
> I have network connectivity. I can browse Google using the browser flash ap. The error seems complaining about the 
invalid IP address "2001:4f8:3:7:230:48ff:fec6:9aaa:21" of the board itself. I wonder if this has anything to do with 
DHCP. How do I disable "DHCP" and assign manual IP address to the board?

Woops, never mind.  You can probably ignore the v6 addr warning.
You need to

# mkdir -p /var/tmp

This is mentioned here:

http://community.qnx.com/sf/wiki/do/viewPage/projects.pkgsrc/wiki/BinaryPackages

-seanb
Re: Problems with installing precompiled Apache 2.2 on QNX 6.4.0  
I am making progress. I got the following errors. It seems that pkg_add  could not find"tee". Where can I find it?

# pkg_add apache-2.2.11nb3
ftp: Can't create socket for connection to `2001:4f8:3:7:230:48ff:fec6:9aaa:21': Address family not supported by 
protocol family
sh: tee: cannot execute - No such file or directory
tar: could not exec: No such file or directory
tar: End of archive volume 1 reached
tar: Sorry, unable to determine archive format.
ftp: Writing `| ( cd /var/tmp/instmp.63401a; /usr/pkg/bin/tar --use-compress-program gzip -vvxp -f - | tee /dev/null )':
 Broken pipe
Re: Problems with installing precompiled Apache 2.2 on QNX 6.4.0  
On Wed, Sep 16, 2009 at 02:05:46PM -0400, Robert Wang wrote:
> I am making progress. I got the following errors. It seems that pkg_add  could not find"tee". Where can I find it?

It has shipped with every version of qnx I can remember.

# which tee
/usr/bin/tee
Re: Problems with installing precompiled Apache 2.2 on QNX 6.4.0  
Thank you for helping out, Sean! I finally got the apache 2.2 installed on my QNX 640. Do you know how I can create a 
user group "www" and a user "www" on QNX 640? I tried to find addgroup/user or group/useradd on my QNX 640. I could not 
find them.
RE: Problems with installing precompiled Apache 2.2 on QNX 6.4.0  

You can use 'passwd' or edit /etc/passwd with your favourite editor
for the user.  Edit /etc/group for the group.

-seanb

-----Original Message-----
From: Robert Wang [mailto:community-noreply@qnx.com]
Sent: Wed 9/16/2009 6:12 PM
To: general-pkgsrc
Subject: Re: Problems with installing precompiled Apache 2.2 on QNX 6.4.0
 
Thank you for helping out, Sean! I finally got the apache 2.2 installed on my QNX 640. Do you know how I can create a 
user group "www" and a user "www" on QNX 640? I tried to find addgroup/user or group/useradd on my QNX 640. I could not 
find them.



_______________________________________________

General
http://community.qnx.com/sf/go/post38121


Attachment: Text winmail.dat 2.79 KB