[Magic-dev] compile & install Magic 7.3.115 on Solaris 10
R. Timothy Edwards
tim.edwards at multigig.com
Wed Dec 7 14:17:21 EST 2005
Dear I-Lun,
Looks like we have two separate problems here.
> I was trying to compile and install Magic 7.3.115 on Solaris 10. Since I do not have the root password of the machine, I can only install Magic in my local directories. Therefore, I used the --prefix option for the configure command, followed by typing "make" and then "make install". However, I got some error messages during "make install". Please see the messages below:
>
> $ pwd
> /home/username/Magic_7.3.115/magic
>
> $ ./configure --prefix=/home/username/Magic_7.3.115/magic
> /* Everything seemed fine. */
>
> $ make
> /* Everything seemed fine. */
>
> $ make install
> --- installing to /home/username/Magic_7.3.115/magic
> make[2]: *** No rule to make target `../graphics/libgraphics.o', needed by `tclmagic.so'. Stop.
The actual error should show up in the "make.log" file. Please send me the make.log file or
email me the relevant lines showing what the error was.
> $ cd bin
>
> $ ./magic
> ./magic: MAGIC_WISH=/usr/local/bin/wish: is not an identifier
I've had problems before with the Solaris version of "sh", and this
looks like one of those cases. Apart from the fact that magic never
finished compiling all the code in the graphics subdirectory, probably
the scripts /usr/local/bin/magic is not going to work until some changes
are made for compatibility with Solaris. The error is almost certainly
either line 15 or line 16 of /usr/local/bin/magic:
DNULL=
export MAGIC_WISH=/usr/local/bin/wish
My best guess is that the syntax of the "export" command is only correct
for "bash" (Linux doesn't have the original "sh", only the newer "bash").
Try changing the line to:
MAGIC_WISH=/usr/local/bin/wish
export MAGIC_WISH
If this works for you, please let me know so I can change the distribution.
Regards,
Tim
+--------------------------------+-------------------------------------+
| Dr. R. Timothy Edwards (Tim) | email: tim.edwards at multigig.com |
| MultiGiG, Inc. | web: http://www.multigig.com |
| 100 Enterprise Way, Suite A-3 | phone: (831) 621-3283 |
| Scotts Valley, CA 95066 | cell: (240) 401-0616 |
+--------------------------------+-------------------------------------+
More information about the magic-dev
mailing list