scite port

Naram Qashat cyberbotx at cyberbotx.com
Tue Oct 28 00:37:11 UTC 2008


pwn wrote:
> Naram Qashat escreveu:
>> pwn wrote:
>>> Naram Qashat escreveu:
>>>> pwn wrote:
>>>>> im unable to install scite due to a problem with scintilla
>>>>>
>>>>> this is the output of a build of scite
>>>>>
>>>>> ===> Installing for scintilla-1.77
>>>>
>>>> From the looks of it, it's trying to install scintilla built with 
>>>> GTK1 instead of GTK2.  For an easy fix, manually install scintilla 
>>>> first with the WITH_GTK2 knob set to yes.  As an aside, if anyone 
>>>> could tell me if there is a way to specify in scite's Makefile that 
>>>> it's depend on scintilla needs to be built with having WITH_GTK2 
>>>> set, I'd appreciate it.  Right now it only checks if an existing 
>>>> install of scintilla was built as GTK2.
>>>>
>>>> Thanks,
>>>> Naram Qashat
>>> this is the output of scintilla when build with GTK2
>>> # make install -DWITH_GTK2
>>> ===>  Installing for scintilla-gtk2-1.77
>>> ===>   scintilla-gtk2-1.77 depends on executable: pkg-config - found
>>> ===>   scintilla-gtk2-1.77 depends on file: 
>>> /usr/local/lib/gio/modules/libgiofam.so - found
>>> ===>   scintilla-gtk2-1.77 depends on shared library: iconv.3 - found
>>> ===>   scintilla-gtk2-1.77 depends on shared library: atk-1.0.0 - found
>>> ===>   scintilla-gtk2-1.77 depends on shared library: glib-2.0.0 - found
>>> ===>   scintilla-gtk2-1.77 depends on shared library: gtk-x11-2.0.0 - 
>>> found
>>> ===>   scintilla-gtk2-1.77 depends on shared library: pango-1.0.0 - 
>>> found
>>> ===>   Generating temporary packing list
>>> ===>  Checking if x11-toolkits/scintilla already installed
>>> /bin/mkdir -p /usr/local/include/scintilla
>>> install  -o root -g wheel -m 444 
>>> /usr/ports/x11-toolkits/scintilla/work/scintilla/gtk/../include/*.h 
>>> /usr/local/include/scintilla
>>> install  -s -o root -g wheel -m 555 
>>> /usr/ports/x11-toolkits/scintilla/work/scintilla/gtk/../bin/libscintilla.so.1 
>>> /usr/local/lib
>>> install: 
>>> /usr/ports/x11-toolkits/scintilla/work/scintilla/gtk/../bin/libscintilla.so.1: 
>>> No such file or directory
>>> *** Error code 71
>>>
>>> Stop in /usr/ports/x11-toolkits/scintilla.
>>
>> If you had built it with GTK1 before, you'll need to rebuild it, just 
>> telling it to install using WITH_GTK2=yes when it wasn't built with 
>> that won't work.  But let me know if it still complains about the 
>> missing libscintilla.so.1 even if you do that.  I'm a bit surprised 
>> you are getting this since I build scintilla both with and without the 
>> WITH_GTK2 knob enabled and I don't get this issue. Maybe you should 
>> also give me your uname -a output just in case.
>>
>> Thanks,
>> Naram Qashat
> 
> i already try to build using WITH_GTK2 knob enabled, and i get the same 
> error complaining libscintilla.so.1, this is the output of uname -a
> FreeBSD fbsd.home 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #5: Sun Oct 26 
> 04:26:09 WET 2008     pwn at fbsd.home:/usr/obj/usr/src/sys/FKERN  i386
> also, dont know if its relevant but after a build try he generate a 
> folder with name work which contains sever other files/folders
> # ls work/
> .PLIST.mktmp                          
> .extract_done.scintilla._usr_local    scite/
> .build_done.scintilla._usr_local      .patch_done.scintilla._usr_local
> .configure_done.scintilla._usr_local  scintilla/
> inside scintilla and scite folders there are files which contain 
> instructions for compile
> 
> 

Can you look through the build and see if this line ever came up (or something 
really close to it) and if there was anything unusual after it?

c++ -shared -D_THREAD_SAFE -D_REENTRANT -I/usr/local/include/gtk-2.0 
-I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 
-I/usr/local/include/cairo -I/usr/local/include/pango-1.0 -I/usr/local/include 
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include 
-I/usr/local/include/freetype2 -I/usr/local/include/pixman-1 -o 
../bin/libscintilla.so.1 DocumentAccessor.o WindowAccessor.o KeyWords.o 
StyleContext.o CharClassify.o Decoration.o Document.o CallTip.o ScintillaBase.o 
ContractionState.o Editor.o ExternalLexer.o PropSet.o PlatGTK.o KeyMap.o 
LineMarker.o PositionCache.o ScintillaGTK.o CellBuffer.o ViewStyle.o RESearch.o 
RunStyles.o Style.o Indicator.o AutoComplete.o UniConversion.o XPM.o 
scintilla-marshal.o

That's the link for libscintilla.so.1, so if that's not there or if there was 
some error or something after that, it wouldn't have built it.  I can't see 
anything else odd, we're using the same version of FreeBSD (Although I'm using 
7.0, but both of us are using i386).  I just built it here and got 
libscintilla.so.1 in work/scintilla/gtk/../bin like it should be.

Thanks,
Naram Qashat

>>
>>>>
>>>>> ===> scintilla-1.77 depends on executable: pkg-config - found
>>>>> ===> Generating temporary packing list
>>>>> ===> Checking if x11-toolkits/scintilla already installed
>>>>> /bin/mkdir -p /usr/local/include/scintilla
>>>>> install -o root -g wheel -m 444
>>>>> /usr/ports/x11-toolkits/scintilla/work/scintilla/gtk/../include/*.h
>>>>> /usr/local/include/scintilla
>>>>> install -s -o root -g wheel -m 555
>>>>> /usr/ports/x11-toolkits/scintilla/work/scintilla/gtk/../bin/libscintilla.so.1 
>>>>>
>>>>> /usr/local/lib
>>>>> install:
>>>>> /usr/ports/x11-toolkits/scintilla/work/scintilla/gtk/../bin/libscintilla.so.1: 
>>>>>
>>>>> No such file or directory
>>>>> *** Error code 71
>>>>>
>>>>> Stop in /usr/ports/x11-toolkits/scintilla.
>>>>> *** Error code 1
>>>>>
>>>>> Stop in /usr/ports/editors/scite.
>>>>>
>>>>> what should i do to correct this, im using FreeBSD 7.1-PRERELEASE 
>>>>> and all
>>>>> ports where updated via csup, this is the distinfo
>>>>>
>>>>> MD5 (scite177.tgz) = ba016919190c12cfb712e1f004df4187
>>>>> SHA256 (scite177.tgz) =
>>>>> 51b14c1fdff1b88f9361faef5030bc8df24cdc4b23d2d9181303a7708f2eb2af
>>>>> SIZE (scite177.tgz) = 1520037
>>>>>
>>>>> thanks in advance.
>>>>> _______________________________________________
>>>>> freebsd-ports-bugs at freebsd.org mailing list
>>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
>>>>> To unsubscribe, send any mail to 
>>>>> "freebsd-ports-bugs-unsubscribe at freebsd.org"
>>>>>
>>>>
>>>
>>>
>>
> 
> 



More information about the freebsd-ports-bugs mailing list