New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #13014 (closed submission: fixed)

Opened 4 years ago

Last modified 3 years ago

dsh - distributed shell Portfiles

Reported by: bjorn@… Owned by: raimue@…
Priority: Normal Milestone:
Component: ports Version: 1.5.0
Keywords: Cc: raimue@…
Port:

Description

Portfiles for dsh and libdshconfig

Attachments

Portfile.2 Download (0.8 KB) - added by bjorn@… 4 years ago.
net/libdshconfig/Portfile
Portfile Download (0.8 KB) - added by bjorn@… 4 years ago.
net/dsh/Portfile
patch-dsh.conf Download (250 bytes) - added by bjorn@… 4 years ago.
net/dsh/files/patch-dsh.conf - This makes ssh the default; few people these days use rsh, so the old defaults don't make sense.

Change History

Changed 4 years ago by bjorn@…

net/libdshconfig/Portfile

Changed 4 years ago by bjorn@…

net/dsh/Portfile

Changed 4 years ago by bjorn@…

net/dsh/files/patch-dsh.conf - This makes ssh the default; few people these days use rsh, so the old defaults don't make sense.

  Changed 4 years ago by raimue@…

  • cc raimue@… added

Does not build on Mac OS X 10.5 Leopard.

--->  Building libdshconfig with target all
make  all-am
if /bin/sh ./libtool --mode=compile ccache /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I. -I.  -I/opt/local/include  -O2 -MT libdshconfig.lo -MD -MP -MF ".deps/libdshconfig.Tpo" \
          -c -o libdshconfig.lo `test -f 'libdshconfig.c' || echo './'`libdshconfig.c; \
        then mv -f ".deps/libdshconfig.Tpo" ".deps/libdshconfig.Plo"; \
        else rm -f ".deps/libdshconfig.Tpo"; exit 1; \
        fi
mkdir .libs
 ccache /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I. -I. -I/opt/local/include -O2 -MT libdshconfig.lo -MD -MP -MF .deps/libdshconfig.Tpo -c libdshconfig.c  -fno-common -DPIC -o .libs/libdshconfig.o
 ccache /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I. -I. -I/opt/local/include -O2 -MT libdshconfig.lo -MD -MP -MF .deps/libdshconfig.Tpo -c libdshconfig.c -o libdshconfig.o >/dev/null 2>&1
/bin/sh ./libtool --mode=link ccache /usr/bin/gcc-4.0  -O2  -L/opt/local/lib -o libdshconfig.la -rpath /opt/local/lib -export-dynamic -version-info 1:0:0 libdshconfig.lo  
libtool: link: unable to infer tagged configuration
libtool: link: specify a tag with `--tag'
make[1]: *** [libdshconfig.la] Error 1
make: *** [all] Error 2

  Changed 4 years ago by bjorn@…

It does compile for me on OS X Leopard. I've got a Macbook, upgraded from OS X Tiger some months ago.

% gcc --version
i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5465)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Strange.

  Changed 4 years ago by jmr@…

Raim, does this work for you now that #14503 is fixed?

follow-up: ↓ 5   Changed 4 years ago by raimue@…

No, it still does not work. I get the same error message as above.

in reply to: ↑ 4   Changed 4 years ago by bjorn@…

Replying to raimue@macports.org:

No, it still does not work. I get the same error message as above.

I can't reproduce this error, but looking online it seems that the generated libtool has a different CXX tag setting encoded than what passed to it when trying to compile. I guess it could be related to which compiler you have installed and are using? Could it be that dependent libraries are compiled with a different compiler?

  Changed 4 years ago by jmr@…

I remember people were having issues when running MacPorts 1.6.0 or later and their libtool had been built with an earlier version. (Earlier versions set CXX=g++-4.0 and 1.6.0+ sets CXX=/usr/bin/g++-4.0.) Could this be the problem for you, Rainer?

  Changed 4 years ago by raimue@…

  • owner changed from macports-tickets@… to raimue@…
  • status changed from new to assigned

  Changed 4 years ago by raimue@…

  • status changed from assigned to closed
  • resolution set to fixed

Finally got it to build. I added a pre-configure phase to libdshconfig which calls autoreconf.

Committed in r38418 and r38419.

  Changed 3 years ago by jmr@…

  • type changed from enhancement to submission

  Changed 3 years ago by anonymous

  • milestone Port Submissions deleted

Milestone Port Submissions deleted

Note: See TracTickets for help on using tickets.