connection kit

  • I downloaded connection kit from
    http://opensource.utr-software.com/source/connection and tried to do a
    build. It looks like it compiled OK, but when it tried to link, it had the
    following error.

    /usr/bin/install_name_tool: more than one input file specified
    (Builds/Release/DropletHelper.app/Contents/MacOS/DropletHelper and
    /Users/cocoalite/Documents/development/Cocoa)

    Usage: /usr/bin/install_name_tool [-change old new] ... [-id name] input

    Command /bin/sh failed with exit code 1

    This is the script it was trying to run:
    /Users/cocoalite/Documents/development/Cocoa
    Builds/Connection.build/Release/DropletHelper.build/Script-
    7983ED650B0C749800F5078E.sh

    Here is the contents:
    #!/bin/sh
    /usr/bin/install_name_tool -change
    @executable_path/../Frameworks/Connection.framework/Versions/A/Connection
    @executable_path/../../../../Connection
    $CONFIGURATION_BUILD_DIR/DropletHelper.app/Contents/MacOS/DropletHelper

    I looked through the archives and googled for it, but didn't find anything.
    I'm using Xcode 2.4.1 if that helps. Any ideas?
  • CK has quite a few different Targets that can be built. Are you sure
    you're building the right one?

    Mike.

    On 13 Sep 2007, at 14:53, cocoa lite wrote:

    > I downloaded connection kit from
    > http://opensource.utr-software.com/source/connection and tried to do a
    > build. It looks like it compiled OK, but when it tried to link, it
    > had the
    > following error.
    >
    > /usr/bin/install_name_tool: more than one input file specified
    > (Builds/Release/DropletHelper.app/Contents/MacOS/DropletHelper and
    > /Users/cocoalite/Documents/development/Cocoa)
    >
    > Usage: /usr/bin/install_name_tool [-change old new] ... [-id name]
    > input
    >
    > Command /bin/sh failed with exit code 1
    >
    >
    > This is the script it was trying to run:
    > /Users/cocoalite/Documents/development/Cocoa
    > Builds/Connection.build/Release/DropletHelper.build/Script-
    > 7983ED650B0C749800F5078E.sh
    >
    > Here is the contents:
    > #!/bin/sh
    > /usr/bin/install_name_tool -change
    > @executable_path/../Frameworks/Connection.framework/Versions/A/
    > Connection
    > @executable_path/../../../../Connection
    > $CONFIGURATION_BUILD_DIR/DropletHelper.app/Contents/MacOS/
    > DropletHelper
    >
    >
    >
    > I looked through the archives and googled for it, but didn't find
    > anything.
    > I'm using Xcode 2.4.1 if that helps. Any ideas?
  • I was going with the default, which is setup for "Build All". I tried
    switching the target to the application "connection", but it fails the same
    way.

    On 9/13/07, Mike Abdullah <cocoadev...> wrote:
    >
    > CK has quite a few different Targets that can be built. Are you sure
    > you're building the right one?
    >
    > Mike.
    >
    > On 13 Sep 2007, at 14:53, cocoa lite wrote:
    >
    >> I downloaded connection kit from
    >> http://opensource.utr-software.com/source/connection and tried to do a
    >> build. It looks like it compiled OK, but when it tried to link, it
    >> had the
    >> following error.
    >>
    >> /usr/bin/install_name_tool: more than one input file specified
    >> (Builds/Release/DropletHelper.app/Contents/MacOS/DropletHelper and
    >> /Users/cocoalite/Documents/development/Cocoa)
    >>
    >> Usage: /usr/bin/install_name_tool [-change old new] ... [-id name]
    >> input
    >>
    >> Command /bin/sh failed with exit code 1
    >>
    >>
    >> This is the script it was trying to run:
    >> /Users/cocoalite/Documents/development/Cocoa
    >> Builds/Connection.build/Release/DropletHelper.build/Script-
    >> 7983ED650B0C749800F5078E.sh
    >>
    >> Here is the contents:
    >> #!/bin/sh
    >> /usr/bin/install_name_tool -change
    >> @executable_path/../Frameworks/Connection.framework/Versions/A/
    >> Connection
    >> @executable_path/../../../../Connection
    >> $CONFIGURATION_BUILD_DIR/DropletHelper.app/Contents/MacOS/
    >> DropletHelper
    >>
    >>
    >>
    >> I looked through the archives and googled for it, but didn't find
    >> anything.
    >> I'm using Xcode 2.4.1 if that helps. Any ideas?
    >
    >
  • The problem is the space in the directory name "Cocoa Builds".  A
    unquoted space indicates a separate argument to install_name_tool.
    You might want to try adding quotes to the paths in the script.  In
    general, though, bad things like this tend to happen when you build
    from a directory with a space in the path, so I would also recommend
    changing the name of your directory to CocoaBuilds.

    -Jeff

    On Sep 13, 2007, at 8:53 AM, cocoa lite wrote:

    > I downloaded connection kit from
    > http://opensource.utr-software.com/source/connection and tried to do a
    > build. It looks like it compiled OK, but when it tried to link, it
    > had the
    > following error.
    >
    > /usr/bin/install_name_tool: more than one input file specified
    > (Builds/Release/DropletHelper.app/Contents/MacOS/DropletHelper and
    > /Users/cocoalite/Documents/development/Cocoa)
    >
    > Usage: /usr/bin/install_name_tool [-change old new] ... [-id name]
    > input
    >
    > Command /bin/sh failed with exit code 1
    >
    >
    > This is the script it was trying to run:
    > /Users/cocoalite/Documents/development/Cocoa
    > Builds/Connection.build/Release/DropletHelper.build/Script-
    > 7983ED650B0C749800F5078E.sh
    >
    > Here is the contents:
    > #!/bin/sh
    > /usr/bin/install_name_tool -change
    > @executable_path/../Frameworks/Connection.framework/Versions/A/
    > Connection
    > @executable_path/../../../../Connection
    > $CONFIGURATION_BUILD_DIR/DropletHelper.app/Contents/MacOS/
    > DropletHelper
    >
    >
    >
    > I looked through the archives and googled for it, but didn't find
    > anything.
    > I'm using Xcode 2.4.1 if that helps. Any ideas?
    >
  • That did it. Thanks... and I did change the name to what you recommended.

    On 9/13/07, Jeff Johnson <publicposting...> wrote:
    >
    > The problem is the space in the directory name "Cocoa Builds".  A
    > unquoted space indicates a separate argument to install_name_tool.
    > You might want to try adding quotes to the paths in the script.  In
    > general, though, bad things like this tend to happen when you build
    > from a directory with a space in the path, so I would also recommend
    > changing the name of your directory to CocoaBuilds.
    >
    > -Jeff
    >
    >
    > On Sep 13, 2007, at 8:53 AM, cocoa lite wrote:
    >
    >> I downloaded connection kit from
    >> http://opensource.utr-software.com/source/connection and tried to do a
    >> build. It looks like it compiled OK, but when it tried to link, it
    >> had the
    >> following error.
    >>
    >> /usr/bin/install_name_tool: more than one input file specified
    >> (Builds/Release/DropletHelper.app/Contents/MacOS/DropletHelper and
    >> /Users/cocoalite/Documents/development/Cocoa)
    >>
    >> Usage: /usr/bin/install_name_tool [-change old new] ... [-id name]
    >> input
    >>
    >> Command /bin/sh failed with exit code 1
    >>
    >>
    >> This is the script it was trying to run:
    >> /Users/cocoalite/Documents/development/Cocoa
    >> Builds/Connection.build/Release/DropletHelper.build/Script-
    >> 7983ED650B0C749800F5078E.sh
    >>
    >> Here is the contents:
    >> #!/bin/sh
    >> /usr/bin/install_name_tool -change
    >> @executable_path/../Frameworks/Connection.framework/Versions/A/
    >> Connection
    >> @executable_path/../../../../Connection
    >> $CONFIGURATION_BUILD_DIR/DropletHelper.app/Contents/MacOS/
    >> DropletHelper
    >>
    >>
    >>
    >> I looked through the archives and googled for it, but didn't find
    >> anything.
    >> I'm using Xcode 2.4.1 if that helps. Any ideas?
    >>
    >
    >
previous month september 2007 next month
MTWTFSS
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
Go to today