Sponsored Content
Full Discussion: C compiling
Top Forums Programming C compiling Post 4041 by cantcatchme on Tuesday 17th of July 2001 01:55:46 PM
Old 07-17-2001
C compiling

I recently loaded SuSE on my intel comp.
I am presently taking a walk down memory lane from my days at UofT.
I was fiddling round with cc and the gcc compilers.
I wrote a basic basic basic program .
I tried to compile it as I remember doing in Uni. The problem is that it can't find the header file that I included in the program (studio.h). The compiler spits out the error message "studio.h: No such file or directory.

Where is this file located or do I have to load it from elsewhere?

Thanks.

PS:I did a search for studio.h and found no references.


Smilie
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

compiling

would anyone know of a good online tutorial on compiling and installing tarballs? i'm looking for one that assumes that you know very little to nothing about unix. (3 Replies)
Discussion started by: nydel
3 Replies

2. UNIX for Dummies Questions & Answers

compiling qt

i am trying to compile and install free qt for x11 2.2.4 in order to use kde 2.1. i'm using freebsd 4.3 i currently have XFree86 installed and working. i followed these instructions: ftp://ftp.trolltech.com/qt/source/INSTALL i get through the unpacking fine and i set my .profile. --... (2 Replies)
Discussion started by: nydel
2 Replies

3. Programming

compiling

I am new to unix so please forgive ignorance. I am running openbsd-2.9 and need some help. All the software I run was added via the package system openbsd has. There have been times when I need an app. But it was not in the openbsd ports and or packages system. I usually just wait for it to show up... (1 Reply)
Discussion started by: Blunt_Killer
1 Replies

4. AIX

compiling with aix 5.1

Hello, i will compile php and apache on an aix 5.1. Configure works fine. When i start the make the following error appears: /usr/include/sys/context.h:155: parse error before "sigset64_t" /usr/include/sys/context.h:158: parse error before '}' token make: 1254-004 The error code from the... (1 Reply)
Discussion started by: n-may
1 Replies

5. HP-UX

compiling the RRDtool

I tried to compile the RRDtool on HP-UX (IA56). I have gcc-3.4.3 and perl 5.8.0 I got this: Writing Makefile for RRDs cd perl-shared && make /opt/perl/bin/perl /opt/perl/lib/5.8.0/ExtUtils/xsubpp -typemap /opt/perl/lib/5.8.0/ExtUtils/typemap RRDs.xs > RRDs.xsc && mv... (2 Replies)
Discussion started by: Kalin
2 Replies

6. UNIX for Advanced & Expert Users

re-compiling

I have a problem. How can I be sure that the binary currently in production is the binary originally produced by the compiler? I ask because recompiling the sources (ALL sources + stripping away the metadata: strip ...) does not give the same result. I am pretty sure that I wasn't hacked! ... (5 Replies)
Discussion started by: aViking
5 Replies

7. Solaris

Compiling programs

Hi guys i have posted a thread months ago and a guy called dukenuke or smething like that told me that i have to install Sun Studio if i want to be able to compile programs. I have installed Sun Studio 12 and put it in my PATH but no success compiling anything. when i download some source (tar.gz)... (2 Replies)
Discussion started by: saveka
2 Replies

8. Programming

Compiling with Dll in HP Ux

Hi all, I had trouble compiling my application with a custom dll, the error appear to be some undefined reference to the functions i had created in my dll. Is there a need to update any environmental variable such as LD_LIBRARY_PATH as in linux system. Please advise. One more thing is do... (2 Replies)
Discussion started by: dwgi32
2 Replies

9. HP-UX

Problem in HP-UX compiling

Hi When im trying to do make --version and make --help in HP-UX it throws error Make: Unknown flag argument -. Stop. a soft link is present in this directory /usr/bin/make and hard link is in /usr/ccs/bin/make what could be the reason can any1 ..please tell me how to solve this... (1 Reply)
Discussion started by: vasanthan
1 Replies

