Iâm a newbie to computer programming and using terminal, so I apologize if my
problem has a simple solution.
I am using a 64-bit Mac running Snow Leopard (10.6.5) and am having trouble
building FLTK. I have read many threads about problems building with Snow
Leopard, and I am a quite lost as to what to do.
I am trying to build fltk 1.3.x-r7876 and here is what is happening. The
configure and make commands seems to run with no problems, but when I try to
install then I get an error 71, permission denied.
This is the log (sorry itâs long):
Configure seems to work fine:
~/fltk-1.3.x-r7876/:$ ./configure
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for nroff... /usr/bin/nroff
checking for htmldoc... no
checking for doxygen... no
checking for ranlib... ranlib
checking for ar... /usr/bin/ar
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking for short... yes
checking size of short... 2
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 8
checking whether the compiler recognizes bool as a built-in type... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/stdtypes.h usability... no
checking sys/stdtypes.h presence... no
checking for sys/stdtypes.h... no
checking for scandir... yes
checking whether we have the POSIX compatible scandir() prototype... no
checking for vsnprintf... yes
checking for snprintf... yes
checking for strings.h... (cached) yes
checking for strcasecmp... yes
checking for strlcat... yes
checking for strlcpy... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for localeconv... yes
checking for library containing pow... none required
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for long long int... yes
checking for strtoll... yes
checking for library containing dlsym... none required
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for jpeg_CreateCompress in -ljpeg... no
checking for gzgets in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for png_read_info in -lpng... no
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_create using -lpthreads... no
checking for pthread_create using -lpthread... yes
checking if GCC supports -fno-exceptions... yes
checking if GCC supports -fno-strict-aliasing... yes
Configuration Summary
-------------------------------------------------------------------------
Directories: prefix=/usr/local
bindir=${exec_prefix}/bin
datadir=${datarootdir}
datarootdir=${prefix}/share
exec_prefix=${prefix}
includedir=${prefix}/include
libdir=${exec_prefix}/lib
mandir=${datarootdir}/man
Graphics: Quartz
Image Libraries: JPEG=Builtin
PNG=Builtin
ZLIB=System
Large Files: YES
OpenGL: YES
Threads: YES
configure: creating ./config.status
config.status: creating makeinclude
config.status: creating fltk.list
config.status: creating fltk-config
config.status: creating fltk.spec
config.status: creating FL/Makefile
config.status: creating config.h
Then the make command seems to compile with no issues:
~/fltk-1.3.x-r7876/:$ make
=== making jpeg ===
Compiling jmemnobs.c...
Compiling jcapimin.c...
Compiling jcapistd.c...
Compiling jccoefct.c...
Compiling jccolor.c...
Compiling jcdctmgr.c...
Compiling jchuff.c...
Compiling jcinit.c...
Compiling jcmainct.c...
Compiling jcmarker.c...
Compiling jcmaster.c...
Compiling jcomapi.c...
Compiling jcparam.c...
Compiling jcphuff.c...
Compiling jcprepct.c...
Compiling jcsample.c...
Compiling jctrans.c...
Compiling jdapimin.c...
Compiling jdapistd.c...
Compiling jdatadst.c...
Compiling jdatasrc.c...
Compiling jdcoefct.c...
Compiling jdcolor.c...
Compiling jddctmgr.c...
Compiling jdhuff.c...
Compiling jdinput.c...
Compiling jdmainct.c...
Compiling jdmarker.c...
Compiling jdmaster.c...
Compiling jdmerge.c...
Compiling jdphuff.c...
Compiling jdpostct.c...
Compiling jdsample.c...
Compiling jdtrans.c...
Compiling jerror.c...
Compiling jfdctflt.c...
Compiling jfdctfst.c...
Compiling jfdctint.c...
Compiling jidctflt.c...
Compiling jidctfst.c...
Compiling jidctint.c...
Compiling jidctred.c...
Compiling jquant1.c...
Compiling jquant2.c...
Compiling jutils.c...
Compiling jmemmgr.c...
Archiving ../lib/libfltk_jpeg.a...
=== making png ===
Compiling png.c...
Compiling pngset.c...
Compiling pngget.c...
Compiling pngrutil.c...
Compiling pngtrans.c...
Compiling pngwutil.c...
Compiling pngread.c...
Compiling pngrio.c...
Compiling pngwio.c...
Compiling pngwrite.c...
Compiling pngrtran.c...
Compiling pngwtran.c...
Compiling pngmem.c...
Compiling pngerror.c...
Compiling pngpread.c...
Archiving ../lib/libfltk_png.a...
=== making src ===
Compiling Fl.cxx...
Compiling Fl_Adjuster.cxx...
Compiling Fl_Bitmap.cxx...
Compiling Fl_Browser.cxx...
Compiling Fl_Browser_.cxx...
Compiling Fl_Browser_load.cxx...
Compiling Fl_Box.cxx...
Compiling Fl_Button.cxx...
Compiling Fl_Chart.cxx...
Compiling Fl_Check_Browser.cxx...
Compiling Fl_Check_Button.cxx...
Compiling Fl_Choice.cxx...
Compiling Fl_Clock.cxx...
Compiling Fl_Color_Chooser.cxx...
Compiling Fl_Counter.cxx...
Compiling Fl_Dial.cxx...
Compiling Fl_Device.cxx...
Compiling Fl_Double_Window.cxx...
Compiling Fl_File_Browser.cxx...
Compiling Fl_File_Chooser.cxx...
Compiling Fl_File_Chooser2.cxx...
Compiling Fl_File_Icon.cxx...
Compiling Fl_File_Input.cxx...
Compiling Fl_Group.cxx...
Compiling Fl_Help_View.cxx...
Compiling Fl_Image.cxx...
Compiling Fl_Input.cxx...
Compiling Fl_Input_.cxx...
Compiling Fl_Light_Button.cxx...
Compiling Fl_Menu.cxx...
Compiling Fl_Menu_.cxx...
Compiling Fl_Menu_Bar.cxx...
Compiling Fl_Sys_Menu_Bar.cxx...
Compiling Fl_Menu_Button.cxx...
Compiling Fl_Menu_Window.cxx...
Compiling Fl_Menu_add.cxx...
Compiling Fl_Menu_global.cxx...
Compiling Fl_Multi_Label.cxx...
Compiling Fl_Native_File_Chooser.cxx...
Compiling Fl_Overlay_Window.cxx...
Compiling Fl_Pack.cxx...
Compiling Fl_Paged_Device.cxx...
Compiling Fl_Pixmap.cxx...
Compiling Fl_Positioner.cxx...
Compiling Fl_Preferences.cxx...
Compiling Fl_Printer.cxx...
Compiling Fl_Progress.cxx...
Compiling Fl_Repeat_Button.cxx...
Compiling Fl_Return_Button.cxx...
Compiling Fl_Roller.cxx...
Compiling Fl_Round_Button.cxx...
Compiling Fl_Scroll.cxx...
Compiling Fl_Scrollbar.cxx...
Compiling Fl_Shared_Image.cxx...
Compiling Fl_Single_Window.cxx...
Compiling Fl_Slider.cxx...
Compiling Fl_Table.cxx...
Compiling Fl_Table_Row.cxx...
Compiling Fl_Tabs.cxx...
Compiling Fl_Text_Buffer.cxx...
Compiling Fl_Text_Display.cxx...
Compiling Fl_Text_Editor.cxx...
Compiling Fl_Tile.cxx...
Compiling Fl_Tiled_Image.cxx...
Compiling Fl_Tree.cxx...
Compiling Fl_Tree_Item.cxx...
Compiling Fl_Tree_Item_Array.cxx...
Compiling Fl_Tree_Prefs.cxx...
Compiling Fl_Tooltip.cxx...
Compiling Fl_Valuator.cxx...
Compiling Fl_Value_Input.cxx...
Compiling Fl_Value_Output.cxx...
Compiling Fl_Value_Slider.cxx...
Compiling Fl_Widget.cxx...
Compiling Fl_Window.cxx...
Compiling Fl_Window_fullscreen.cxx...
Compiling Fl_Window_hotspot.cxx...
Compiling Fl_Window_iconize.cxx...
Compiling Fl_Wizard.cxx...
Compiling Fl_XBM_Image.cxx...
Compiling Fl_XPM_Image.cxx...
Compiling Fl_abort.cxx...
Compiling Fl_add_idle.cxx...
Compiling Fl_arg.cxx...
Compiling Fl_compose.cxx...
Compiling Fl_display.cxx...
Compiling Fl_get_key.cxx...
Compiling Fl_get_system_colors.cxx...
Compiling Fl_grab.cxx...
Compiling Fl_lock.cxx...
Compiling Fl_own_colormap.cxx...
Compiling Fl_visual.cxx...
Compiling Fl_x.cxx...
Compiling filename_absolute.cxx...
Compiling filename_expand.cxx...
Compiling filename_ext.cxx...
Compiling filename_isdir.cxx...
Compiling filename_list.cxx...
Compiling filename_match.cxx...
Compiling filename_setext.cxx...
Compiling fl_arc.cxx...
Compiling fl_arci.cxx...
Compiling fl_ask.cxx...
Compiling fl_boxtype.cxx...
Compiling fl_color.cxx...
Compiling fl_cursor.cxx...
Compiling fl_curve.cxx...
Compiling fl_diamond_box.cxx...
Compiling fl_dnd.cxx...
Compiling fl_draw.cxx...
Compiling fl_draw_image.cxx...
Compiling fl_draw_pixmap.cxx...
Compiling fl_encoding_latin1.cxx...
Compiling fl_encoding_mac_roman.cxx...
Compiling fl_engraved_label.cxx...
Compiling fl_file_dir.cxx...
Compiling fl_font.cxx...
Compiling fl_gtk.cxx...
Compiling fl_labeltype.cxx...
Compiling fl_line_style.cxx...
Compiling fl_open_uri.cxx...
Compiling fl_oval_box.cxx...
Compiling fl_overlay.cxx...
Compiling fl_overlay_visual.cxx...
Compiling fl_plastic.cxx...
Compiling fl_read_image.cxx...
Compiling fl_rect.cxx...
Compiling fl_round_box.cxx...
Compiling fl_rounded_box.cxx...
Compiling fl_set_font.cxx...
Compiling fl_set_fonts.cxx...
Compiling fl_scroll_area.cxx...
Compiling fl_shadow_box.cxx...
Compiling fl_shortcut.cxx...
Compiling fl_show_colormap.cxx...
Compiling fl_symbols.cxx...
Compiling fl_vertex.cxx...
Compiling screen_xywh.cxx...
Compiling fl_utf8.cxx...
Compiling ps_image.cxx...
Compiling fl_call_main.c...
Compiling flstring.c...
Compiling scandir.c...
Compiling numericsort.c...
Compiling vsnprintf.c...
Compiling fl_utf.c...
Compiling xutf8/case.c...
Compiling xutf8/is_right2left.c...
Compiling xutf8/is_spacing.c...
Compiling xutf8/keysym2Ucs.c...
Compiling xutf8/utf8Input.c...
Compiling xutf8/utf8Utils.c...
Compiling xutf8/utf8Wrap.c...
/usr/bin/ar cr ../lib/libfltk.a ...
/usr/bin/ranlib: file: ../lib/libfltk.a(Fl_x.o) has no symbols
/usr/bin/ranlib: file: ../lib/libfltk.a(fl_overlay_visual.o) has no symbols
/usr/bin/ranlib: file: ../lib/libfltk.a(fl_call_main.o) has no symbols
/usr/bin/ranlib: file: ../lib/libfltk.a(scandir.o) has no symbols
/usr/bin/ranlib: file: ../lib/libfltk.a(keysym2Ucs.o) has no symbols
/usr/bin/ranlib: file: ../lib/libfltk.a(utf8Input.o) has no symbols
/usr/bin/ranlib: file: ../lib/libfltk.a(utf8Utils.o) has no symbols
/usr/bin/ranlib: file: ../lib/libfltk.a(utf8Wrap.o) has no symbols
ranlib: file: ../lib/libfltk.a(Fl_x.o) has no symbols
ranlib: file: ../lib/libfltk.a(fl_overlay_visual.o) has no symbols
ranlib: file: ../lib/libfltk.a(fl_call_main.o) has no symbols
ranlib: file: ../lib/libfltk.a(scandir.o) has no symbols
ranlib: file: ../lib/libfltk.a(keysym2Ucs.o) has no symbols
ranlib: file: ../lib/libfltk.a(utf8Input.o) has no symbols
ranlib: file: ../lib/libfltk.a(utf8Utils.o) has no symbols
ranlib: file: ../lib/libfltk.a(utf8Wrap.o) has no symbols
Compiling forms_compatability.cxx...
Compiling forms_bitmap.cxx...
Compiling forms_free.cxx...
Compiling forms_fselect.cxx...
Compiling forms_pixmap.cxx...
Compiling forms_timer.cxx...
/usr/bin/ar cr ../lib/libfltk_forms.a ...
Compiling Fl_Gl_Choice.cxx...
Compiling Fl_Gl_Overlay.cxx...
Compiling Fl_Gl_Device_Plugin.cxx...
Compiling Fl_Gl_Window.cxx...
Compiling freeglut_geometry.cxx...
Compiling freeglut_stroke_mono_roman.cxx...
Compiling freeglut_stroke_roman.cxx...
Compiling freeglut_teapot.cxx...
Compiling gl_draw.cxx...
Compiling gl_start.cxx...
Compiling glut_compatability.cxx...
Compiling glut_font.cxx...
/usr/bin/ar cr ../lib/libfltk_gl.a ...
Compiling fl_images_core.cxx...
Compiling Fl_BMP_Image.cxx...
Compiling Fl_File_Icon2.cxx...
Compiling Fl_GIF_Image.cxx...
Compiling Fl_Help_Dialog.cxx...
Compiling Fl_JPEG_Image.cxx...
Compiling Fl_PNG_Image.cxx...
Compiling Fl_PNM_Image.cxx...
/usr/bin/ar cr ../lib/libfltk_images.a ...
=== making fluid ===
Compiling CodeEditor.cxx...
Compiling Fl_Function_Type.cxx...
Compiling Fl_Group_Type.cxx...
Compiling Fl_Menu_Type.cxx...
Compiling Fl_Type.cxx...
Compiling Fl_Widget_Type.cxx...
Compiling Fl_Window_Type.cxx...
Compiling Fluid_Image.cxx...
Compiling about_panel.cxx...
Compiling align_widget.cxx...
Compiling alignment_panel.cxx...
Compiling code.cxx...
Compiling factory.cxx...
Compiling file.cxx...
Compiling fluid.cxx...
Compiling function_panel.cxx...
Compiling ide_maketools.cxx...
Compiling ide_support.cxx...
Compiling ide_visualc.cxx...
Compiling ide_xcode.cxx...
Compiling template_panel.cxx...
Compiling undo.cxx...
Compiling widget_panel.cxx...
Linking fluid...
=== making test ===
Compiling unittests.cxx...
Linking unittests...
Compiling adjuster.cxx...
Linking adjuster...
Compiling arc.cxx...
Linking arc...
Compiling ask.cxx...
Linking ask...
Compiling bitmap.cxx...
Linking bitmap...
Compiling blocks.cxx...
Linking blocks...
Compiling boxtype.cxx...
Linking boxtype...
Compiling browser.cxx...
Linking browser...
Compiling button.cxx...
Linking button...
Compiling buttons.cxx...
Linking buttons...
Compiling cairo_test.cxx...
Linking cairo_test...
Compiling checkers.cxx...
Linking checkers...
Compiling clock.cxx...
Linking clock...
Compiling colbrowser.cxx...
Linking colbrowser...
Compiling color_chooser.cxx...
Linking color_chooser...
Compiling cursor.cxx...
Linking cursor...
Compiling curve.cxx...
Linking curve...
Compiling demo.cxx...
Linking demo...
Compiling device.cxx...
Linking device...
Compiling doublebuffer.cxx...
Linking doublebuffer...
Compiling editor.cxx...
Linking editor...
Generating fast_slow.cxx and header from fast_slow.fl...
Compiling fast_slow.cxx...
Linking fast_slow...
Compiling file_chooser.cxx...
Linking file_chooser...
Compiling fonts.cxx...
Linking fonts...
Compiling forms.cxx...
Linking forms...
Compiling hello.cxx...
Linking hello...
Compiling help.cxx...
Linking help...
Compiling iconize.cxx...
Linking iconize...
Compiling image.cxx...
Linking image...
Generating inactive.cxx and header from inactive.fl...
Compiling inactive.cxx...
Linking inactive...
Compiling input.cxx...
Linking input...
Compiling input_choice.cxx...
Linking input_choice...
Generating keyboard_ui.cxx and header from keyboard_ui.fl...
Compiling keyboard_ui.cxx...
Compiling keyboard.cxx...
Linking keyboard...
Compiling label.cxx...
Linking label...
Compiling line_style.cxx...
Linking line_style...
Compiling list_visuals.cxx...
Linking list_visuals...
Generating mandelbrot_ui.cxx and header from mandelbrot_ui.fl...
Compiling mandelbrot_ui.cxx...
Compiling mandelbrot.cxx...
Linking mandelbrot...
Compiling menubar.cxx...
Linking menubar...
Compiling message.cxx...
Linking message...
Compiling minimum.cxx...
Linking minimum...
Compiling native-filechooser.cxx...
Linking native-filechooser...
Compiling navigation.cxx...
Linking navigation...
Compiling output.cxx...
Linking output...
Compiling overlay.cxx...
Linking overlay...
Compiling pack.cxx...
Linking pack...
Compiling pixmap.cxx...
Linking pixmap...
Compiling pixmap_browser.cxx...
Linking pixmap_browser...
Generating preferences.cxx and header from preferences.fl...
Compiling preferences.cxx...
Linking preferences...
Generating radio.cxx and header from radio.fl...
Compiling radio.cxx...
Linking radio...
Generating resize.cxx and header from resize.fl...
Compiling resize.cxx...
Linking resize...
Compiling resizebox.cxx...
Linking resizebox...
Compiling rotated_text.cxx...
Linking rotated_text...
Compiling scroll.cxx...
Linking scroll...
Compiling subwindow.cxx...
Linking subwindow...
Compiling sudoku.cxx...
Linking sudoku...
Compiling symbols.cxx...
Linking symbols...
Compiling table.cxx...
Linking table...
Generating tabs.cxx and header from tabs.fl...
Compiling tabs.cxx...
Linking tabs...
Compiling threads.cxx...
Linking threads...
Compiling tile.cxx...
Linking tile...
Compiling tiled_image.cxx...
Linking tiled_image...
Generating tree.cxx and header from tree.fl...
Compiling tree.cxx...
Linking tree...
Generating valuators.cxx and header from valuators.fl...
Compiling valuators.cxx...
Linking valuators...
Compiling utf8.cxx...
Linking utf8...
Compiling cube.cxx...
Linking cube...
Generating CubeViewUI.h and header from CubeViewUI.fl...
Compiling CubeMain.cxx...
Compiling CubeView.cxx...
Compiling CubeViewUI.cxx...
Linking CubeView...
Compiling fractals.cxx...
Compiling fracviewer.cxx...
Linking fractals...
Compiling fullscreen.cxx...
Linking fullscreen...
Compiling gl_overlay.cxx...
Linking gl_overlay...
Compiling glpuzzle.cxx...
Linking glpuzzle...
Compiling shape.cxx...
Linking shape...
=== making documentation ===
Formatting src/fltk.man...
Formatting src/fltk-config.man...
Formatting src/fluid.man...
Formatting src/blocks.man...
Formatting src/checkers.man...
Formatting src/sudoku.man...
Finally, when I try to install I get an error:
~/fltk-1.3.x-r7876/:$ make install
install: /usr/local/bin/fltk-config: Permission denied
make: *** [install] Error 71
What exactly does Permission denied mean in this case, and what can I do to fix
this error?
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev