You seem to be missing Xshm.h. It's probably in an X development package. I don't know how to find out the correct package to install in Ubuntu though. Could be xorg-devel or x11-devel.
On Tue, 17 Mar 2009, Alexandre Ficagna wrote:
Hi, I'm trying to build GraceCL under Ubuntu 8.04, but I'm getting trouble trying to do JUCE. Here's what I've got (I've already edited juce_Config.h turning xinerama, unicode and opengl off): ba...@bageh-laptop:/usr/local/lisp/juce/build/linux$ sudo make ==== Building JUCE ==== juce_Time.cpp juce_Logger.cpp juce_SystemStats.cpp make[1]: *** [../../bin/intermediate_linux/Debug/juce_SystemStats.o] Interromper make: *** [JUCE] Interromper ba...@bageh-laptop:/usr/local/lisp/juce/build/linux$ make CONFIG=Release ==== Building JUCE ==== juce_Time.cpp ../../src/juce_core/basics/juce_Time.cpp:525: erro fatal: opening dependency file ../../bin/intermediate_linux/Release/juce_Time.d: Permissão negada Compilação concluída. make[1]: ** [../../bin/intermediate_linux/Release/juce_Time.o] Erro 1 make: ** [JUCE] Erro 2 ba...@bageh-laptop:/usr/local/lisp/juce/build/linux$ sudo make CONFIG=Release ==== Building JUCE ==== juce_Time.cpp juce_Logger.cpp juce_SystemStats.cpp juce_FileLogger.cpp juce_RelativeTime.cpp juce_Random.cpp juce_MD5.cpp juce_BlowFish.cpp juce_Primes.cpp juce_RSAKey.cpp juce_MemoryBlock.cpp juce_PropertySet.cpp juce_BitArray.cpp juce_OutputStream.cpp juce_InputStream.cpp juce_NamedPipe.cpp juce_File.cpp juce_FileInputStream.cpp juce_FileOutputStream.cpp juce_FileSearchPath.cpp juce_DirectoryIterator.cpp juce_URL.cpp juce_Socket.cpp juce_MemoryInputStream.cpp juce_GZIPCompressorOutputStream.cpp juce_FileInputSource.cpp juce_MemoryOutputStream.cpp juce_SubregionStream.cpp juce_GZIPDecompressorInputStream.cpp juce_BufferedInputStream.cpp juce_Uuid.cpp juce_ZipFile.cpp juce_PerformanceCounter.cpp juce_XmlElement.cpp juce_String.cpp juce_LocalisedStrings.cpp juce_XmlDocument.cpp ../../src/juce_core/text/juce_XmlDocument.cpp: In member function ?int juce::XmlDocument::findNextTokenLength()?: ../../src/juce_core/text/juce_XmlDocument.cpp:193: aviso: comparison is always true due to limited range of data type ../../src/juce_core/text/juce_XmlDocument.cpp: In member function ?juce::XmlElement* juce::XmlDocument::readNextElement(bool)?: ../../src/juce_core/text/juce_XmlDocument.cpp:400: aviso: comparison is always true due to limited range of data type juce_StringPairArray.cpp juce_CharacterFunctions.cpp juce_StringArray.cpp juce_ReadWriteLock.cpp juce_TimeSliceThread.cpp juce_ThreadPool.cpp juce_InterProcessLock.cpp juce_Thread.cpp juce_ApplicationCommandManager.cpp juce_DeletedAtShutdown.cpp juce_ApplicationCommandInfo.cpp juce_ApplicationCommandTarget.cpp juce_PropertiesFile.cpp juce_ApplicationProperties.cpp juce_Application.cpp juce_AudioDataConverters.cpp juce_IIRFilter.cpp juce_AudioSampleBuffer.cpp juce_MidiFile.cpp juce_MidiKeyboardState.cpp juce_MidiBuffer.cpp juce_MidiMessage.cpp juce_MidiMessageCollector.cpp juce_MidiMessageSequence.cpp juce_GenericAudioProcessorEditor.cpp juce_AudioProcessorGraph.cpp juce_AudioProcessor.cpp juce_AudioProcessorPlayer.cpp juce_AudioProcessorEditor.cpp juce_AudioPluginFormat.cpp juce_PluginDescription.cpp juce_PluginDirectoryScanner.cpp juce_KnownPluginList.cpp juce_AudioPluginFormatManager.cpp juce_AudioPluginInstance.cpp juce_PluginListComponent.cpp juce_VSTPluginFormat.cpp juce_AudioUnitPluginFormat.cpp juce_FlacAudioFormat.cpp ../../src/juce_appframework/audio/audio_file_formats/flac/libFLAC/../alloc.h:79: aviso: ?void* FlacNamespace::safe_malloc_add_3op_(size_t, size_t, size_t)? defined but not used ../../src/juce_appframework/audio/audio_file_formats/flac/libFLAC/../alloc.h:90: aviso: ?void* FlacNamespace::safe_malloc_add_4op_(size_t, size_t, size_t, size_t)? defined but not used ../../src/juce_appframework/audio/audio_file_formats/flac/libFLAC/../alloc.h:126: aviso: ?void* FlacNamespace::safe_malloc_mul_3op_(size_t, size_t, size_t)? defined but not used ../../src/juce_appframework/audio/audio_file_formats/flac/libFLAC/../alloc.h:139: aviso: ?void* FlacNamespace::safe_malloc_mul2add_(size_t, size_t, size_t)? defined but not used ../../src/juce_appframework/audio/audio_file_formats/flac/libFLAC/../alloc.h:159: aviso: ?void* FlacNamespace::safe_realloc_add_2op_(void*, size_t, size_t)? defined but not used ../../src/juce_appframework/audio/audio_file_formats/flac/libFLAC/../alloc.h:167: aviso: ?void* FlacNamespace::safe_realloc_add_3op_(void*, size_t, size_t, size_t)? defined but not used ../../src/juce_appframework/audio/audio_file_formats/flac/libFLAC/../alloc.h:178: aviso: ?void* FlacNamespace::safe_realloc_add_4op_(void*, size_t, size_t, size_t, size_t)? defined but not used ../../src/juce_appframework/audio/audio_file_formats/flac/libFLAC/../alloc.h:202: aviso: ?void* FlacNamespace::safe_realloc_muladd2_(void*, size_t, size_t, size_t)? defined but not used juce_AudioThumbnail.cpp juce_AudioSubsectionReader.cpp juce_AudioFormat.cpp juce_AiffAudioFormat.cpp juce_AudioCDReader.cpp juce_OggVorbisAudioFormat.cpp In file included from ../../src/juce_appframework/audio/audio_file_formats/juce_OggVorbisAudioFormat.cpp:58: ../../src/juce_appframework/audio/audio_file_formats/oggvorbis/libvorbis-1.1.2/lib/info.c: In function ?int OggVorbisNamespace::_vorbis_pack_info(OggVorbisNamespace::oggpack_buffer*, OggVorbisNamespace::vorbis_info*)?: ../../src/juce_appframework/audio/audio_file_formats/oggvorbis/libvorbis-1.1.2/lib/info.c:393: aviso: deprecated conversion from string constant to ?char*? ../../src/juce_appframework/audio/audio_file_formats/oggvorbis/libvorbis-1.1.2/lib/info.c: In function ?int OggVorbisNamespace::_vorbis_pack_comment(OggVorbisNamespace::oggpack_buffer*, OggVorbisNamespace::vorbis_comment*)?: ../../src/juce_appframework/audio/audio_file_formats/oggvorbis/libvorbis-1.1.2/lib/info.c:417: aviso: deprecated conversion from string constant to ?char*? ../../src/juce_appframework/audio/audio_file_formats/oggvorbis/libvorbis-1.1.2/lib/info.c: In function ?int OggVorbisNamespace::_vorbis_pack_books(OggVorbisNamespace::oggpack_buffer*, OggVorbisNamespace::vorbis_info*)?: ../../src/juce_appframework/audio/audio_file_formats/oggvorbis/libvorbis-1.1.2/lib/info.c:448: aviso: deprecated conversion from string constant to ?char*? In file included from ../../src/juce_appframework/audio/audio_file_formats/juce_OggVorbisAudioFormat.cpp:70: ../../src/juce_appframework/audio/audio_file_formats/oggvorbis/libvorbis-1.1.2/lib/vorbisfile.c: In function ?int OggVorbisNamespace::ov_crosslap(OggVorbisNamespace::OggVorbis_File*, OggVorbisNamespace::OggVorbis_File*)?: ../../src/juce_appframework/audio/audio_file_formats/oggvorbis/libvorbis-1.1.2/lib/vorbisfile.c:1859: aviso: deprecated conversion from string constant to ?char*? ../../src/juce_appframework/audio/audio_file_formats/oggvorbis/libvorbis-1.1.2/lib/vorbisfile.c:1860: aviso: deprecated conversion from string constant to ?char*? ../../src/juce_appframework/audio/audio_file_formats/juce_OggVorbisAudioFormat.cpp: In constructor ?juce::OggWriter::OggWriter(juce::OutputStream*, double, int, int, int)?: ../../src/juce_appframework/audio/audio_file_formats/juce_OggVorbisAudioFormat.cpp:266: aviso: deprecated conversion from string constant to ?char*? ../../src/juce_appframework/audio/audio_file_formats/oggvorbis/libvorbis-1.1.2/lib/psy.c: In function ?void OggVorbisNamespace::bark_noise_hybridmp(int, const long int*, const float*, float*, float, int)?: ../../src/juce_appframework/audio/audio_file_formats/oggvorbis/libvorbis-1.1.2/lib/psy.c:559: aviso: ?D? may be used uninitialized in this function ../../src/juce_appframework/audio/audio_file_formats/oggvorbis/libvorbis-1.1.2/lib/psy.c:559: aviso: ?B? may be used uninitialized in this function ../../src/juce_appframework/audio/audio_file_formats/oggvorbis/libvorbis-1.1.2/lib/psy.c:559: aviso: ?A? may be used uninitialized in this function ../../src/juce_appframework/audio/audio_file_formats/oggvorbis/libvorbis-1.1.2/lib/vorbisfile.c: In function ?int OggVorbisNamespace::ov_raw_seek(OggVorbisNamespace::OggVorbis_File*, OggVorbisNamespace::ogg_int64_t)?: ../../src/juce_appframework/audio/audio_file_formats/oggvorbis/libvorbis-1.1.2/lib/vorbisfile.c:993: aviso: ?eosflag? may be used uninitialized in this function ../../src/juce_appframework/audio/audio_file_formats/oggvorbis/libvorbis-1.1.2/lib/mapping0.c: In function ?int OggVorbisNamespace::mapping0_forward(OggVorbisNamespace::vorbis_block*)?: ../../src/juce_appframework/audio/audio_file_formats/oggvorbis/libvorbis-1.1.2/lib/mapping0.c:593: aviso: ?mag_sort? may be used uninitialized in this function ../../src/juce_appframework/audio/audio_file_formats/oggvorbis/libvorbis-1.1.2/lib/mapping0.c:592: aviso: ?mag_memo? may be used uninitialized in this function juce_QuickTimeAudioFormat.cpp juce_AudioThumbnailCache.cpp juce_WavAudioFormat.cpp juce_AudioFormatManager.cpp juce_MixerAudioSource.cpp juce_BufferingAudioSource.cpp juce_IIRFilterAudioSource.cpp juce_AudioFormatReaderSource.cpp juce_ResamplingAudioSource.cpp juce_ToneGeneratorAudioSource.cpp juce_AudioSourcePlayer.cpp juce_AudioTransportSource.cpp juce_ChannelRemappingAudioSource.cpp juce_AudioIODevice.cpp juce_AudioDeviceManager.cpp juce_MidiOutput.cpp juce_AudioIODeviceType.cpp juce_Sampler.cpp juce_Synthesiser.cpp juce_UndoManager.cpp juce_FileBasedDocument.cpp juce_RecentlyOpenedFilesList.cpp juce_AsyncUpdater.cpp juce_MessageListener.cpp juce_ActionListenerList.cpp juce_Message.cpp juce_Timer.cpp juce_ActionBroadcaster.cpp juce_MultiTimer.cpp juce_MessageManager.cpp juce_ChangeBroadcaster.cpp juce_InterprocessConnection.cpp juce_InterprocessConnectionServer.cpp juce_ChangeListenerList.cpp juce_GradientBrush.cpp juce_ImageBrush.cpp juce_SolidColourBrush.cpp juce_Brush.cpp juce_Colour.cpp juce_Colours.cpp juce_ColourGradient.cpp juce_RectanglePlacement.cpp juce_LowLevelGraphicsSoftwareRenderer.cpp ../../src/juce_appframework/gui/graphics/contexts/juce_LowLevelGraphicsSoftwareRenderer.cpp: In member function ?void juce::LowLevelGraphicsSoftwareRenderer::clippedFillPathWithGradient(int, int, int, int, const juce::Path&, const juce::AffineTransform&, const juce::ColourGradient&, juce::EdgeTable::OversamplingLevel)?: ../../src/juce_appframework/gui/graphics/contexts/juce_LowLevelGraphicsSoftwareRenderer.cpp:1310: aviso: ?renderer.juce::GradientEdgeTableRenderer<juce::PixelRGB, juce::LinearGradientPixelGenerator>::<anonymous>.juce::LinearGradientPixelGenerator::start? may be used uninitialized in this function ../../src/juce_appframework/gui/graphics/contexts/juce_LowLevelGraphicsSoftwareRenderer.cpp:1310: aviso: ?renderer.juce::GradientEdgeTableRenderer<juce::PixelRGB, juce::LinearGradientPixelGenerator>::<anonymous>.juce::LinearGradientPixelGenerator::grad? may be used uninitialized in this function ../../src/juce_appframework/gui/graphics/contexts/juce_LowLevelGraphicsSoftwareRenderer.cpp:1310: aviso: ?renderer.juce::GradientEdgeTableRenderer<juce::PixelRGB, juce::LinearGradientPixelGenerator>::<anonymous>.juce::LinearGradientPixelGenerator::yTerm? may be used uninitialized in this function ../../src/juce_appframework/gui/graphics/contexts/juce_LowLevelGraphicsSoftwareRenderer.cpp:1333: aviso: ?renderer.juce::GradientEdgeTableRenderer<juce::PixelARGB, juce::LinearGradientPixelGenerator>::<anonymous>.juce::LinearGradientPixelGenerator::start? may be used uninitialized in this function ../../src/juce_appframework/gui/graphics/contexts/juce_LowLevelGraphicsSoftwareRenderer.cpp:1333: aviso: ?renderer.juce::GradientEdgeTableRenderer<juce::PixelARGB, juce::LinearGradientPixelGenerator>::<anonymous>.juce::LinearGradientPixelGenerator::grad? may be used uninitialized in this function ../../src/juce_appframework/gui/graphics/contexts/juce_LowLevelGraphicsSoftwareRenderer.cpp:1333: aviso: ?renderer.juce::GradientEdgeTableRenderer<juce::PixelARGB, juce::LinearGradientPixelGenerator>::<anonymous>.juce::LinearGradientPixelGenerator::yTerm? may be used uninitialized in this function juce_LowLevelGraphicsPostScriptRenderer.cpp juce_Justification.cpp juce_Graphics.cpp juce_EdgeTable.cpp juce_SVGParser.cpp juce_Drawable.cpp juce_DrawableText.cpp juce_DrawablePath.cpp juce_DrawableComposite.cpp juce_DrawableImage.cpp juce_DropShadowEffect.cpp juce_GlowEffect.cpp juce_ReduceOpacityEffect.cpp juce_GlyphArrangement.cpp juce_TextLayout.cpp juce_Font.cpp juce_Typeface.cpp juce_Rectangle.cpp juce_Point.cpp juce_RectangleList.cpp juce_BorderSize.cpp juce_AffineTransform.cpp juce_Path.cpp juce_PathIterator.cpp juce_PositionedRectangle.cpp juce_Line.cpp juce_PathStrokeType.cpp juce_Image.cpp juce_ImageConvolutionKernel.cpp juce_ImageFileFormat.cpp juce_ImageCache.cpp juce_GIFLoader.cpp juce_PNGLoader.cpp juce_JPEGLoader.cpp juce_Component.cpp juce_Desktop.cpp juce_ComponentListener.cpp juce_ImageButton.cpp juce_ArrowButton.cpp juce_Button.cpp juce_HyperlinkButton.cpp juce_ShapeButton.cpp juce_DrawableButton.cpp juce_ToggleButton.cpp juce_ToolbarButton.cpp juce_TextButton.cpp juce_ProgressBar.cpp juce_TableHeaderComponent.cpp juce_ListBox.cpp juce_Toolbar.cpp juce_ToolbarItemPalette.cpp juce_Slider.cpp juce_ToolbarItemComponent.cpp juce_TreeView.cpp juce_TableListBox.cpp juce_TextEditor.cpp juce_Label.cpp juce_ComboBox.cpp juce_FileChooserDialogBox.cpp juce_FileSearchPathListComponent.cpp juce_FileBrowserComponent.cpp juce_FilenameComponent.cpp juce_WildcardFileFilter.cpp juce_FileTreeComponent.cpp juce_DirectoryContentsList.cpp juce_ImagePreviewComponent.cpp juce_DirectoryContentsDisplayComponent.cpp juce_FileChooser.cpp juce_FileListComponent.cpp juce_FileFilter.cpp juce_KeyMappingEditorComponent.cpp juce_KeyPressMappingSet.cpp juce_KeyboardFocusTraverser.cpp juce_KeyPress.cpp juce_ModifierKeys.cpp juce_KeyListener.cpp juce_ResizableCornerComponent.cpp juce_GroupComponent.cpp juce_ComponentMovementWatcher.cpp juce_ResizableBorderComponent.cpp juce_MultiDocumentPanel.cpp juce_TabbedComponent.cpp juce_ScrollBar.cpp juce_ComponentAnimator.cpp juce_TabbedButtonBar.cpp juce_ComponentBoundsConstrainer.cpp juce_StretchableLayoutResizerBar.cpp juce_StretchableLayoutManager.cpp juce_StretchableObjectResizer.cpp juce_Viewport.cpp juce_OldSchoolLookAndFeel.cpp juce_LookAndFeel.cpp juce_PopupMenu.cpp juce_MenuBarComponent.cpp juce_MenuBarModel.cpp juce_ComponentDragger.cpp juce_MouseHoverDetector.cpp juce_MouseEvent.cpp juce_MouseListener.cpp juce_DragAndDropContainer.cpp juce_MouseCursor.cpp juce_ButtonPropertyComponent.cpp juce_TextPropertyComponent.cpp juce_ChoicePropertyComponent.cpp juce_SliderPropertyComponent.cpp juce_PropertyPanel.cpp juce_PropertyComponent.cpp juce_BooleanPropertyComponent.cpp juce_PreferencesPanel.cpp juce_AudioDeviceSelectorComponent.cpp juce_QuickTimeMovieComponent.cpp juce_BubbleComponent.cpp juce_OpenGLComponent.cpp juce_MidiKeyboardComponent.cpp juce_ColourSelector.cpp juce_DropShadower.cpp juce_MagnifierComponent.cpp juce_BubbleMessageComponent.cpp juce_SystemTrayIconComponent.cpp juce_AlertWindow.cpp juce_TooltipWindow.cpp juce_ComponentPeer.cpp juce_DocumentWindow.cpp juce_ThreadWithProgressWindow.cpp juce_ResizableWindow.cpp juce_DialogWindow.cpp juce_SplashScreen.cpp juce_TopLevelWindow.cpp juce_linux_AudioCDReader.cpp juce_linux_Windowing.cpp platform_specific_code/juce_linux_Windowing.cpp:52:34: aviso: X11/extensions/XShm.h: Arquivo ou diretório inexistente platform_specific_code/juce_linux_Windowing.cpp: In function ?bool juce::isShmAvailable()?: platform_specific_code/juce_linux_Windowing.cpp:409: erro: ?XShmQueryVersion? was not declared in this scope platform_specific_code/juce_linux_Windowing.cpp:413: erro: ?XShmSegmentInfo? was not declared in this scope platform_specific_code/juce_linux_Windowing.cpp:413: erro: expected `;' before ?segmentInfo? platform_specific_code/juce_linux_Windowing.cpp:414: erro: ?segmentInfo? was not declared in this scope platform_specific_code/juce_linux_Windowing.cpp:416: erro: ?XShmCreateImage? was not declared in this scope platform_specific_code/juce_linux_Windowing.cpp:430: erro: ?XShmAttach? was not declared in this scope platform_specific_code/juce_linux_Windowing.cpp:433: erro: ?XShmDetach? was not declared in this scope platform_specific_code/juce_linux_Windowing.cpp: At global scope: platform_specific_code/juce_linux_Windowing.cpp:649: erro: ?XShmSegmentInfo? does not name a type platform_specific_code/juce_linux_Windowing.cpp: In constructor ?juce::XBitmapImage::XBitmapImage(juce::Image::PixelFormat, int, int, bool, bool)?: platform_specific_code/juce_linux_Windowing.cpp:477: erro: ?segmentInfo? was not declared in this scope platform_specific_code/juce_linux_Windowing.cpp:479: erro: ?XShmCreateImage? was not declared in this scope platform_specific_code/juce_linux_Windowing.cpp:498: erro: ?XShmAttach? was not declared in this scope platform_specific_code/juce_linux_Windowing.cpp: In destructor ?virtual juce::XBitmapImage::~XBitmapImage()?: platform_specific_code/juce_linux_Windowing.cpp:569: erro: ?segmentInfo? was not declared in this scope platform_specific_code/juce_linux_Windowing.cpp:569: erro: ?XShmDetach? was not declared in this scope platform_specific_code/juce_linux_Windowing.cpp: In member function ?void juce::XBitmapImage::blitToWindow(Window, int, int, int, int, int, int)?: platform_specific_code/juce_linux_Windowing.cpp:635: erro: ?XShmPutImage? was not declared in this scope platform_specific_code/juce_linux_Windowing.cpp: In constructor ?juce::LinuxComponentPeer::LinuxRepaintManager::LinuxRepaintManager(juce::LinuxComponentPeer*)?: platform_specific_code/juce_linux_Windowing.cpp:1688: erro: ?XShmSegmentInfo? was not declared in this scope platform_specific_code/juce_linux_Windowing.cpp:1688: erro: expected `;' before ?segmentinfo? platform_specific_code/juce_linux_Windowing.cpp:1692: erro: ?segmentinfo? was not declared in this scope platform_specific_code/juce_linux_Windowing.cpp:1692: erro: ?XShmCreateImage? was not declared in this scope make[1]: ** [../../bin/intermediate_linux/Release/juce_linux_Windowing.o] Erro 1 make: ** [JUCE] Erro 2 Thanks, Alexandre Ficagna
_______________________________________________ Cmdist mailing list [email protected] http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist
