Opened 21 years ago

Closed 21 years ago

Last modified 20 years ago

#1520 closed defect (fixed)

gnuplot cannot be compiled.

Reported by: dxiao@… Owned by: rshaw@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc: rshaw@…
Port:

Description

Hi,

I've submitted this bug several months ago. There was no reply and I found the maintainer changed so I resubmit it again. Compiling gnuplot failed because of depedency problem. Changing all libgd:gd to libgd:gd2 in Portfile solves this problem. I test it on Mac OS X 10.3.2.

I believe gnuplot is a very important tool. Making it work out of box in darwinport therefore is also very important for the growth of darwinport.

Thanks,

Di Xiao

Change History (8)

comment:1 Changed 21 years ago by rshaw@…

Status: newassigned

comment:2 Changed 21 years ago by rshaw@…

I cannot duplicate this problem. I've recently worked on some changes to the gnuplot port. I have no trouble compiling on 10.3.2 and it compiles fine for me with the gd (1.x series) library OR the gd2 series. Can you post or send me an output transcript of the compile problem you get from a "port -d -v build"?

Thanks. -rshaw

comment:3 Changed 21 years ago by rshaw@…

Owner: changed from darwinports-bugs@… to rshaw@…
Status: assignednew

comment:4 Changed 21 years ago by rshaw@…

Status: newassigned

comment:5 Changed 21 years ago by rshaw@…

Problem resolved and committed. Please confirm fix so I can close this bug. Thanks! -rshaw

comment:6 Changed 21 years ago by dxiao@…

Hi, I removed everything installed by darwinport and itself then did a fresh installation.

After installing darwinport I then typed the following command and that's what I got.

[dxiao@xiao dxiao]$ sudo port install +x11 gnuplot ---> Fetching gd ---> Verifying checksum for gd ---> Extracting gd ---> Configuring gd ---> Building gd with target all Error: Target com.apple.build returned: shell command "cc -fno-common -dynamiclib -o libgd.1.8.dylib -install_name /opt/local/lib/libgd.1.dylib -compatibility_version 1.8 -current_version 1.8 -all_load libgd.a -L/opt/local/lib -lpng -lz -ljpeg" returned error 1 Command output: ld: Undefined symbols: _FT_Done_Face _FT_Get_Char_Index _FT_Get_Kerning _FT_Init_FreeType _FT_Load_Glyph _FT_New_Face _FT_Set_Char_Size _FT_Set_Transform /usr/bin/libtool: internal link edit command failed

Error: The following dependencies failed to build: gd readline

comment:7 Changed 21 years ago by dxiao@…

I think now I found where the problem is. libgd cannot be compiled. So it is not a problem of gnuplot but libgd.

comment:8 Changed 21 years ago by rshaw@…

Resolution: fixed
Status: assignedclosed

Fix confirmed. -rshaw

Note: See TracTickets for help on using tickets.