[MacPorts] #27467: magicpoint install error: library not found for -lXext

MacPorts noreply at macports.org
Sat Nov 27 01:14:45 PST 2010


#27467: magicpoint install error: library not found for -lXext
-----------------------------------+----------------------------------------
 Reporter:  ar4880@…               |       Owner:  fenner@…           
     Type:  defect                 |      Status:  new                
 Priority:  Normal                 |   Milestone:                     
Component:  ports                  |     Version:  1.9.2              
 Keywords:                         |        Port:  magicpoint         
-----------------------------------+----------------------------------------
Changes (by ryandesign@…):

 * cc: ryandesign@… (added)
  * owner:  macports-tickets@… => fenner@…


Old description:

> I could not installed magicpoint by bellow command:
>   sudo port -d install magicpoint
> It said the following messages in main.log:
> :info:build /usr/bin/gcc-4.2 -o mgp -Os -Wall -Wpointer-arith -no-cpp-
> precomp     -L/opt/local/lib   mgp.o draw.o parse.o plist.o globals.o
> x11.o font.o background.o   scanner.o grammar.o postscript.o tfont.o
> embed.o unimap.o mng.o      -L./image -lmgpimage -lm  -L/opt/local/lib
> -lXft -lXrender -lfontconfig -lexpat -liconv -lfreetype -lz -lX11 -lxcb
> -lXau -lXdmcp   -L/opt/local/lib -lpng12 -lz   -lgif -L/opt/local/lib
> -lXext -lX11
> :info:build ld: library not found for -lXext
> :info:build collect2: ld returned 1 exit status
> :info:build make: *** [mgp] Error 1
> :info:build shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_magicpoint/work/magicpoint-1.10a"
> && /usr/bin/make all EXTRA_LIBRARIES=-L/opt/local/lib " returned error 2
> :error:build Target org.macports.build returned: shell command failed
> (see log for details)
> :debug:build Backtrace: shell command failed (see log for details)
>     while executing
> "command_exec build"
>     (procedure "portbuild::build_main" line 8)
>     invoked from within
> "$procedure $targetname"

New description:

 I could not installed magicpoint by bellow command:
 {{{
   sudo port -d install magicpoint
 }}}
 It said the following messages in main.log:
 {{{
 :info:build /usr/bin/gcc-4.2 -o mgp -Os -Wall -Wpointer-arith -no-cpp-
 precomp     -L/opt/local/lib   mgp.o draw.o parse.o plist.o globals.o
 x11.o font.o background.o   scanner.o grammar.o postscript.o tfont.o
 embed.o unimap.o mng.o      -L./image -lmgpimage -lm  -L/opt/local/lib
 -lXft -lXrender -lfontconfig -lexpat -liconv -lfreetype -lz -lX11 -lxcb
 -lXau -lXdmcp   -L/opt/local/lib -lpng12 -lz   -lgif -L/opt/local/lib
 -lXext -lX11
 :info:build ld: library not found for -lXext
 :info:build collect2: ld returned 1 exit status
 :info:build make: *** [mgp] Error 1
 :info:build shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_magicpoint/work/magicpoint-1.10a"
 && /usr/bin/make all EXTRA_LIBRARIES=-L/opt/local/lib " returned error 2
 :error:build Target org.macports.build returned: shell command failed (see
 log for details)
 :debug:build Backtrace: shell command failed (see log for details)
     while executing
 "command_exec build"
     (procedure "portbuild::build_main" line 8)
     invoked from within
 "$procedure $targetname"
 }}}

--

Comment:

 Please use WikiFormatting so your posts are legible.

 You probably just need to install xorg-libXext. magicpoint probably needs
 to have that added as a library dependency.

-- 
Ticket URL: <https://trac.macports.org/ticket/27467#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list