[Magic-dev] compile & install Magic 7.3.115 on Solaris 10
I-Lun Tseng
iltseng at seed.net.tw
Thu Dec 8 09:59:33 EST 2005
Dear Tim,
Many thanks for your reply.
First, I have attached make.log file in this mail.
Second, modifying the "export" command to what you have said does solve the
second problem.
Best regards,
I-Lun
----- Original Message -----
From: "R. Timothy Edwards" <tim.edwards at multigig.com>
To: <iltseng at seed.net.tw>
Cc: <magic-dev at csl.cornell.edu>
Sent: Thursday, December 08, 2005 8:17 AM
Subject: Re: [Magic-dev] compile & install Magic 7.3.115 on Solaris 10
> 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 |
> +--------------------------------+-------------------------------------+
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make.log
Type: application/octet-stream
Size: 340715 bytes
Desc: not available
Url : http://vlsi.csl.cornell.edu/pipermail/magic-dev/attachments/20051208/8bbe88fd/make.obj
More information about the magic-dev
mailing list