Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Oct 2008 14:00:12 +0000
From:      pwn <pwnedomina@gmail.com>
To:        Naram Qashat <cyberbotx@cyberbotx.com>
Cc:        freebsd-ports-bugs@freebsd.org
Subject:   Re: scite port
Message-ID:  <49086C6C.2070605@gmail.com>
In-Reply-To: <49068E94.2050500@cyberbotx.com>
References:  <bf32b2c90810270328j7ce7c662l9527e240534f5069@mail.gmail.com> <4905AF39.9060408@cyberbotx.com> <4906461F.2030803@gmail.com> <49064EE2.8090608@cyberbotx.com> <490651D6.7050605@gmail.com> <49065EB0.3080703@cyberbotx.com> <49066745.9010102@gmail.com> <49068750.5040702@cyberbotx.com> <490689A3.80301@gmail.com> <49068E94.2050500@cyberbotx.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Naram Qashat escreveu:
> pwn wrote:
>> Naram Qashat escreveu:
>>> pwn wrote:
>>>> Naram Qashat escreveu:
>>>>> 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@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* , here you have the link with the output of 
>>>> scintilla http://pastebin.com/m5d2a5524 and thank you for try to 
>>>> help, i just ask if there is any workaround since im unable to 
>>>> install scite via pkg_add
>>>>
>>>
>>> Very strange, your system doesn't seem to be linking 
>>> libscintilla.so.1 at all. However, I do notice a different between 
>>> our systems.  Do you have AR defined anywhere?  On line 127 of your 
>>> output, it shows it use "ar rc" to create a scintilla.a instead of 
>>> creating libscintilla.so.1 and libscintilla_lexers.so.1.  I'm a 
>>> little puzzled by that.  If you could, from 
>>> /usr/ports/x11-toolkits/scintilla, do "make patch" and then pastebin 
>>> the contents of work/scintilla/gtk/makefile for me.  I want to see 
>>> if our files differ in any way as well.  I'd like to narrow down 
>>> what the issue is.
>>>
>>> Thanks,
>>> Naram Qashat
>>
>> here you have the contents of 
>> /usr/ports/x11-toolkits/scintilla/work/scintilla/gtk/makefile
>> http://pastebin.com/m6db7bc18
>>
>
> Your system isn't patching the makefile at all.  Looking at the first 
> pastebin again, I notice it seems like it's ignoring the patch-aa file 
> in the files folder of /usr/ports/x11-toolkits/scintilla.  And I can't 
> see anything that would cause that to happen.  You aren't missing the 
> files directory in /usr/ports/x11-toolkits/scintilla, are you?  If 
> that is missing, you may need to re-cvsup to regenerate that folder.  
> If it's there, then I'm stumped, because the patch-aa file needs to be 
> applied for the port to install correctly.
>
> Thanks,
> Naram Qashat

Naram Qashat, after i re-cvsup it solved the problem, this problem is 
now solved.
thank you for your help.
>
>>>
>>>>>>>
>>>>>>>>>
>>>>>>>>>> ===> 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@freebsd.org mailing list
>>>>>>>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
>>>>>>>>>> To unsubscribe, send any mail to 
>>>>>>>>>> "freebsd-ports-bugs-unsubscribe@freebsd.org"
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>>
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49086C6C.2070605>