I ran into that problem ... looks like you figured out the solution (!)

Krishnan

On Fri, Jan 8, 2010 at 3:34 PM, <[email protected]> wrote:

> Thanks, that worked.
>
> I ran into another problem after compiling from svn sources on ubuntu
> 9.10 Desktop. After successful compilation, I ran
>
> $ ascend
> Traceback (most recent call last):
>  File "/home/hans/bin/ascend", line 104, in <module>
>    LDPATH = [INSTALL_LIB] + GTKLIBPATH + LDPATH
> TypeError: can only concatenate list (not "NoneType") to list
>
> Debugging yielded that GTKLIBPATH was initiated to None and never changed.
> I got it to work by replacing line 104 in bin/ascend:
> LDPATH = [INSTALL_LIB] + GTKLIBPATH + LDPATH
>
> with
> if GTKLIBPATH:
>               LDPATH = [INSTALL_LIB] + GTKLIBPATH + LDPATH
> else:
>              LDPATH = [INSTALL_LIB] + LDPATH
>
> am I the only one having this problem?
>
> Hans
>
>
> On Fri, Jan 8, 2010 at 11:23 AM, John Pye <[email protected]> wrote:
> > Hi Hans
> >
> > I think that the solution to this problem is to set the INSTALL_PYTHON
> > variable also from the scons command-line. Please let me know if that
> > doesn't work.
> >
> > Cheers
> > JP
> >
> > [email protected] wrote:
> >>
> >> Hi,
> >>
> >> I am new to ASCEND, trying to compile for the first time. I am using
> >> the trunk via svn.
> >>
> >> I am trying to compile using
> >>
> >> scons install INSTALL_PREFIX=/home/hans
> >>
> >> but I get the error
> >>
> >> ...
> >> Install file: "tcltk/tk/typetree.tcl" as
> >> "/home/hans/share/ascend/tcltk/typetree.tcl"
> >> Chmod("/home/hans/share/ascend/tcltk/typetree.tcl", 0644)
> >> Install file: "tcltk/tk/units.tcl" as
> >> "/home/hans/share/ascend/tcltk/units.tcl"
> >> Chmod("/home/hans/share/ascend/tcltk/units.tcl", 0644)
> >> Install file: "tcltk/tk/util.tcl" as
> >> "/home/hans/share/ascend/tcltk/util.tcl"
> >> Chmod("/home/hans/share/ascend/tcltk/util.tcl", 0644)
> >> Install file: "tcltk/interface/libascendtcl.so" as
> >> "/home/hans/lib/libascendtcl.so"
> >> Chmod("/home/hans/lib/libascendtcl.so", 0644)
> >> scons: *** [/usr/lib/python2.6/dist-packages/ascend]
> >> /usr/lib/python2.6/dist-packages/ascend: Permission denied
> >> scons: building terminated because of errors.
> >>
> >> Can anyone help me fix this?
> >>
> >> Thanks!
> >>
> >> Hans
> >>
> >>
> >>
> ------------------------------------------------------------------------------
> >> This SF.Net email is sponsored by the Verizon Developer Community
> >> Take advantage of Verizon's best-in-class app development support
> >> A streamlined, 14 day to market process makes app distribution fast and
> >> easy
> >> Join now and get one step closer to millions of Verizon customers
> >> http://p.sf.net/sfu/verizon-dev2dev
> >> _______________________________________________
> >> Ascend-sim-users mailing list
> >> [email protected]
> >> https://lists.sourceforge.net/lists/listinfo/ascend-sim-users
> >>
> >
> >
>
>
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and
> easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________
> Ascend-sim-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ascend-sim-users
>
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Ascend-sim-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ascend-sim-users

Reply via email to