SVN on an Intel Mac (and How to for Others)

Trying to build your own version of Vega Strike and having problems? Unix users, paste your config.log here (stderr output alone is not helpful).
Sinthramyr
Merchant
Merchant
Posts: 39
Joined: Thu Jan 31, 2008 8:16 pm

Post by Sinthramyr »

ace123 wrote:Must have missed something... your ./configure seems to think you do not have Dialog library enabled either.

Can you attach your config.log again now that you have a --disable-gtk?
Sure and here you go...
You do not have the required permissions to view the files attached to this post.
Macbook Pro 2.6 GHz Intel Core 2 Duo, 4 GB 667 MHz DDR2 SDRAM, 180 GB HDD, 256 MB Nvidia GeForce 8600M GT, OS X 10.5.x Leopard
Sinthramyr
Merchant
Merchant
Posts: 39
Joined: Thu Jan 31, 2008 8:16 pm

Post by Sinthramyr »

ace123 wrote:Must have missed something... your ./configure seems to think you do not have Dialog library enabled either.

Can you attach your config.log again now that you have a --disable-gtk?
Sure and here you go...
You do not have the required permissions to view the files attached to this post.
Macbook Pro 2.6 GHz Intel Core 2 Duo, 4 GB 667 MHz DDR2 SDRAM, 180 GB HDD, 256 MB Nvidia GeForce 8600M GT, OS X 10.5.x Leopard
ace123
Lead Network Developer
Lead Network Developer
Posts: 2560
Joined: Sun Jan 12, 2003 9:13 am
Location: Palo Alto CA
Contact:

Post by ace123 »

It says:
ld: library not found for -ldialog
Are you sure that running "make" from the dialog directory was successful?
Sinthramyr
Merchant
Merchant
Posts: 39
Joined: Thu Jan 31, 2008 8:16 pm

Post by Sinthramyr »

ace123 wrote:It says:
ld: library not found for -ldialog
Are you sure that running "make" from the dialog directory was successful?
Yes I have the dialog binary which I am attaching. However dialog-config seems to be pointing to /usr/local while the binary is not in that directory? Was I supposed to move this stuff into my /usr/local directory or something? I have never been successful with setting LDFLAGS via Terminal...

I ran the dialog executible and this is what I got:

Code: Select all

Last login: Sun Feb 24 10:30:24 on ttys001
/Users/Creator/VegaStrike/dialog-1.1-20071028/dialog ; exit;
Lumino:~ Creator$ /Users/Creator/VegaStrike/dialog-1.1-20071028/dialog ; exit;
cdialog (ComeOn Dialog!) version 1.1-20071028
Copyright 2000-2006,2007 Thomas E. Dickey
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

* Display dialog boxes from shell scripts *

Usage: dialog <options> { --and-widget <options> }
where options are "common" options, followed by "box" options

Special options:
  [--create-rc "file"]
Common options:
  [--ascii-lines] [--aspect <ratio>] [--backtitle <backtitle>]
  [--begin <y> <x>] [--cancel-label <str>] [--clear] [--colors]
  [--cr-wrap] [--default-item <str>] [--defaultno] [--exit-label <str>]
  [--extra-button] [--extra-label <str>] [--help-button]
  [--help-label <str>] [--help-status] [--ignore] [--input-fd <fd>]
  [--insecure] [--item-help] [--keep-tite] [--keep-window]
  [--max-input <n>] [--no-cancel] [--no-collapse] [--no-kill]
  [--no-label <str>] [--no-lines] [--no-ok] [--no-shadow] [--nook]
  [--ok-label <str>] [--output-fd <fd>] [--print-maxsize] [--print-size]
  [--print-version] [--separate-output] [--separate-widget <str>]
  [--shadow] [--single-quoted] [--size-err] [--sleep <secs>] [--stderr]
  [--stdout] [--tab-correct] [--tab-len <n>] [--timeout <secs>]
  [--title <title>] [--trace <file>] [--trim] [--version] [--visit-items]
  [--yes-label <str>]
