[Slackbuilds-users] how can i define data_dir in makefile?

Fernando Lopez fernando.lopezjr at gmail.com
Tue Aug 21 18:36:42 UTC 2018


yes i am creating it on the package itself...

On Tue, Aug 21, 2018 at 12:36 PM David Woodfall <dave at dawoodfall.net> wrote:

> On Tuesday 21 August 2018 12:18,
> Fernando Lopez <fernando.lopezjr at gmail.com> put forth the proposition:
> > help
> >
> > https://www.dropbox.com/s/lxx4qg3fb1vnsz1/ICSim.tar.bz2?dl=0
>
> Did you actually create the directory? It looks like you need to do
> that as well as set the variable.
>
> -Dave
>
> > On Tue, Aug 21, 2018 at 11:44 AM David Woodfall <dave at dawoodfall.net>
> wrote:
> >
> > > On Tuesday 21 August 2018 18:37,
> > > Dave Woodfall <dave at dawoodfall.net> put forth the proposition:
> > > > On Tuesday 21 August 2018 11:33,
> > > > Fernando Lopez <fernando.lopezjr at gmail.com> put forth the
> proposition:
> > > > > didnt work. =\
> > > >
> > > > You could try:
> > > >
> > > > export DATA_DIR=bla
> > > >
> > > > But it does say to put it in the make file, so maybe you'll have to
> > > > sed it in or make a patch.
> > >
> > > By the way, CFLAGS="$SLKCFLAGS" \ ought to be before the make command
> > > anyway.
> > >
> > > -Dave
> > >
> > > > -Dave
> > > >
> > > > Well it does say to put it in the makefile
> > > > > On Tue, Aug 21, 2018 at 11:31 AM David Woodfall <
> dave at dawoodfall.net>
> > > wrote:
> > > > >
> > > > > > On Tuesday 21 August 2018 11:29,
> > > > > > Fernando Lopez <fernando.lopezjr at gmail.com> put forth the
> > > proposition:
> > > > > > > this is the error i get when i run my program...
> > > > > > > *"ERROR: DATA_DIR not found.  Define in make file or run in src
> > > dir"*
> > > > > > >
> > > > > > > this is how i am doing it:
> > > > > > >
> > > > > > > make \
> > > > > > >   CFLAGS="$SLKCFLAGS" \
> > > > > > >   DATA_DIR=$PKG/usr/share/icsim
> > > > > >
> > > > > > Try putting in front of make or exporting it:
> > > > > >
> > > > > > DATA_DIR=bla \
> > > > > > CFLAGS="$SLKCFLAGS" \
> > > > > > make
>
> --
>
> Once upon a time there was a DOS user who saw Unix, and saw that it was
> good.  After typing cp on his DOS machine at home, he downloaded GNU's
> unix tools ported to DOS and installed them.  He rm'd, cp'd, and mv'd
> happily for many days, and upon finding elvis, he vi'd and was happy.
> After
> a long day at work (on a Unix box) he came home, started editing a file,
> and couldn't figure out why he couldn't suspend vi (w/ ctrl-z) to do
> a compile.
>   -- Erik Troan, ewt at tipper.oit.unc.edu
>
>                                                             .--.  oo
>                                                            (____)//
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~'
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - https://slackbuilds.org/faq/
>
>

-- 

------------
Regards,
    Fernando Lopez Jr.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20180821/23dd7772/attachment.html>


More information about the SlackBuilds-users mailing list