Opened 20 years ago

Closed 19 years ago

#3125 closed defect (invalid)

netpbm doesn't build

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

Description

---> Building netpbm with target {} Error: Target com.apple.build returned: shell command "cd "/Volumes/Local/DarwinPorts/var/db/ dports/build/ file._Volumes_Local_DarwinPorts_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports _graphics_netpbm/work/netpbm-10.26.7" && make " returned error 2 Command output: `/Volumes/Local/DarwinPorts/var/db/dports/build/ file._Volumes_Local_DarwinPorts_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports _graphics_netpbm/work/netpbm-10.26.7/buildtools/libopt /Volumes/Local/DarwinPorts/var/db/ dports/build/ file._Volumes_Local_DarwinPorts_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports _graphics_netpbm/work/netpbm-10.26.7/lib/libnetpbm.dylib /Volumes/Local/DarwinPorts/var/db/ dports/build/ file._Volumes_Local_DarwinPorts_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports _graphics_netpbm/work/netpbm-10.26.7/converter/other/jbig/libjbig.a` -lm \ serious libopt error prevented parsing library names. Invalid input to libopt is NOT the problem. /usr/bin/ld: warning prebinding disabled because of undefined symbols /usr/bin/ld: Undefined symbols: _jbg_dec_free _jbg_dec_getheight _jbg_dec_getimage _jbg_dec_getwidth _jbg_dec_in _jbg_dec_init _jbg_dec_maxsize _jbg_dec_merge_planes _jbg_strerror _pbm_writepbminit _pbm_writepbmrow_packed _pm_allocrow _pm_bitstomaxval _pm_close _pm_error _pm_freerow _pm_message _pnm_init _pnm_writepnminit _pnm_writepnmrow collect2: ld returned 1 exit status make[3]: * [jbigtopnm] Error 1 make[2]: * [jbig/all] Error 2 make[1]: * [other/all] Error 2 make: * [converter/all] Error 2

Change History (7)

comment:1 Changed 20 years ago by jmpp@…

Owner: changed from darwinports-bugs@… to yves@…

comment:2 Changed 20 years ago by opendarwin@…

I've since discovered that it does in fact build but only if Darwin Ports is installed in the default location of /opt/local. When I installed Darwin Ports from source, I did:

./configure --prefix=/Volumes/Local/DarwinPorts

since I prefer "local" stuff not to be installed on my / volume. I did add a symlink:

ln -s /Volumes/Local/DarwinPorts /opt/local

Many packages I've installed with this set-up work fine with a non-standard install location, but, apparently, netpbm isn't one of them. You'd think that it shouldn't depend on the install location. So either something is wrong with the netpbm package or something is really wrong with the Darwin Ports environment if it's not installed in /opt/local.

comment:3 Changed 20 years ago by yves@…

Status: newassigned

My installation is in /opt/local so I can't reproduce your problem.

However, if you still want to help, you could do the following (with no /opt/local symlink) :

cd /Volumes/Local/DarwinPorts/var/db/dports/build/ file._Volumes_Local_DarwinPorts_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports _graphics_netpbm/work/netpbm-10.26.7/converter/other/jbig

make messages=yes

and send me the output

comment:4 Changed 20 years ago by opendarwin@…

(In reply to comment #2)

My installation is in /opt/local so I can't reproduce your problem.

Of course you can. Install DarwinPorts *again* someplace else as a seperate installation on your machine.

comment:5 Changed 19 years ago by yves@…

Owner: changed from yves@… to yves@…
Status: assignednew

comment:6 Changed 19 years ago by yves@…

Status: newassigned

comment:7 Changed 19 years ago by yves@…

Resolution: invalid
Status: assignedclosed

I tried a new location but did not come across this problem

Note: See TracTickets for help on using tickets.