How do I tell macports that a step is finished?
Ryan Schmidt
ryandesign at macports.org
Wed Sep 9 14:31:01 PDT 2009
On Sep 9, 2009, at 11:59, Michael_google gmail_Gersten wrote:
> I managed to get a problem port to configure and compile.
>
> ...
> /usr/bin/g++ -I../c++ -I../include -I. -DHAVE_CONFIG_H -I.
> -I../include -U_XOPEN_SOURCE -D_XOPEN_SOURCE=500 -DSIGWINCH=28
> -D_XOPEN_SOURCE_EXTENDED -DNDEBUG -I/opt/local/include/ncursesw -arch
> i386 -dynamic -c ../c++/demo.cc -o ../obj_s/demo.o
> /usr/bin/g++ -o demo ../obj_s/demo.o -L../lib -lncurses++w -L../lib
> -lformw -lmenuw -lpanelw -lncursesw -Wl,-search_paths_first
> -I../c++ -I../include -I. -DHAVE_CONFIG_H -I. -I../include
> -U_XOPEN_SOURCE -D_XOPEN_SOURCE=500 -DSIGWINCH=28
> -D_XOPEN_SOURCE_EXTENDED -DNDEBUG -I/opt/local/include/ncursesw -arch
> i386 -dynamic
> Kleiman-ibook:ncurses-5.7-i386 michael$ cd
> # All done! Yea! Now to install it, right?
> Kleiman-ibook:~ michael$ sudo port install ncurses +universal
> Password:
> ---> Computing dependencies for ncurses
> ---> Configuring ncursesw
> ---> Configuring ncursesw for architecture ppc
> Error: Target org.macports.configure returned: error copying
> "/opt/local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncursesw
> /work/ncurses-5.7"
> to "/opt/local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncursesw
> /work/ncurses-5.7-ppc/ncurses-5.7":
> file already exists
> Error: The following dependencies failed to build: ncursesw
> Error: Status 1 encountered during processing.
> Kleiman-ibook:~ michael$
>
> It's already done the dependencies, the fetch, the configuration
> (which failed before, and now is manually done, as well as the i386
> half of the compile.)
>
> How do I say "Step X is done, go to the next step"?
That information is recorded in the state file, which is stored in the
file named .macports.${name}.state in the port's work directory. It
includes a line for every completed phase.
More information about the macports-dev
mailing list