Favicon

Re: port command can't find Portfile.


On Oct 31, 2004, at 6:33 PM, Bert Knabe wrote:

> I'm familiar with the basics of the command line but new to compiling 
> my own software. I installed Darwinports without any trouble, but 
> can't get it to install any software. I followed the directions for 
> creating a portfile, but when I try to use the port directory I'm told 
> the
>
> DEBUG: Changing to port directory: ./
> Unable to open port: Could not find Portfile in ./

	I think you're quite confused here. There's a fundamental difference 
in using the 'port' tool to install software through DarwinPorts and 
writing a Porfile. The former is what users do to actually *use* 
darwinports, the latter is you'd do to *contribute* to darwinports by 
submitting new software to the repository. What instructions did you 
read? What are you exactly trying to do? What command did you use to 
achieve it?

>
> I thought port was supposed to default to the working directory (the 
> directory you're in)?

	When you're inside a directory by the same name of a particular port, 
and there's a Portfile describing said port, 'port' will use the pwd as 
its portname argument for almost every port action (I've found this is 
not the case for 'port install' though.

>  I even tried specifying the directory with the Portfile in it. Then 
(Continue reading)

Favicon

Re: port command can't find Portfile.


On Oct 31, 2004, at 10:56 PM, Bert Knabe wrote:

>
>
> and getting the error I quoted above. Typing the correct command gets 
> me farther, but right now nothing has happened for a minute or so. I 
> don't know if it's just taking time or hung, so I'll give it a while.

	It seems you didn't provide a -v (verbose) flag or -d (debug) to 
'port', so the entire process will be silent, i.e. minimal output will 
be printed on stdout until the entire command finishes (when the 
software is finally installed if the process was successful). So 
probably it's just compiling but not showing you the actual process, so 
as you said just give it some more time find out what finally happens. 
You can open another terminal and use 'top' to have a better view of 
what your box is currently doing: if you see a bunch of sh and make 
commands flying by you can be certain you're building, at least, 
something. For future reference use 'port -v' instead of simply 'port' 
if you wish to have more info. 'man port' will instruct you further.

	Hope that helps a bit! Regards,...

		Juan
Bryan Blackburn | 1 Nov 10:02
Picon
Favicon

CVS server filesystem problems?

I recently checked in an update to the devel/libuninameslist port, and 
at the end of the commit, saw this:

$ cvs commit
cvs commit: Examining .
Checking in Portfile;
/cvs/od/proj/darwinports/dports/devel/libuninameslist/Portfile,v  <--  
Portfile
new revision: 1.2; previous revision: 1.1
done
cvs server: cannot open CVS/Entries.Log: Bad file descriptor

Ran a status to see what happens:

$ cvs status
cvs server: Examining .
[...]
cvs server: cannot rewrite CVS/Entries.Backup: Bad file descriptor

Looks like something is wrong here, but it gets worse as 
graphics/autotrace seems even more broken (after updating the Portfile 
locally):

$ cvs diff Portfile
cannot open /tmp/cvs-serv15634/./CVS/Repository
Bad file descriptor

$ cvs status
cvs server: Examining .
cvs [server aborted]: cannot open CVS/Entries.Log: Bad file descriptor
(Continue reading)

Leonard BUTTAY | 1 Nov 21:29
Picon

multiple [all-recursive] errors

Hello,

I've tried to install the rrdtool and ethereal packages but I've got 
compilation errors.
Since the errors messages look quite the same, I assume that I've 
missed one step in the config.

rrdtool :
/usr/bin/libtool: internal link edit command failed
gnumake[2]: *** [librrd.la] Error 1
gnumake[1]: *** [all-recursive] Error 1
gnumake: *** [all] Error 2

pkgconfig (for ethereal):
giounix.c:233: only 1 arg to macro 'g_warning' (2 expected)
cpp-precomp: warning: errors during smart preprocessing, retrying in 
basic mode
make[4]: *** [giounix.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive-am] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2

I'm running OS X 10.3.5 with Xcode 1.1.

uname -a
Darwin TiBook.local 7.5.0 Darwin Kernel Version 7.5.0: Thu Aug  5 
19:26:16 PDT 2004; root:xnu/xnu-517.7.21.obj~3/RELEASE_PPC  Power 
Macintosh powerpc

(Continue reading)

Bryan Blackburn | 1 Nov 22:16
Picon
Favicon

Re: CVS server filesystem problems?

FYI, seems to be working okay now...

Bryan

On Nov 1, 2004, at 2:02 AM, Bryan Blackburn wrote:

> I recently checked in an update to the devel/libuninameslist port, and 
> at the end of the commit, saw this:
>
> $ cvs commit
> cvs commit: Examining .
> Checking in Portfile;
> /cvs/od/proj/darwinports/dports/devel/libuninameslist/Portfile,v  <--  
> Portfile
> new revision: 1.2; previous revision: 1.1
> done
> cvs server: cannot open CVS/Entries.Log: Bad file descriptor
>
> Ran a status to see what happens:
>
> $ cvs status
> cvs server: Examining .
> [...]
> cvs server: cannot rewrite CVS/Entries.Backup: Bad file descriptor
>
>
> Looks like something is wrong here, but it gets worse as 
> graphics/autotrace seems even more broken (after updating the Portfile 
> locally):
>
(Continue reading)

Jud Leonard | 1 Nov 22:33

Trouble installing dia

I tried to install dia, using
	sudo port -v install dia

I'm using 10.3.5 with current security updates, Xcode 1.5, and  
darwinports I installed in the past week.  My working directory is  
~/Source/darwinports.

After many pages of output (which I won't try to include here), it got  
to the following:

> mkdir -p --  
> /Users/leonard/Source/darwinports/dports/devel/atk/work/destroot/opt/ 
> local/share/locale/zh_TW/LC_MESSAGES
> installing zh_TW.gmo as  
> /Users/leonard/Source/darwinports/dports/devel/atk/work/destroot/opt/ 
> local/share/locale/zh_TW/LC_MESSAGES/atk10.mo
> if test "atk" = "glib"; then \
>   if test -r ".././mkinstalldirs"; then \
>     .././mkinstalldirs  
> /Users/leonard/Source/darwinports/dports/devel/atk/work/destroot/opt/ 
> local/share/glib-2.0/gettext/po; \
>   else \
>     /bin/sh ../mkinstalldirs  
> /Users/leonard/Source/darwinports/dports/devel/atk/work/destroot/opt/ 
> local/share/glib-2.0/gettext/po; \
>   fi; \
>   /usr/bin/install -c -m 644 ./Makefile.in.in \
>                    
> /Users/leonard/Source/darwinports/dports/devel/atk/work/destroot/opt/ 
> local/share/glib-2.0/gettext/po/Makefile.in.in; \
(Continue reading)

Robert Shaw | 1 Nov 22:59

Re: Trouble installing dia

This is a bug with the new "portautoclean" option in the  
${prefix}/etc/ports/ports.conf file. I have still not found a fix for  
this.

You can disable the auto-clean by setting the "portautoclean" option to  
"no" in your ports.conf file. That should prevent these problems for  
the moment.

-Robert

On Nov 1, 2004, at 1:33 PM, Jud Leonard wrote:

> I tried to install dia, using
> 	sudo port -v install dia
>
> I'm using 10.3.5 with current security updates, Xcode 1.5, and  
> darwinports I installed in the past week.  My working directory is  
> ~/Source/darwinports.
>
> After many pages of output (which I won't try to include here), it got  
> to the following:
>
>> mkdir -p --  
>> /Users/leonard/Source/darwinports/dports/devel/atk/work/destroot/opt/ 
>> local/share/locale/zh_TW/LC_MESSAGES
>> installing zh_TW.gmo as  
>> /Users/leonard/Source/darwinports/dports/devel/atk/work/destroot/opt/ 
>> local/share/locale/zh_TW/LC_MESSAGES/atk10.mo
>> if test "atk" = "glib"; then \
>>   if test -r ".././mkinstalldirs"; then \
(Continue reading)

Tim Uckun | 1 Nov 23:31

Re: Where is libphp4.so

I think there is something wrong someplace. Here is what I have done.

I erased everything out of /opt and reinstalled darwinports so it uses 
the default /opt tree.
I did a port install php4 +sybase-ct +gd +curl +xslt

It took several tries but it finally got done.

I am now supposed to have a /opt/local/libexec/apache/libphp4.so module 
but none exits.

I did an index of the whole drive and the only one I have is the 
original that came with mac.

I did a port contents and there is no .so or .dylib there anywhere.

I don't get it? How do I load php into apache without an .so file?

On Oct 29, 2004, at 4:02 PM, Juan Manuel Palacios wrote:

>
> On Oct 29, 2004, at 5:46 PM, Tim Uckun wrote:
>
>> I can't find where the port put libphp4.so or maybe it's named 
>> something different. There is no entry in the httpd.conf for it and I 
>> want to active it.
>>
>
> 	You can find out the contents of any port through 'port contents 
> foo', where foo of course is the port you want to know about.
(Continue reading)

Marius Schamschula | 1 Nov 23:59

Re: Where is libphp4.so

Tim,

Against which version of apache are you trying to compile php? (1.3.x 
or 2.0.x)
Are you using the Apple or a DarwinPorts version of apache? if you are 
using Apple's, you may want to consider installing Marc Liyanage's 
'official' php packages @ <http://www.entropy.ch/software/macosx/php/>. 
These packages are sometimes a bit behind the source, and definitely 
behind in terms of apache.

BTW, is there any reason you need php4 rather than php5?

On Nov 1, 2004, at 4:31 PM, Tim Uckun wrote:

> I think there is something wrong someplace. Here is what I have done.
>
> I erased everything out of /opt and reinstalled darwinports so it uses 
> the default /opt tree.
> I did a port install php4 +sybase-ct +gd +curl +xslt
>
> It took several tries but it finally got done.
>
> I am now supposed to have a /opt/local/libexec/apache/libphp4.so 
> module but none exits.
>
> I did an index of the whole drive and the only one I have is the 
> original that came with mac.
>
> I did a port contents and there is no .so or .dylib there anywhere.
>
(Continue reading)

Tim Uckun | 2 Nov 00:22

Re: Where is libphp4.so

I am going against 1.3.x. I am willing to use the darwinports version 
of apache but I really don't care that much.

As for php.  I am in the process of trying to migrate a web site from a 
freebsd server to a mac os X server. I need to have php4 because I have 
not tested the existing codebase against php5 and don't really have 
time to do that now anyway.  It is very important to me that php be 
compiled with the --with-sybase-ct option as opposed to --with-sybase 
or --with-mssql because there are subltle differences between them when 
it comes to handling large text fields from MSSQL server vi TDS. It's 
kind of whacky I know.

Finally it's absolutely important to me that the build process be 
repeatable and predictable.  I would prefer a wholistic approach like 
darwinports. I suppose that comes from years of freebsd and debian 
usage.   So for me only darwinports or pkgsrc are acceptable. I thought 
I'd give darwinports the first shot.

On Nov 1, 2004, at 3:59 PM, Marius Schamschula wrote:

> Tim,
>
> Against which version of apache are you trying to compile php? (1.3.x 
> or 2.0.x)
> Are you using the Apple or a DarwinPorts version of apache? if you are 
> using Apple's, you may want to consider installing Marc Liyanage's 
> 'official' php packages @ 
> <http://www.entropy.ch/software/macosx/php/>. These packages are 
> sometimes a bit behind the source, and definitely behind in terms of 
> apache.
(Continue reading)


Gmane