Opened 6 months ago

Closed 6 months ago

Last modified 5 months ago

#15946 closed build error (fixed)

osx install error with --disable-xrc

Reported by: wojdyr Owned by:
Priority: normal Milestone: 3.0.1
Component: build Version: dev-latest
Keywords: Cc:
Blocked By: Blocking:
Patch: no

Description

/Users/wojdyr/src/wxWidgets/gcc-shared/change-install-names /Users/wojdyr/local/lib /Users/wojdyr/local/bin /Users/wojdyr/local/lib /Users/wojdyr/src/wxWidgets/gcc-shared/lib
install_name_tool: can't open file: /Users/wojdyr/local/bin/wxrc-3.1 (No such file or directory)

It's from r74909

i guess a condition is needed before configure.in:3789

Change History (6)

comment:1 Changed 6 months ago by vadz

  • Milestone set to 3.0.1

Could you please test if this helps:

  • configure.in

    diff --git a/configure.in b/configure.in
    index 7ecb037..2634551 100644
    a b done 
    37863786for i in \${libnames} ; do 
    37873787    ${HOST_PREFIX}install_name_tool \${changes} -id \${3}/\${i} \${1}/\${i} 
    37883788done 
    3789 ${HOST_PREFIX}install_name_tool \${changes} \${2}/wxrc-${WX_RELEASE} 
    37903789EOF 
     3790            if test $USE_XRC = 1; then 
     3791                echo "${HOST_PREFIX}install_name_tool \${changes} \${2}/wxrc-${WX_RELEASE}" >> change-install-names 
     3792            fi 
     3793 
    37913794            chmod +x change-install-names 
    37923795            DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \${DESTDIR}\${bindir} \${libdir} \$(wx_top_builddir)/lib" 
    37933796        fi 

?

TIA!

comment:2 Changed 6 months ago by wojdyr

It helps. Thanks!

comment:3 Changed 6 months ago by VZ

  • Resolution set to fixed
  • Status changed from new to closed

(In [75844]) Fix build under OS X with --disable-xrc.

Don't try to change the install names in non-existent (in this case) wxrc.

Closes #15946.

comment:4 Changed 6 months ago by VZ

(In [75845]) Fix build under OS X with --disable-xrc.

Don't try to change the install names in non-existent (in this case) wxrc.

Closes #15946.

comment:5 Changed 5 months ago by VZ

(In [76046]) Really fix using install_name_tool with wxrc under OS X.

Don't test for USE_XRC before it is set, correcting the wrong change of
r75845.

See #15946.

comment:6 Changed 5 months ago by VZ

(In [76052]) Really fix using install_name_tool with wxrc under OS X.

Don't test for USE_XRC before it is set, correcting the wrong change of
r75845.

See #15946.

Note: See TracTickets for help on using tickets.