Box options:
  --calendar     <text> <height> <width> <day> <month> <year>
  --checklist    <text> <height> <width> <list height> <tag1> <item1> <status1>...
  --dselect      <directory> <height> <width>
  --editbox      <file> <height> <width>
  --form         <text> <height> <width> <form height> <label1> <l_y1> <l_x1> <item1> <i_y1> <i_x1> <flen1> <ilen1>...
  --fselect      <filepath> <height> <width>
  --gauge        <text> <height> <width> [<percent>]
  --infobox      <text> <height> <width>
  --inputbox     <text> <height> <width> [<init>]
  --inputmenu    <text> <height> <width> <menu height> <tag1> <item1>...
  --menu         <text> <height> <width> <menu height> <tag1> <item1>...
  --mixedform    <text> <height> <width> <form height> <label1> <l_y1> <l_x1> <item1> <i_y1> <i_x1> <flen1> <ilen1> <itype>...
  --mixedgauge   <text> <height> <width> <percent> <tag1> <item1>...
  --msgbox       <text> <height> <width>
  --passwordbox  <text> <height> <width> [<init>]
  --passwordform <text> <height> <width> <form height> <label1> <l_y1> <l_x1> <item1> <i_y1> <i_x1> <flen1> <ilen1>...
  --pause        <text> <height> <width> <seconds>
  --progressbox  <height> <width>
  --radiolist    <text> <height> <width> <list height> <tag1> <item1> <status1>...
  --tailbox      <file> <height> <width>
  --tailboxbg    <file> <height> <width>
  --textbox      <file> <height> <width>
  --timebox      <text> <height> <width> <hour> <minute> <second>
  --yesno        <text> <height> <width>

Auto-size with height and width = 0. Maximize with height and width = -1.
Global-auto-size if also menu_height/list_height = 0.
logout

[Process completed]
So apparently it works, but vegastrike's configure isn't finding it for some reason?
You do not have the required permissions to view the files attached to this post.
Macbook Pro 2.6 GHz Intel Core 2 Duo, 4 GB 667 MHz DDR2 SDRAM, 180 GB HDD, 256 MB Nvidia GeForce 8600M GT, OS X 10.5.x Leopard
ace123
Lead Network Developer
Lead Network Developer
Posts: 2560
Joined: Sun Jan 12, 2003 9:13 am
Location: Palo Alto CA
Contact:

Post by ace123 »

You posted the binary "dialog".
It's not looking for a binary executable--it is looking for a library so it can link itself into a dialog-based program.

It really should have created a "libdialog.a".
Can you paste the output if you do a "make clean" followed by a "make" from inside your dialog source directory?

I don't think the configure logs are useful because it should be built into the makefile.
Sinthramyr
Merchant
Merchant
Posts: 39
Joined: Thu Jan 31, 2008 8:16 pm

Post by Sinthramyr »

ace123 wrote: It really should have created a "libdialog.a".
Can you paste the output if you do a "make clean" followed by a "make" from inside your dialog source directory?
libdialog.a was indeed created and is present in the folder. :(
Macbook Pro 2.6 GHz Intel Core 2 Duo, 4 GB 667 MHz DDR2 SDRAM, 180 GB HDD, 256 MB Nvidia GeForce 8600M GT, OS X 10.5.x Leopard
ace123
Lead Network Developer
Lead Network Developer
Posts: 2560
Joined: Sun Jan 12, 2003 9:13 am
Location: Palo Alto CA
Contact:

Post by ace123 »

configure:18892: checking for libdialog and libncurses
configure:18918: gcc -o conftest -O2 -Wno-long-double -I/sw/include conftest.c -L/sw/lib -lvorbisfile -lvorbis -logg -L/Users/Creator/VegaStrike/dialog-1.0.20071028 -lncurses -ldialog >&5
ld: library not found for -ldialog
collect2: ld returned 1 exit status
Unfortunately all I have to go in is this message.

It says basically that there is no libdialog file inside of the directory "/Users/Creator/VegaStrike/dialog-1.0.20071028"

Not really sure how to debug further into this... I don't really know if it is expecting a static or shared library.
Post Reply