Bill Bug wrote:
[]
> Unfortunately, though I now complete the configure & make process,
> install still fails.
>
> I don't know if this is causative or simply symptomatic of some
> fundamental problem, but I'm still getting the following warning from
> all my gcc calls:
>
> 'gcc: -flat_namespace: linker input file unused since linking not done'
These may be harmless warnings. If you think otherwise, you would have
to ask the package maintainer ("fink info postgresql") about it.
Most of the strange messages in what you report below are probably of
the same harmless kind.
> I should add that I have installed a few packages from source myself,
> but nearly all of them had not previously been present on my machine.
> For those that were, the new ones were installed in /usr/local/bin,
> /usr/local/sbin & /usr/local/lib.
>
> Could I get away with removing these directories from my $PATH env var
> and still run Fink or are there any other binaries in there that I can't
> live without? I would do this just to debug the Fink setup on my
> system. Ultimately, I would have to have these directories in my path.
Hard to say. It depends really on what you installed there. Nothing of
it will be necessary for compiling Fink packages, and most of it should
be compatible with running Fink packages(as opposed to compiling).
There is one problem with things installed in /usr/local: Many configure
scripts look for executables, headers and libraries in /usr/local/bin,
/usr/local/include and /usr/local/lib and use them if they find
something, with unpredictable results. So it is not always sufficient to
remove /usr/local/bin from your PATH variable.
> Here's some more fink output to cogitate on. Any thoughts/advice you
> can offer would be greatly appreciated. Sorry for sending along so much
> text, but I'm really at a loss to know where things are going wrong.
> Again, I'm thinking my best bet is to briefly take '/usr/local/*' out of
> my $PATH and try it again.
>
> <myriad of gcc calls trigger from calls to make - truncated>
> [BEGIN SNIPPET]
> In file included from ipc.c:46:
> ../../../../src/include/storage/ipc.h:51: warning: useless keyword or
> type name in empty declaration
See above. Probably harmless. The real error comes later.
[]
> dpkg-deb: building package `postgresql' in
> `/sw/fink/dists/unstable/main/binary-darwin-
> powerpc/database/postgresql_7.1.3-4_darwin-powerpc.deb'.
> ln -sf /sw/fink/dists/unstable/main/binary-darwin-
> powerpc/database/postgresql_7.1.3-4_darwin-powerpc.deb /sw/fink/debs/
> rm -rf /sw/src/root-postgresql-7.1.3-4
> dpkg -i /sw/fink/dists/unstable/main/binary-darwin-
> powerpc/database/postgresql_7.1.3-4_darwin-powerpc.deb
At this moment the package has been compiled successfully. So even if
you need to reinstall it, it doesn't have to be recompiled.
Now comes the installation, and fails:
> Selecting previously deselected package postgresql.
> (Reading database ... 22404 files and directories currently installed.)
> Unpacking postgresql (from .../postgresql_7.1.3-4_darwin-powerpc.deb) ...
> Setting up postgresql (7.1.3-4) ...
> chown: `pgsql': invalid user
Here is the error. And this shouldn't happen: postgresql has the passwd
package in its dependency list, and the passwd package installs a user
named "pgqsl". Did you remove him? What version of passwd do you have
installed?
--
Martin
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Two, two, TWO treats in one.
http://thinkgeek.com/sf
_______________________________________________
Fink-beginners mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-beginners