10. Linux

kernel compiling

Hello, I have several questions to get awnsered about the newer linux kernels (2.6.25) and above. 1st question: Ive read that the newer kernels you can compile the marvell sd8686 driver from the source. can anyone confrim this? only binaries i see for that driver are for 2.6.24 and im already... (0 Replies)
Discussion started by: old noob
0 Replies
DBIx::DBStag::SQLTemplate(3pm)				User Contributed Perl Documentation			    DBIx::DBStag::SQLTemplate(3pm)

NAME
DBIx::DBStag::SQLTemplate - A Template for an SQL query SYNOPSIS
# find template by name $template = $dbh->find_template("mydb-personq"); # execute this template, filling in the 'name' attribute $xml = $dbh->selectall_xml(-template=>$template, -bind=>{name => "fred"}); DESCRIPTION
A template represents a canned query that can be parameterized. Templates are collected in directories (in future it will be possible to store them in files or in the db itself). To tell DBStag where your templates are, you should set: setenv DBSTAG_TEMPLATE_DIRS "$HOME/mytemplates:/data/bioconf/templates" Your templates should end with the suffix .stg, otherwise they will not be picked up You can name templates any way you like, but the standard way is to use 2 or 3 fields SCHEMA-OBJECT or SCHEMA-OBJECT-QUALIFIERS (with underscores used within fields) A template file should contain at minimum some SQL; for example: Example template 1 SELECT studio.*, movie.*, star.* FROM studio NATURAL JOIN movie NATURAL JOIN movie_to_star NATURAL JOIN star WHERE [movie.genre = &genre&] [star.lastname = &lastname&] USE NESTING (set(studio(movie(star)))) Thats all! However, there are ways to make your template more useful Example template 2 :SELECT studio.*, movie.*, star.* :FROM studio NATURAL JOIN movie NATURAL JOIN movie_to_star NATURAL JOIN star :WHERE [movie.genre = &genre&] [star.lastname = &lastname&] :USE NESTING (set(studio(movie(star)))) // schema: movie desc: query for fetching movies By including : at the beginning it makes it easier for parsers to assemble SQL (this is not necessary for DBStag however) After the // you can add tag: value data. You should set schema: if you want the template to be available to users of a db that conforms to that schema GETTING A TEMPLATE The DBIx::DBStag object gives various methods for fetching templates by name, by database or by schema VARIABLES WHERE clause variables in the template look like this &foo& variables are bound at query time my $set = $dbh->selectall_stag(-template=>$t, -bind=>["bar"]); or my $set = $dbh->selectall_stag(-template=>$t, -bind=>{foo=>"bar"}); If the former is chosen, variables are bound from the bind list as they are found OPTIONAL BLOCKS WHERE [ foo = &foo& ] If foo is not bound then the part between the square brackets is left out Multiple option blocks are ANDed together An option block need not contain a variable - if it contains no &variable& name it is automatically ANDed BINDING OPERATORS The operator can be bound at query time too WHERE [ foo => &foo& ] Will become either WHERE foo = ? or WHERE foo LIKE ? or WHERE foo IN (f0, f1, ..., fn) Depending on whether foo contains the % character, or if foo is bound to an ARRAY METHODS
name Usage - $name = $template->name Returns - str Args - every template has a name that (should) uniquely identify it desc Usage - $desc = $template->desc Returns - str Args - templates have optional descriptions get_varnames Usage - $varnames = $template->get_varnames Returns - listref of strs Args - Returns the names of all variable used in this template WEBSITE
<http://stag.sourceforge.net> AUTHOR
Chris Mungall <cjm@fruitfly.org> COPYRIGHT
Copyright (c) 2003 Chris Mungall This module is free software. You may distribute this module under the same terms as perl itself perl v5.12.4 2010-02-01 DBIx::DBStag::SQLTemplate(3pm)
All times are GMT -4. The time now is 11:00 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy